public class CmsMultiListDialog
extends java.lang.Object
构造器和说明 |
---|
CmsMultiListDialog(java.util.List wps)
Default constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected java.lang.String |
defaultActionHtml()
Generates the dialog starting html code.
|
protected java.lang.String |
defaultActionHtmlContent()
Returns the html code for the default action content.
|
protected java.lang.String |
defaultActionHtmlEnd()
Generates the dialog ending html code.
|
protected java.lang.String |
defaultActionHtmlStart()
Generates the dialog starting html code.
|
void |
displayDialog()
Display method for two list dialogs.
|
void |
displayDialog(boolean writeLater)
Display method for two list dialogs, executes actions, but only displays if needed.
|
A_CmsListDialog |
getActiveWp()
Returns the activeWp.
|
boolean |
isForwarded()
Returns
true if one of the lists has been forwarded. |
void |
writeDialog()
Writes the dialog html code, only if the
is set. |
public CmsMultiListDialog(java.util.List wps)
wps
- the lists to be displayedpublic void displayDialog() throws javax.servlet.jsp.JspException, java.io.IOException, javax.servlet.ServletException
javax.servlet.jsp.JspException
- if dialog actions failjava.io.IOException
- if writing to the JSP out fails, or in case of errros forwarding to the required result pagejavax.servlet.ServletException
- in case of errros forwarding to the required result pagepublic void displayDialog(boolean writeLater) throws javax.servlet.jsp.JspException, java.io.IOException, javax.servlet.ServletException
writeLater
- if true
no output is written,
you have to call manually the defaultActionHtml()
method.javax.servlet.jsp.JspException
- if dialog actions failjava.io.IOException
- if writing to the JSP out fails, or in case of errros forwarding to the required result pagejavax.servlet.ServletException
- in case of errros forwarding to the required result pagepublic A_CmsListDialog getActiveWp()
public boolean isForwarded()
true
if one of the lists has been forwarded.true
if one of the lists has been forwardedpublic void writeDialog() throws java.io.IOException
CmsDialog.ACTION_DEFAULT
is set.java.io.IOException
- if writing to the JSP out fails, or in case of errros forwarding to the required result pageprotected java.lang.String defaultActionHtml()
protected java.lang.String defaultActionHtmlContent()
protected java.lang.String defaultActionHtmlEnd()
protected java.lang.String defaultActionHtmlStart()