I´ve not tested it against this particular issue. It would save me a lot of 
time if you are able to test the provided patch against your issue and give me 
some feedback if it work or not.

Mathias

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 05, 2005 11:57 AM
To: [email protected]
Subject: Antwort: RE: MYFACES-228: preserveDataModel=true and x:dataTable fixed?



Does your reimplementation fix http://issues.apache.org/jira/browse/MYFACES-288 
? 
Did you test it with the DataList extension component? 

[EMAIL PROTECTED] schrieb am 05.07.2005 10:24:35:

> Hi,
> 
> I would like to solve this issue. I´ve reimplemented the UIData and 
> derived DataTable components for this issue. However it will take 
> some time to test all usecases.
> 
> This is what I´ve done so far:
> 
> - reduce the error phrone and complex code in 
> saveDescendantComponentStates and restoreDescendantComponentStates.
> 
> - using StateHolder.saveState and restoreState methods for nested components.
> 
> - no special handling for nested UIData components needed any more
> 
> - get rid of phase listener for datatable
> 
> As far as I´ve tested my implementation it works nicely. I will do 
> some more tests today in our application which heavily uses the 
> UIData components to see if it works.
> 
> If anyone is interessted to check if my code is running in your 
> application you may apply the patch which is attached.
> 
> Mathias
> 
> > -----Original Message-----
> > From: Sean Schofield [mailto:[EMAIL PROTECTED] 
> > Sent: Monday, July 04, 2005 5:34 PM
> > To: MyFaces Discussion; Mike Kienenberger
> > Subject: Re: MYFACES-228: preserveDataModel=true and 
> > x:dataTable fixed?
> > 
> > 
> > The bug is marked "in progress", so no, it has not been fixed yet.  At
> > the moment it is assigned to me but I am looking for volunteers to
> > take a detailed look at this one.  I'm a little tied up with the reorg
> > so any help would be appreciated.
> > 
> > sean
> > 
> > On 7/1/05, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> > > Is preserveDataModel patch mentioned in
> > > http://issues.apache.org/jira/browse/MYFACES-228 considered 
> > working as
> > > of tag BEFORE_SVN_REORG (2005-06-25-ish)?
> > > 
> > > I have a x:dataTable with h:inputText elements that don't 
> > update if I
> > > specify preserveDataModel="true", but dataTable does update 
> > my data if
> > > I don't include that attribute.
> > > 
> > > I'm not using sorting, but I am using the standard "car example"
> > > x:dataScrollers.   However, removing the dataScrollers 
> > doesn't seem to
> > > change the behavior.
> > > 
> > > My value binding for dataTable is
> > > value="#{viewSecRolePage.secRoleList}" and the following 
> > methods exist
> > > on the class, but the setters are never triggered.
> > > 
> > >     public List getSecRoleList()  { /* [...] */  }
> > > 
> > >     public void setSecRoleList(List preservedList)
> > >     {
> > > // breakpoints set in here are never hit.
> > >     }
> > > 
> > >     public void setSecRoleList(Object preservedListObject)
> > >     {
> > > // breakpoints set in here are never hit.
> > >     }
> > > 
> > > Thanks,
> > > 
> > > -Mike
> > >
> > 
> [Anhang "fixed_uidatastate_tomahawk.diff" gelöscht von Mathias 
> Werlitz/RT/DCAG/DCX] [Anhang "fixed_uidatastate_api.diff" gelöscht 
> von Mathias Werlitz/RT/DCAG/DCX] 

Reply via email to