public abstract class HTMLDialog
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
buildDone |
protected boolean |
cancelButtonPressed |
static java.lang.String |
NAME_FOR_CANCEL_ACTION |
static java.lang.String |
NAME_FOR_OK_ACTION |
protected boolean |
okButtonPressed |
protected SessionData |
sessionData |
Constructor and Description |
---|
HTMLDialog(SessionData sessionData)
Constructs a new dialog.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
act(GeneralizedRequest request)
Do stuff associated to OK Button.
|
void |
addErrorMessage(java.lang.String message) |
void |
buildRemoteView(ToAppletWriter out) |
void |
fetchValuesFromRequest(GeneralizedRequest request)
Causes the invokable to delegate this function to all embedded markupables
to fetch their current value as edited by the user from the request.
|
java.lang.String |
getAppResStr(java.lang.String resourceKey) |
protected java.lang.String |
getCloseScript()
Return the closing script.
|
protected java.lang.String |
getCloseScript(int secondsToAutoClose)
Return the closing script.
|
protected java.lang.String |
getDialogId() |
java.lang.String |
getTitle()
Returns the dialogs's title.
|
boolean |
hasErrorMessages() |
protected void |
informAboutResult(java.lang.String resultInfo) |
boolean |
isBuildDone() |
void |
process(GeneralizedRequest request)
Processes the user's request.
|
void |
setTitle(java.lang.String newTitle)
Sets the dialogs's title.
|
protected void |
writeFooter(ToAppletWriter out) |
protected void |
writeHeader(ToAppletWriter out) |
abstract void |
writeInitialRemoteView(ToAppletWriter out) |
public static final java.lang.String NAME_FOR_OK_ACTION
public static final java.lang.String NAME_FOR_CANCEL_ACTION
protected SessionData sessionData
protected boolean buildDone
protected boolean okButtonPressed
protected boolean cancelButtonPressed
public HTMLDialog(SessionData sessionData)
sessionData
- the session's public dataprotected java.lang.String getDialogId()
public void setTitle(java.lang.String newTitle)
newTitle
- the title of the dialogpublic java.lang.String getTitle()
public java.lang.String getAppResStr(java.lang.String resourceKey)
public void buildRemoteView(ToAppletWriter out)
public void addErrorMessage(java.lang.String message)
public boolean hasErrorMessages()
protected java.lang.String getCloseScript()
protected java.lang.String getCloseScript(int secondsToAutoClose)
secondsToAutoClose
- duration in seconds from display start until auto-closingpublic abstract void writeInitialRemoteView(ToAppletWriter out)
public boolean isBuildDone()
protected void writeHeader(ToAppletWriter out)
protected void writeFooter(ToAppletWriter out)
public void fetchValuesFromRequest(GeneralizedRequest request)
request
- the request from where the values are to be fetchedpublic void process(GeneralizedRequest request)
request
- protected abstract void act(GeneralizedRequest request)
request
- protected void informAboutResult(java.lang.String resultInfo)
Copyright 1998-2023 Christoph Mueller, Kaerntner Str. 56, D-70469 Stuttgart, Germany, https://www.perpus.de