com.boylesoftware.cb2.presentation.servlet
Class UIState

java.lang.Object
  extended bycom.boylesoftware.cb2.presentation.servlet.UIState
All Implemented Interfaces:
java.io.Serializable

public class UIState
extends java.lang.Object
implements java.io.Serializable

General purpose Java bean intended to keep session-scope presentation level state data. The CB2 library maintains an instance of this bean for every session. It is in general a better practice to keep various parameters in a typizied bean properties, rather than directly in the HTTP session attributes. The instance of this bean can be always retrieved by an action or a presentation element from the action context.

This default implementation is empty, but applications are supposed to derive their own UI state bean from this class and specify it in the uistate init parameter of the ControllerServlet. UIState bean instances are available to the user code through action context instances or directly as a request attribute set be the controller servlet under ControllerServlet.UISTATE name.

Version:
$Id: UIState.java,v 1.3 2003/07/20 16:04:19 levahim Exp $
Author:
Lev Himmelfarb
See Also:
Serialized Form

Constructor Summary
UIState()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIState

public UIState()


Copyright © 2002,2003,2004 - Boyle Software, Inc.