This content has been marked as final.
Show 2 replies
-
1. Re: Strange symptom with rich:dataTable used with @DataModel
pmuir Jun 19, 2007 4:20 PM (in response to tonylmai)You'll need to use your debugger to look in the javax.faces.model.DataModel.getWrappedData() method and see whats going on.
-
2. Re: Strange symptom with rich:dataTable used with @DataModel
delphi'sghost Jun 19, 2007 5:46 PM (in response to tonylmai)What kind of link is it you are clicking on?
I had a weird error where I was getting the same value in my data selection, and it seemed to be because I was returning a page flow action in the command link<h:commandLink action="editMyObject"/>
It appeared that when I did this, the data model selection was not updated, and when I got to my new page, the same object was selected no matter what link I selected :<h:commandLink action="#{myEdit.editMyObject}"/> which is defined as : public String editMyObject() { return "editMyObject"; }
works fine and the right object was selected when I got to the next page.
Might be something worth looking at and trying if it is applicable. I was also using the rich data table, and the same Richfaces and seam versions as you.