--- meeboo <[EMAIL PROTECTED]> wrote:
> value="%{getTagsAsString(id)}" works like a charm.
> I'm still a bit confused on whether to use the # 
> prefix or not in certain places, but i'm glad it
> works now :D

The # indicates non-root OGNL stack access. 

When an Action is executed it's pushed on to the top
of the stack; no # to access its properties.

<s:iterator.../> pushes each consecutive value of its
collection on to the stack, so accessing it or one of
its properties does not require a #.

Conversely, *naming* each consecutive value using
<s:iterator.../>'s "id" attribute means you can access
the current object using the #name.property syntax (or
just #name if it has no properties or want the actual
object).

d.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to