2005/12/22, Matthias Kahlau <[EMAIL PROTECTED]>:
> javax.faces.el.EvaluationException: Cannot set value for expression
> '#{FragenBacking.fragenModel}' to a new value of type org.apache.myfaces
> .component.html.ext._SerializableDataModel

you have a setter method for fragenModel which does not accept a
parameter for an instance of javax.faces.model.DataModel.


> Another question related to the dataModel. I don't know if the
> "preserveDataModel" approach can help, but when the user leaves the site
> with the table because the user selected an edit link in the table, and then
> returns to the site with the table, I cannot use the getRowData() method to
> determine the last row selected. If I do that, I get the following error
> message:

That is not possible. You have to remember which row was selected
between the views and call datamodel.setRowIndex(rememberedIndex)
before calling getRowData().

--
Mathias

Reply via email to