javaee / mojarra

PLEASE NOTE: This project has moved to Eclipse Foundation and will be archived under the JavaEE GitHub Organization. After Feb. 1, 2021, the new location will be github.com/javaee/mojarra. Mojarra - Oracle's implementation of the JavaServer Faces specification
https://github.com/eclipse-ee4j/mojarra
Other
164 stars 58 forks source link

No viewstate after an f:ajax page navigation #2238

Closed javaserverfaces closed 11 years ago

javaserverfaces commented 12 years ago

If there is a page navigation that is caused by an f:ajax there is no viewstate hidden field on the target page. The navigation may be initiated programmatically by calling navigationhandler.handleNavigation.

The partial response contains the viewstate but the javascript has does not find the initiating form so it simply returns instead of putting the viewstate hidden field onto the page. This can be correct but in this case in the returned partial response we should see in the generated page the javax.faces.ViewState hidden field inside the form (in the update that contains the real html body).

Workaround: placing a into the navigation case. However in this case a full page refresh is forced.

Environment

Glassfish 3.1.1

Affected Versions

[2.1.3]

javaserverfaces commented 12 years ago

Reported by zsb

javaserverfaces commented 11 years ago

@manfredriem said: Can you please verify if this is still an issue on the latest 2.1 release?

javaserverfaces commented 11 years ago

@manfredriem said: Lowering priority because of no response

javaserverfaces commented 11 years ago

@manfredriem said: Lowering priority because of no response

javaserverfaces commented 11 years ago

@manfredriem said: Closing because of inactivity

javaserverfaces commented 12 years ago

Issue-Links: is related to JAVASERVERFACES-2838

javaserverfaces commented 7 years ago

This issue was imported from java.net JIRA JAVASERVERFACES-2234

javaserverfaces commented 11 years ago

Marked as incomplete on Wednesday, May 8th 2013, 2:21:56 pm