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

Downgrade the liferay-faces-bridge-impl-3.0.x demo portlets to JSF 2.1

    Details

      Description

      This task involves the following steps:

      1. Run fix-versions.pl in order to switch from the xmlns.jcp.org namespace to java.sun.com and to downgrade web.xml to Servlet 2.5.

      2. For each demo portlet:

      • Move the src/main/webapp/WEB-INF/resources folder to src/main/webapp for each demo portlet
      • Edit the src/main/webapp/WEB-INF/web.xml descriptor to remove the following:
        <context-param>
        	<param-name>javax.faces.WEBAPP_RESOURCES_DIRECTORY</param-name>
        	<param-value>/WEB-INF/resources</param-value>
        </context-param>
        
      • Edit the src/main/webapp/WEB-INF/web.xml descriptor to add the following if not already present:
        <security-constraint>
        	<display-name>Prevent direct access to Facelet XHTML</display-name>
        	<web-resource-collection>
        		<web-resource-name>Facelet XHTML</web-resource-name>
        		<url-pattern>*.xhtml</url-pattern>
        	</web-resource-collection>
        	<auth-constraint />
        </security-constraint>
        

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-impl-3.0.0