[ 
https://issues.apache.org/jira/browse/MYFACES-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12863396#action_12863396
 ] 

Jakob Korherr commented on MYFACES-2692:
----------------------------------------

The commit for this issue causes all tests on HtmlFormRendererTest to fail, 
because encodePartialActionURL() is not implemented on MockExternalContext20.

I will open an issue on myfaces-test for this and fix it asap. However we have 
to wait for the next (working) build of myfaces-test until this will work. 
Until then I will comment-out the three related tests.

> 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
>             Fix For: 2.0.1-SNAPSHOT
>
>
> 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.

Reply via email to