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

Enable strict parameter namespacing in the alloy-applicant-portlet

    Details

      Description

      NOTE: This task cannot be performed until Mojarra is upgraded to 2.2.10 in the 4.2.x branch (FACES-2067) and upgraded to 2.1.29 in the 3.2.x branch (FACES-2038).

      It should be possible to deploy Liferay Faces portlets with strict parameter namespacing enabled (the default).

      This task has two parts:

      1. Un-commenting the following from the WEB-INF/web.xml descriptor in the alloy-applicant-portlet (4.x branch) and alloy-applicant-portlet (3.x branch):

      	<!-- Instruct Mojarra to namespace parameters according to NamingContainer rules. -->
      	<!-- JAVASERVERFACES-3031 -->
      	<!--
      	<context-param>
      		<param-name>com.sun.faces.namespaceParameters</param-name>
      		<param-value>true</param-value>
      	</context-param>
      	-->
      

      2. Editing the following line from the WEB-INF/liferay-portlet.xml descriptor:

      <requires-namespaced-parameters>false</requires-namespaced-parameters>
      

      So that it looks like this:

      <requires-namespaced-parameters>${requires.namespaced.parameters}</requires-namespaced-parameters>
      

        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:

                  Packages

                  Version Package
                  bridge-impl-4.2.1