Holds the configuration data for a specific application session. The lifecycle of
the SessionContext is managed by the JWicRuntime.
author: Florian Lippisch
setRequireRedraw(boolean requireRedraw) Set to true if the page content need to be rendered again to reflect the changes
of the application since it was last rendered.
Returns true if the page content has been changed since the last rendering
and must be rendered again to reflect the last changes.
Returns the requireRedraw.
Remove the top control from the stack of visible controls.
pushTopControl
public void pushTopControl(Control frameControl)(Code)
Push a control on the stack of visible controls. The top control
(including it's childs) is rendered only. Use popTopControl() to
return to the previous control.
Parameters: frameControl -
redirectTo
public void redirectTo(String sURL, boolean isExit)(Code)
Sends a redirect to the specified URL with the next page update
sent to the client. If the isExit flag is true, all data is purged.
Parameters: sURL - java.lang.String Parameters: isExit - boolean
Set the Locale for this session.
Parameters: locale -
setRequireRedraw
public void setRequireRedraw(boolean requireRedraw)(Code)
Set to true if the page content need to be rendered again to reflect the changes
of the application since it was last rendered.
Parameters: requireRedraw - The requireRedraw to set.
Validates if the ticket number equals the expected ticket number.
If the numbers are equal, true is returned and the request ticket
number is increased by one.
Parameters: ticket -