Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2201

Bridge does not remove the id of the PortletNamingContainerUIViewRoot from the list of execute and render ids from AjaxBehaviors

    Details

      Description

      In most cases, instances of AjaxBehavior are created by the JSF runtime as a result of developers specifying the f:ajax tag handler. However, the new alloy:paginator component automatically submits forms via Ajax and has default values for the execute and render attributes. The default value for the render attribute is "@this @for" and the @for keyword corresponds to the clientId of the associated DataTable. This clientId is determined programatically, and in a portlet environment the clientId is prefixed with the id of the PortletNamingContainerUIViewRoot. In order for the JSF runtime's AjaxBehaviorRenderer to be able to successfully call UIComponent.findComponent(String) on the execute and render ids, the ids must have the id of the PortletNamingContainerUIViewRoot removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                neil.griffin Neil Griffin
                Reporter:
                neil.griffin Neil Griffin
                Participants of an Issue:
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  liferay-faces-3.0.5-legacy-ga6
                  liferay-faces-3.0.5-ga6
                  liferay-faces-3.1.5-ga6
                  liferay-faces-3.2.5-ga6
                  liferay-faces-4.2.5-ga6