org.ajax4jsf.context
Class ContextInitParameters

java.lang.Object
  extended by org.ajax4jsf.context.ContextInitParameters

public final class ContextInitParameters
extends java.lang.Object

This class hold all methods for get application init parameters. Created for single access point to all parameters - simplest for a documentation.

Author:
asmirnov

Field Summary
static java.lang.String[] DATATABLE_USES_VIEW_LOCALE
           
static java.lang.String HANDLE_VIEW_EXPIRED_ON_CLIENT
          This parameter define where ViewExpiredException should be handled.
static java.lang.String[] QUEUE_ENABLED
           
static java.lang.String STD_CONTROLS_SKINNING_CLASSES_PARAM
           
static java.lang.String STD_CONTROLS_SKINNING_PARAM
           
 
Method Summary
static boolean isDatatableUsesViewLocale(javax.faces.context.FacesContext context)
          Defines whether data table should use view root locale for sorting and filtering or the default platform one
static boolean isQueueEnabled(javax.faces.context.FacesContext context)
           
static boolean isStandardControlSkinningClassesEnabled(javax.faces.context.FacesContext context)
          Method for determining STD_CONTROLS_SKINNING_CLASSES_PARAM parameter
static boolean isStandardControlSkinningEnabled(javax.faces.context.FacesContext context)
          Method for determining STD_CONTROLS_SKINNING_PARAM parameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATATABLE_USES_VIEW_LOCALE

public static final java.lang.String[] DATATABLE_USES_VIEW_LOCALE

HANDLE_VIEW_EXPIRED_ON_CLIENT

public static final java.lang.String HANDLE_VIEW_EXPIRED_ON_CLIENT
This parameter define where ViewExpiredException should be handled. If is it equals "true" , framework should proparate exception to client-side.

See Also:
Constant Field Values

STD_CONTROLS_SKINNING_PARAM

public static final java.lang.String STD_CONTROLS_SKINNING_PARAM
See Also:
Constant Field Values

STD_CONTROLS_SKINNING_CLASSES_PARAM

public static final java.lang.String STD_CONTROLS_SKINNING_CLASSES_PARAM
See Also:
Constant Field Values

QUEUE_ENABLED

public static final java.lang.String[] QUEUE_ENABLED
Method Detail

isDatatableUsesViewLocale

public static boolean isDatatableUsesViewLocale(javax.faces.context.FacesContext context)
Defines whether data table should use view root locale for sorting and filtering or the default platform one

Parameters:
context -
Returns:

isQueueEnabled

public static boolean isQueueEnabled(javax.faces.context.FacesContext context)

isStandardControlSkinningEnabled

public static boolean isStandardControlSkinningEnabled(javax.faces.context.FacesContext context)
Method for determining STD_CONTROLS_SKINNING_PARAM parameter

Parameters:
context -
Returns:
value of STD_CONTROLS_SKINNING_PARAM parameter if present.

isStandardControlSkinningClassesEnabled

public static boolean isStandardControlSkinningClassesEnabled(javax.faces.context.FacesContext context)
Method for determining STD_CONTROLS_SKINNING_CLASSES_PARAM parameter

Parameters:
context -
Returns:
value of STD_CONTROLS_SKINNING_CLASSES_PARAM parameter if present.


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.