Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Bruno Aranda
Hi, In my fancy little webapp I am using Primefaces dataTable in lazy mode such as in this example[1], and I want to use it with MyFaces 2. However there seems to be a bug and the component decoding is not invoked, so if you navigate to another page of the table the row index does not change. It

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Jakob Korherr
Hi Bruno, I tried the example with my latest build from MyFaces trunk and I got the following exception for every click on the dataTable navigation: 17.03.2010 15:40:34 org.apache.myfaces.view.facelets.DefaultFaceletsStateManagementHelper serializeView SCHWERWIEGEND: Exiting serializeView -

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Jakob Korherr
Hi again, OK, setting the org.apache.myfaces.SERIALIZE_STATE_IN_SESSION config param to false solves the NotSerializableException. Unfortunately it does not solve the other problem.. Regards, Jakob 2010/3/17 Jakob Korherr jakob.korh...@gmail.com Hi Bruno, I tried the example with my latest

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Matthias Wessendorf
On Wed, Mar 17, 2010 at 4:27 AM, Bruno Aranda brunoara...@gmail.com wrote: Hi, In my fancy little webapp I am using Primefaces dataTable in lazy mode such as in this example[1], and I want to use it with MyFaces 2. However there seems to be a bug and the component decoding is not invoked, so

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Jakob Korherr
Found it! The problem is that Primefaces' PartialViewRoot keeps its own children list and the method on UIComponentBase (getFacetsAndChildren()) does not take getChildren() but _childrenList into account when creating the Iterator. This one was hard to find... I will create a JIRA issue for this

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Bruno Aranda
Wonderful! I was too rusty for this one :) Thanks! Bruno On 17 March 2010 16:44, Jakob Korherr jakob.korh...@gmail.com wrote: Found it! The problem is that Primefaces' PartialViewRoot keeps its own children list and the method on UIComponentBase (getFacetsAndChildren()) does not take

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Jakob Korherr
So, I committed the fix - this works now perfectly :) :) Regards, Jakob 2010/3/17 Bruno Aranda brunoara...@gmail.com Wonderful! I was too rusty for this one :) Thanks! Bruno On 17 March 2010 16:44, Jakob Korherr jakob.korh...@gmail.com wrote: Found it! The problem is that

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Bruno Aranda
Yes, it works beautifully! Many thanks for the quick action! :) Bruno On 17 March 2010 17:10, Jakob Korherr jakob.korh...@gmail.com wrote: So, I committed the fix - this works now perfectly :) :) Regards, Jakob 2010/3/17 Bruno Aranda brunoara...@gmail.com Wonderful! I was too rusty for

Re: Primefaces p:dataTable not decoding, seems to be a MyFaces 2 problem

2010-03-17 Thread Matthias Wessendorf
cool stuff! :) On Wed, Mar 17, 2010 at 10:45 AM, Bruno Aranda brunoara...@gmail.com wrote: Yes, it works beautifully! Many thanks for the quick action! :) Bruno On 17 March 2010 17:10, Jakob Korherr jakob.korh...@gmail.com wrote: So, I committed the fix - this works now perfectly :) :)