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

Create importConstants tag to be able to use static attributes in facelet environment

    Details

      Description

      Currently there is no easy way to reference constants from a class in Facelet (JSF) environment. The solution would be a tag library which would be able to "import" the constants into the page context.

      The new tag will have the following example usage:

      <aui:importConstants var="JavaConstants" classType="com.liferay.portal.kernel.util.JavaConstants" />
      <h:outputText value="JavaConstants.JAVAX_PORTLET_TITLE=#{JavaConstants.JAVAX_PORTLET_TITLE}" />
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.0.2-legacy-ga3
                liferay-faces-3.0.2-ga3
                liferay-faces-3.1.2-ga3