Wouldn't you need to quote strings?

d.

--- Chris Pratt <[EMAIL PROTECTED]> wrote:

> I'm trying to get something working that is taken almost directly from
> the iterator documentation.  The documentation shows this example:
> 
> <s:iterator status="stat" value="{1,2,3,4,5}" >
>    <!-- grab the index (start with 0 ... ) -->
>    <s:property value="#stat.index" />
> 
>    <!-- grab the top of the stack which should be the -->
>    <!-- current iteration value (0, 1, ... 5) -->
>    <s:property value="top" />
> </s:iterator>
> 
> which is actually more complicated than I need.  All I need is a
> collection of links from A - Z, so using the above code as a guide, I
> tried:
> 
> <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 value="top"/></s:param></s:url>"><s:property
> value="top"/></a>&nbsp;
> </s:iterator>
> 
> But the values are not getting populated.  It appears to be iterating,
> but not making the values available.  I've also tried using
> <s:property/>, <s:property value="%{top}"/>, setting id="ch" on the
> iterator and using <s:property value="#ch"/>, but nothing seems to be
> able to retrieve the value.  Any idea what I'm doing wrong?
>   (*Chris*)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to