struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: [S2] Using <s:iterator> with a static list
Date Tue, 08 Jan 2008 21:36:40 GMT
On Jan 8, 2008 12:11 PM, Dave Newton <newton.dave@yahoo.com> wrote:
> Wouldn't you need to quote strings?
>
Well, I wouldn't say that was obvious from the example given, but this
did seem to get the job done:

<s:iterator value='{"A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"}'>
  <a href="<s:url action='member-list'><s:param
name='lname'><s:property/></s:param></s:url>"><s:property/></a>&nbsp;
</s:iterator>

Thanks.
  (*Chris*)

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


Mime
View raw message