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

Enable strict parameter namespacing in the icefaces-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).
      • This task should only be done for the master (6.x), 5.x, and 4.x branches because only they use ICEfaces 4.2.0 (see FACES-3021) which properly namespaces parameters.

      This task has three parts:

      1. In the 6.x (master) branch for JSF 2.3, delete the following from the WEB-INF/web.xml descriptor:

      	<!-- 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. In the 5.x and 4.x branches, un-comment the following from the WEB-INF/web.xml descriptor:

      	<!-- 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>
      	-->
      

      3. In 6.x (master) 5.x, and 4.x change the following line from false to true in the WEB-INF/liferay-portlet.xml descriptor:

      <requires-namespaced-parameters>true</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:
                Resolved:

                  Packages

                  Version Package