Simon,
Thanks again for your help!

I've spend most of the last two days to find the problem, but without
success...

- I'm only using one browser window.
- I've no custom JavaScript on the page, only those from Tomahawk and
RichFaces
- I've tried to change the context-param
org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION to a higher value, however,
this doesn't change anything.
- I'm not sure with that jsf_view_id thing you've mentioned. Here is the
output from "live http headers" content:
j_id_jsp_1011870818_22%3AxlistDataTable%3A0%3AsubFup=close&j_id_jsp_1011870818_22_SUBMIT=1&javax.faces.ViewState=ZpeMYvZXeBD6wSJfx8QdBJaMWkGJaIJBuce1WLpZUVMkhStvHv5n1XOQEsQdqkqtYDU3DRfOViFXdldNETvqf%2Bh3dsFtW%2FzvoYhKj3z%2F%2F2kEmfOZziQa0Q%3D%3D&j_id_jsp_1011870818_22%3A_idcl=j_id_jsp_1011870818_22%3AxlistDataTable%3A3%3Aj_id_jsp_1011870818_32

Maybe I understand things wrong: Why is there a saved view state of the
link? I've never visited this link before...

I would be very happy if you have some further suggestions.

Regards, Andreas


Simon Kitching wrote:
> 
> Hmm.
> 
> I presume you are using server-side state-saving here.
> 
> Are you using multiple browser windows at the same time? Myfaces keeps a
> cache of the last N views in the session. Therefore if you perform N+1
> submits using one window, then try to use the other window you will get
> this problem. Unfortunately there is no easy solution for this. Note
> that the value N is configurable; I think it defaults to 20.
> 
> Otherwise, I suggest using the firefox "live http headers" plugin or
> similar to see what is actually being submitted to the server. There
> should be one field named "jsf_view_id" or similar; this contains the
> key to look up the saved viewstate. If this is missing for some reason
> (eg because of some custom javascript you have in your page) then that
> would cause this problem.
> 
> I can't think of any other likely cause at the moment...
> 
> Regards,
> Simon
> 

-- 
View this message in context: 
http://www.nabble.com/Tomahawk---Compatible-version-for-MyFaces-1.2.5-tp22311695p22369578.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to