Hidden field "javax.faces.encodedURL" should be rendered at begin of h:form
---------------------------------------------------------------------------
Key: MYFACES-2692
URL: https://issues.apache.org/jira/browse/MYFACES-2692
Project: MyFaces Core
Issue Type: Bug
Components: JSR-314
Affects Versions: 2.0.0
Reporter: Leonardo Uribe
Assignee: Leonardo Uribe
Checking some stuff related to how to target scripts to <form>, the
documentation of javax.faces.Form renderer says this:
"....Obtain the UIViewRoot view identifier and use it to obtain an action URL
by calling ViewHandler.getActionURL. Use the action URL to obtain an encoded
action URL by calling ExternalContext.encodeActionURL. Obtain an encoded
partial action URL by calling ExternalContext.encodePartialActionURL using
action URL as the argument. Compare the result from
ExternalContext.encodePartialActionURL with the value from
ExternalContext.encodeActionURL(). If they are different, render a hidden field
with the name javax.faces.encodedURL and the value of this hidden field as the
value from ExternalContext.encodePartialActionURL...."
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.