|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.workplace.list.CmsTwoListsDialog
public class CmsTwoListsDialog
Helper class for managing two lists on the same dialog.
Constructor Summary | |
---|---|
CmsTwoListsDialog(A_CmsListDialog wp1,
A_CmsListDialog wp2)
Default constructor. |
Method Summary | |
---|---|
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 workplace instance of the active list. |
A_CmsListDialog |
getFirstWp()
Returns the workplace instance of the first list. |
A_CmsListDialog |
getPassiveWp()
Returns the workplace instance of the passive list. |
A_CmsListDialog |
getSecondWp()
Returns the workplace instance of the second list. |
void |
writeDialog()
Writes the dialog html code, only if the is set. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsTwoListsDialog(A_CmsListDialog wp1, A_CmsListDialog wp2)
wp1
- the workplace instance for the first listwp2
- the workplace instance for the second listMethod Detail |
---|
protected java.lang.String defaultActionHtml()
protected java.lang.String defaultActionHtmlContent()
protected java.lang.String defaultActionHtmlEnd()
protected java.lang.String defaultActionHtmlStart()
public void displayDialog() throws javax.servlet.jsp.JspException, java.io.IOException, javax.servlet.ServletException
javax.servlet.jsp.JspException
- if dialog actions fail
java.io.IOException
- if writing to the JSP out fails, or in case of errors forwarding to the required result page
javax.servlet.ServletException
- in case of errors forwarding to the required result pagepublic 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 errors 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 fail
java.io.IOException
- if writing to the JSP out fails, or in case of errors forwarding to the required result page
javax.servlet.ServletException
- in case of errors forwarding to the required result pagepublic A_CmsListDialog getActiveWp()
public A_CmsListDialog getFirstWp()
public A_CmsListDialog getPassiveWp()
public A_CmsListDialog getSecondWp()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |