org.ajax4jsf.context
Class ContextInitParameters

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

public 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.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

DATATABLE_USES_VIEW_LOCALE

public static final java.lang.String[] DATATABLE_USES_VIEW_LOCALE
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:


Copyright © 2009. All Rights Reserved.