myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Möller (JIRA) <>
Subject [jira] [Commented] (TRINIDAD-2284) Trinidad CoreForm does not render standard javax.faces.encodedURL hidden field
Date Thu, 23 Aug 2012 12:11:42 GMT


Thomas Möller commented on TRINIDAD-2284:

I provided a patch that implements the behaviour that I found here:
In my scenario (liferay 6.1.1, mojarra 2.1.3-b02, bridge 3.1.0-rc2) PPRs work now.

Attention: in my test I had to 1) include the mojarra.js myself via <h:outputScript name="jsf.js"
library="javax.faces" target="head" /> and 2) define an id for the PPR-triggering component.
> Trinidad CoreForm does not render standard javax.faces.encodedURL hidden field
> ------------------------------------------------------------------------------
>                 Key: TRINIDAD-2284
>                 URL:
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 2.0.1-core
>            Reporter: Neil Griffin
>         Attachments:
> Trinidad PPR Ajax does not work in JSF 2 portlet bridges (like Liferay Faces Bridge)
because the renderer for tr:form does not render the standard hidden field:
> <input type="hidden" name="javax.faces.encodedURL" value="..." />
> Since the field is not rendered, jsf.js uses the "action" attribute of the form, which
invokes the ACTION_PHASE of the portlet lifecycle. If the hidden field is rendered properly,
then the value of the hidden field is a portlet ResourceURL which invokes the RESOURCE_PHASE
of the portlet lifecycle.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message