Hi everyone,
I'll explain my problem.
First my env. I am using Seam 2.1.0 with Richfaces.
I have a page with multiple tabs. I have one tab with a search form and I can do actions on the result. For example, I have a list of requests and I can reply to one of the request directly from the result.
The reply works fine. I checked in the database and everything is there after the action finishes.
Now here is the problem. When I come back to the list of replied requests, I don't see the reply I have made. If I reload the page, I can see it.
I am using ajax to rerender the page and I saw that the object returned by the entityManager query doesn't contain the reply.
to resume, the problem is :
before reloading the page:
request.replies.size = 0
after reloading the page
request.replies.size = 1
And everything is ok in the database.
Can someone help me? thank you in advance
|