Details
-
Bug
-
Status: Patch Available
-
Major
-
Resolution: Unresolved
-
2.0.1-core
-
None
-
None
Description
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.