MyFaces state information is rendered by MyFaces Form

Details

Description

Problem#2

Environment:
MyFaces implementation
ADF Faces
Tomahawk 1.1.5

The hidden parameter "jsf-sequence" will not be rendered when using an
ADF form.

Possible solution: A new tomahawk component (myfacesParams), renders
all hidden input fields needed by the MyFaces implementation, eg the
jsf-sequence param. This artificial component must then be added to
every ADF form. This approach will work, but it's fault-prone. Any
ideas?

Comment by Adam Winer:

Problem #2 should not be happening if the MyFaces state management code is
properly factored; the FormRenderer - anyone's form renderer - should be
calling the ResponseStateManager, which should be rendering the sequence.
Last time I looked, the MyFaces FormRenderer was directly encoding the
sequence ID, which isn't the right approach.

Thomas Spiegl
added a comment - 25/Aug/06 14:22 Moved rendering of hidden input "jsf_secquence" from HtmlFormRendererBase to JspViewHandlerImpl.
Now the jsf_sequence parameter is rendered when using an ADF form and saving state on server.