Does it work with the RI? Bruno
2005/9/19, Nebojsa Vasiljevic <[EMAIL PROTECTED]>: > Your discussion went to wrong direction. > > The problem is: > > The action is not triggered. View is not constructed properly. > > I don't need to save anything. If getNumbers() method returns non-empty list > fist time, then > the example works fine after that. If getNumbers() method returns empty list > first time, then action attribute is not set properly in the commandLink > component. Broken component tree is saved in client or session. So, the > problem is about something that IS saved. > > The example is based on standard JSF and should work fine in a proper > implementation. > This is serious MyFaces bug. > > Nebojsa > > ----- Original Message ----- > From: "Mathias Brökelmann" <[EMAIL PROTECTED]> > To: "MyFaces Discussion" <[email protected]> > Sent: Monday, September 19, 2005 1:48 PM > Subject: Re: Issue MYFACES-247 not resolved ! > > > That´s an easy one ;) > > Try to put your numberListBean into session scope or put it into a > x:savestate component or use preserveDataModel="true" of x:datatable > > Otherwise the state of your bean will not be saved between the > requests. Each request creates a new instance with limit=0. The method > getNumbers() is called in the decode phase to determine the row data. > If the returned list is empty the table decoder can not iterate > through the rows and will not fire any events. > > Take a look into other threads like "commandLink with action inside > Table" for some more info. > > 2005/9/19, Nebojsa Vasiljevic <[EMAIL PROTECTED]>: > > Foget to mention, the platform is: > > > > MyFaces 1.1.0 > > Sun JDK 1.5 on Windows XP > > Tomat 5 (also tested on 5.5) > > > > Ndebojsa > > > > ----- Original Message ----- > > From: "Nebojsa Vasiljevic" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Monday, September 19, 2005 1:11 PM > > Subject: Issue MYFACES-247 not resolved ! > > > > > > This is clarified issue scenario: > > > > [...] > > > > > -- > Mathias > >

