Yes I tried quite early after i discovered my problem and unfortunately
useless. The behaviour stays strictly the same.

On Wed, Apr 7, 2010 at 4:08 PM, Alex Rodriguez Lopez <alo...@flordeutopia.pt
> wrote:

> Hi Stéphane,
>
> did you try implementing the Preparable interface in your action and
> populating your List in the prepare() method?
>
>
> http://struts.apache.org/2.x/struts2-core/apidocs/com/opensymphony/xwork2/Preparable.html
>
> Em 07-04-2010 05:16, Stephane Cosmeur escreveu:
>
>  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
>>>
>>>
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>


-- 
Stéphane Cosmeur
06 33 54 36 04

Reply via email to