struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart" <lukasz.len...@googlemail.com>
Subject Re: Struts2 OGNL Problem
Date Tue, 18 Nov 2008 08:23:34 GMT
2008/11/18 PhoenixelRay <simon_bellaunion@web.de>:
>
> i tried it like this, but it didnt work.
>
> <tiles:importAttribute name="myListAttribute" />
> <s:iterator value="#myListAttribute">
> #item.link <s:text name="#item.value"/>
> </s:iterator>

Try with force evaluation

<tiles:importAttribute name="myListAttribute" />
<s:iterator value="%{#myListAttribute}">
  <s:property value="%{#item.link}"/> <s:text name="%{#item.value}"/>
</s:iterator>


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message