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

Follow JSF 2.3 convention of having Facelet views under WEB-INF/views and composite components under WEB-INF/resources

    Details

      Description

      As of the time of this writing, JSF 2.3 is being developed under JSR 372. One of the new conventions of JSF 2.3 will be to have Facelet views under WEB-INF/views and composite components under WEB-INF/resources.

      This task involves modifying the project layout of the Liferay Faces demo portlets such that they take advantage of this new convention.

      Note that composite components can be under WEB-INF/resources thanks to the following context-param feature introduced in JSF 2.2:

      <context-param>
      	<param-name>javax.faces.WEBAPP_RESOURCES_DIRECTORY</param-name>
      	<param-value>/WEB-INF/resources</param-value>
      </context-param>
      

      Demos that exist in branches that utilize JSF 2.1 must continue to have composite components under /resources.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  liferay-faces-2.1.5-ga6
                  liferay-faces-2.2.5-ga6
                  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