One week later, i'm still bocking on this problem ! The display:table has a really strange behaviour. I still have to click two times on the action to get my table diplaying. What's is very weird is that after the first click the s:debug balise confirms me my list of clients is not empty. Is it possible that the display:table get displayed before that the list get populated ?
There is the code of my display:table <s:if test="clients.size > 0"> <display:table name="clients" id="row" requestURI="/client.action"> <display:column property="id"/> <display:column property="name" sortable="true" href="../firsttry/ListOrdersClient.action" paramProperty="id" paramId="id"/> <display:column property="address"/> <display:column property="company"/> <display:column property="phone"/> </display:table> </s:if> help plz ! Regards, On Wed, Mar 31, 2010 at 4:18 PM, Stephane Cosmeur <cosm...@gmail.com> wrote: > Hello, > > My second message on this webmail and still very new on Struts 2. > My problem is, I guess, quite common. I have a simple action which return a > jsp containing a display:table. This table calls his data from the list > inside the actionclass. > The table display perfectly well, but only at the second click on the link > or after refreshing the page. At the first click, the table only display > this error : Nothing found to display. > I dedudeced from my traces that even at the first click, the list was not > empty. Then I think it is the display:table which does not execute his > request to access the list. What do you think ? > > Thank you. > > -- > Stéphane Cosmeur > 06 33 54 36 04 > -- Stéphane Cosmeur 06 33 54 36 04