[Catalyst] relationship or user problem

Mark Blythe perl at markblythe.com
Mon Feb 6 18:16:35 CET 2006


> [% FOREACH skill c.user.user.pskills %]
>    <li> skill.name</li>
> [% END %]


Maybe this is an alternate  FOREACH syntax I'm not aware of, but aren't you
missing an = after "skill" ?  Seems like you'd also need something around
the variable reference:

[% FOREACH skill = c.user.user.pskills %]
   <li>[% skill.name %]</li>
[% END %]

Or maybe those were just typos rather than actual code errors. :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060206/4ec6e22a/attachment.htm


More information about the Catalyst mailing list