Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
I currently have a DataTable built from a ListDataModel that takes my List. I want to implement column sorting, so I'm just beginning to look at the Car sort example of MyFaces. Will the sort work on the front end if you use a ListDataModel vs a direct List in your DataTable? -- Rick

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Mathias Brökelmann
Yes it should work. 2005/9/13, Rick Reumann <[EMAIL PROTECTED]>: > I currently have a DataTable built from a ListDataModel that takes my > List. I want to implement column sorting, so I'm just beginning to look > at the Car sort example of MyFaces. > > Will the sort work on the front end if you u

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
Mathias Brökelmann wrote the following on 9/13/2005 11:32 AM: Yes it should work. Things are also getting really screwed up after a sort takes place and then I try to get a handle the row selected by doing... this.employee = (EmployeeVO)getEmployeesListBean().getEmployeesModel().getRowData(

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
Rick Reumann wrote the following on 9/13/2005 2:57 PM: Mathias Brökelmann wrote the following on 9/13/2005 11:32 AM: Yes it should work. Things are also getting really screwed up after a sort takes place and then I try to get a handle the row selected by doing... this.employee = (Employe

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
Removing "preserveState='true'" from the DataTable seemed to fix the problem. Rick Reumann wrote the following on 9/13/2005 3:08 PM: Rick Reumann wrote the following on 9/13/2005 2:57 PM: Mathias Brökelmann wrote the following on 9/13/2005 11:32 AM: Yes it should work. Things are also g

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
Rick Reumann wrote the following on 9/13/2005 3:47 PM: Removing "preserveState='true'" from the DataTable seemed to fix the problem. However I'm still having the problem where is not being preserved after the resort (attribute width not shoing up in source code) -- Rick

Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-14 Thread Mathias Brökelmann
I´ve fixed the bug with the width attribute in the current svn. If you use the nightly you have to wait for the next one. 2005/9/13, Rick Reumann <[EMAIL PROTECTED]>: > Rick Reumann wrote the following on 9/13/2005 3:47 PM: > > Removing "preserveState='true'" from the DataTable seemed to fix the >

t:column width issue, was: Re: Looking at CarSort example.. will it work with ListDataModel?

2005-09-13 Thread Rick Reumann
Mathias Brökelmann wrote the following on 9/13/2005 11:32 AM: Yes it should work. This is odd. I'm using the nightly build of myfaces-all, but when the table resorts it doesn't produce the 'width' attribute on the td: Before clicking on a column to sort, the table correctly generates a wid