Well, using the property tag i got no output at all. <s:property value="ca.name" />
I'll try to use the webwork stuff. Is this really how it works? On 5/7/07, Adam Ruggles <[EMAIL PROTECTED]> wrote:
have you tried using the property tag instead? <s:property value="ca.name" /> Diego Yasuhiko Kurisaki wrote: > Hi i've written the following in a JSP. > > <s:iterator id="ca" value="clients"> > <tr> > <td>${ca.name}</td> > <td>${ca.description}</td> > <td>remove</td> > <td>edit</td> > </tr> > </s:iterator> > > I have a method in my action called getClients. > > When i first load the page, the iterator tag generates the exact > number of > rows of the list that is returned by the getClients method. > But the EL ${ca.name} and ${ca.description} doesn't return any value > until a > refresh. > > I've tried then putting a breakpoint inside the getName and > getDescription > methods, it seens that the methods are being called just after the first > refresh. > > Looks like i'm doing something very wrong, am i not supposed to use EL > inside <s:iterator>? What should i use then? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- []'s Diego Yasuhiko Kurisaki