You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2005/07/02 00:11:40 UTC

MYFACES-228: preserveDataModel=true and x:dataTable fixed?

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

Re: MYFACES-228: preserveDataModel=true and x:dataTable fixed?

Posted by Sean Schofield <se...@gmail.com>.
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 <mk...@gmail.com> 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
>