Hello, I'm trying to figure out how to use rich:dataTable with a SerializableDataModel following the available example on the net and I'm facing a major problem:
For one request the walk method is called four times.
First two times is called with a deserialized model (no need to go to the database). The question here is: Why two times for a model with only one row?
After this two calls it seems that the model is needed again but is recreated from scratch therefore is forced to go to the database again. Here should be a configuration issue but I don't figure up what and where.
I'am using seam and I annotated the model class with a seam @Name tag to have this model into request context.
What am I doing wrong?
I found the answer for the second. The model should be added to the page context.