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

Add javax.portlet.faces.BridgeConfig, javax.portlet.faces.BridgeConfigWrapper, and javax.portlet.faces.BridgeConfigFactory to the Bridge API

    Details

      Description

      The JSR 329 Specification defined several configuration options that can be placed in the faces-config.xml descriptor. For example, Section 5.1.2.1 titled "Excluding Attributes from the Bridge Request Scope" requires that the implementation detect the presence of the bridge:excluded-attributes element:

      <faces-config>
        <application>
          <application-extension>
            <bridge:excluded-attributes>
              <bridge:excluded-attribute>org.apache.myfaces.trinidadinternal.*</bridge:excluded-attribute>
            </bridge:excluded-attributes>
          </application-extension>
        </application>
      </faces-config>
      

      Over the years, the following bridge projects attempted to define a class named BridgeConfig in order to define bridge configuration options:

      This issue serves as a proposal for promoting the following Liferay Faces Bridge classes from com.liferay.faces.bridge to javax.portlet.faces:

      In addition, the Spec will require that the factory delegation chain pattern be supported by bridge implementations, so that instances of javax.portlet.faces.BridgeConfig can be decorated with javax.portlet.faces.BridgeConfigWrapper.

      Update 2016/07/21: The JavaDoc descriptions for methods that return a Map or a Set have been updated to require the return values to be immutable. For more info, see FACES-2828.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated: