org.apache.shale.view
Class Constants

java.lang.Object
  extended by org.apache.shale.view.Constants

public final class Constants
extends Object

Manifest constants related to Shale view support that are relevant to applications using Shale.


Field Summary
static String EXCEPTION_DISPATCH_PATH
          Name of the context initialization parameter that defines the context-relative path we should dispatch to, at the end of Invoke Application phase of the request processing lifecycle, if any application exceptions have been cached by the default ExceptionHandler instance.
static String EXCEPTION_HANDLER
          Application scope attribute under which the ExceptionHandler for handling exceptions is stored.
static String VIEW_CONTROLLER_MAPPER
          Deprecated. Replace the application scoped managed bean stored with key Constants.VIEW_MAPPER instead
static String VIEW_MAPPER
          Application scope attribute under which the ViewControllerMapper for translating view identifiers to class names of the corresponding ViewController is stored.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXCEPTION_DISPATCH_PATH

public static final String EXCEPTION_DISPATCH_PATH

Name of the context initialization parameter that defines the context-relative path we should dispatch to, at the end of Invoke Application phase of the request processing lifecycle, if any application exceptions have been cached by the default ExceptionHandler instance. If no value is specified, the default behavioer is to proceed to rendering for the view that the application has navigated to.

NOTE - in order to be processed correctly by the container, the specified path should be a context relative URL that beings with a '/' character.

Since:
1.0.3
See Also:
Constant Field Values

EXCEPTION_HANDLER

public static final String EXCEPTION_HANDLER

Application scope attribute under which the ExceptionHandler for handling exceptions is stored.

See Also:
Constant Field Values

VIEW_CONTROLLER_MAPPER

public static final String VIEW_CONTROLLER_MAPPER
Deprecated. Replace the application scoped managed bean stored with key Constants.VIEW_MAPPER instead

Name of the context initialization parameter that defines the fully qualified class name of the ViewControllerMapper to be used is stored. If not present, the default value is org.apache.shale.view.DefaultViewControllerMapper.

See Also:
Constant Field Values

VIEW_MAPPER

public static final String VIEW_MAPPER

Application scope attribute under which the ViewControllerMapper for translating view identifiers to class names of the corresponding ViewController is stored.

See Also:
Constant Field Values


Copyright © 2004-2007 Apache Software Foundation. All Rights Reserved.