com.liferay.faces.bridge.config
Class BridgeConfigConstants

java.lang.Object
  extended by com.liferay.faces.bridge.config.BridgeConfigConstants

public class BridgeConfigConstants
extends Object

This class contains constant names for various implementation-specific contex-param entries that portlet developers can use in the WEB-INF/web.xml descriptor.

Author:
Neil Griffin

Field Summary
static String PARAM_BRIDGE_REQUEST_SCOPE_AJAX_ENABLED
          Boolean indicating whether or not the bridge should manage BridgeRequestScope during the RESOURCE_PHASE of the portlet lifecycle.
static String PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED1
          Value returned by BridgeContext.isBridgeRequestScopePreserved().
static String PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED2
           
static String PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE1
          Boolean indicating whether or not the portlet container has the ability to set the HTTP status code for resources.
static String PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE2
           
static String PARAM_DISTINCT_REQUEST_SCOPED_MANAGED_BEANS
          Boolean indicating whether or not JSF ManagedBean classes annotated with RequestScoped should be distinct for each portlet.
static String PARAM_MANAGE_INCONGRUITIES
          Boolean indicating whether or not the bridge should manage incongruities between the JSF lifecycle and the Portlet lifecycle.
static String PARAM_OPTIMIZE_PORTLET_NAMESPACE1
          Boolean indicating whether or not the portlet namespace should be optimized (minimized) in order to provide the shortest possible rendered clientIds.
static String PARAM_OPTIMIZE_PORTLET_NAMESPACE2
           
static String PARAM_PREFER_PRE_DESTROY1
          Boolean indicating whether or not methods annotated with the @PreDestroy annotation are preferably invoked over the @BridgePreDestroy annotation.
static String PARAM_PREFER_PRE_DESTROY2
           
static String PARAM_RENDER_REDIRECT_ENABLED
          Boolean indicating whether or not the render-redirect standard feature is enabled.
static String PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES1
          Boolean indicating whether or not XML entities are resolved when parsing faces-config.xml files.
static String PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES2
           
static String PARAM_RESOURCE_BUFFER_SIZE1
          Size in bytes for the buffer that is used to deliver resources back to the browser.
static String PARAM_RESOURCE_BUFFER_SIZE2
           
static String PARAM_VIEW_ID_RENDER
          Name of the render parameter used to encode the viewId
static String PARAM_VIEW_ID_RESOURCE
          Name of the resource request parameter used to encode the viewId
static String PARAM_VIEW_PARAMTERS_ENABLED
          Boolean indicating whether or not the JSF 2 "View Parameters" feature is enabled.
 
Constructor Summary
BridgeConfigConstants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PARAM_BRIDGE_REQUEST_SCOPE_AJAX_ENABLED

public static final String PARAM_BRIDGE_REQUEST_SCOPE_AJAX_ENABLED
Boolean indicating whether or not the bridge should manage BridgeRequestScope during the RESOURCE_PHASE of the portlet lifecycle.

See Also:
Constant Field Values

PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE1

public static String PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE1
Boolean indicating whether or not the portlet container has the ability to set the HTTP status code for resources. Default value is false.


PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE2

public static String PARAM_CONTAINER_ABLE_TO_SET_HTTP_STATUS_CODE2

PARAM_DISTINCT_REQUEST_SCOPED_MANAGED_BEANS

public static String PARAM_DISTINCT_REQUEST_SCOPED_MANAGED_BEANS
Boolean indicating whether or not JSF ManagedBean classes annotated with RequestScoped should be distinct for each portlet. Default value is false.


PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED1

public static final String PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED1
Value returned by BridgeContext.isBridgeRequestScopePreserved(). Default is false.

See Also:
Constant Field Values

PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED2

public static final String PARAM_BRIDGE_REQUEST_SCOPE_PRESERVED2
See Also:
Constant Field Values

PARAM_MANAGE_INCONGRUITIES

public static final String PARAM_MANAGE_INCONGRUITIES
Boolean indicating whether or not the bridge should manage incongruities between the JSF lifecycle and the Portlet lifecycle. The default is true.

See Also:
Constant Field Values

PARAM_OPTIMIZE_PORTLET_NAMESPACE1

public static final String PARAM_OPTIMIZE_PORTLET_NAMESPACE1
Boolean indicating whether or not the portlet namespace should be optimized (minimized) in order to provide the shortest possible rendered clientIds. Default value is true.

See Also:
Constant Field Values

PARAM_OPTIMIZE_PORTLET_NAMESPACE2

public static final String PARAM_OPTIMIZE_PORTLET_NAMESPACE2
See Also:
Constant Field Values

PARAM_PREFER_PRE_DESTROY1

public static final String PARAM_PREFER_PRE_DESTROY1
Boolean indicating whether or not methods annotated with the @PreDestroy annotation are preferably invoked over the @BridgePreDestroy annotation. Default value is true. The reason why, is because local portals like Liferay don't have a problem with PreDestroy. It really only comes into play for remote portals like Oracle WebCenter. For more info, see: http://issues.liferay.com/browse/FACES-146

See Also:
Constant Field Values

PARAM_PREFER_PRE_DESTROY2

public static final String PARAM_PREFER_PRE_DESTROY2
See Also:
Constant Field Values

PARAM_RENDER_REDIRECT_ENABLED

public static final String PARAM_RENDER_REDIRECT_ENABLED
Boolean indicating whether or not the render-redirect standard feature is enabled. Default value is false for performance.

See Also:
Constant Field Values

PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES1

public static String PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES1
Boolean indicating whether or not XML entities are resolved when parsing faces-config.xml files. Default value is false.


PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES2

public static String PARAM_REQUIRED_TO_RESOLVE_XML_ENTITIES2

PARAM_RESOURCE_BUFFER_SIZE1

public static final String PARAM_RESOURCE_BUFFER_SIZE1
Size in bytes for the buffer that is used to deliver resources back to the browser. Default value is 1024.

See Also:
Constant Field Values

PARAM_RESOURCE_BUFFER_SIZE2

public static final String PARAM_RESOURCE_BUFFER_SIZE2
See Also:
Constant Field Values

PARAM_VIEW_ID_RENDER

public static final String PARAM_VIEW_ID_RENDER
Name of the render parameter used to encode the viewId

See Also:
Constant Field Values

PARAM_VIEW_ID_RESOURCE

public static final String PARAM_VIEW_ID_RESOURCE
Name of the resource request parameter used to encode the viewId

See Also:
Constant Field Values

PARAM_VIEW_PARAMTERS_ENABLED

public static String PARAM_VIEW_PARAMTERS_ENABLED
Boolean indicating whether or not the JSF 2 "View Parameters" feature is enabled. Default value is true.

Constructor Detail

BridgeConfigConstants

public BridgeConfigConstants()


Copyright © 2014 Liferay, Inc.. All Rights Reserved.