PhoenixelRay wrote:
I tryed it like this <s:iterator value="%{#attr.myListAttribute}"> with the
same Problem.


<tiles:importAttribute> places the object into page scope if not specified otherwise.

This means in OGNL it's only available via #attr.

First, confirm you can access the attribute from JSP EL and that's the object is type that can be iterated over.

Then <s:iterator value="#attr.myListAttribute"> will definitely iterate over it.

Within your sample code you referenced #item but that doesn't exist. When inside the iteration, the top of the stack is the item being iterated over, so <s:property value="link"/> will get the property name "link" of the current item, and so on.

Hope that helps,
Jeromy Evans


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

Reply via email to