struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale Newfield <d...@newfield.org>
Subject Re: OGNL to get list of keys
Date Thu, 01 Jul 2010 19:56:26 GMT
On 7/1/10 3:51 PM, Ken wrote:
> This produced the desired effect:
> (added var="header" to iterator tag)
>
>                      <s:iterator value="list[0].keys" var="header">
>                          <th><s:property value="header"/></th>
>                      </s:iterator>

If you have var="header" in the iterator, the appropriate way to 
reference that value within the iterator is "%{#header}"

-Dale

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


Mime
View raw message