[albatross-users] complete newbie al-for / template problem....
Andrew McNamara
andrewm at object-craft.com.au
Fri Sep 13 17:09:21 EST 2002
>I think the spaces around the '=' in the <al-for ... expr = "...">
>tags are causing the parser regexes to not recognise the tags. Things
>which are not recognised by the regex are treated as plain text.
One other thing, I suspect you should be using f.value(), which is the
flist element, rather than just plain "f", which is the iterator instance.
>Try changing the template to this:
>
> <table>
> <al-for iter="f" expr="flist">
> <tr>
> <al-for iter="f2" expr="filenames(f)">
> <td><al-value expr="f2"></td>
> </al-for>
> </tr>
> </al-for>
> </table>
--
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
More information about the Albatross-users
mailing list