info.magnolia.cms.gui.dialog
Class DialogSelect
java.lang.Object
info.magnolia.cms.gui.dialog.DialogControlImpl
info.magnolia.cms.gui.dialog.DialogBox
info.magnolia.cms.gui.dialog.DialogSelect
- All Implemented Interfaces:
- DialogControl
- Direct Known Subclasses:
- LanguageSelect
public class DialogSelect
- extends DialogBox
- Version:
- 2.0
- Author:
- Vinzenz Wyser
Method Summary |
void |
drawHtml(java.io.Writer out)
Actually draw the dialog content. |
protected java.util.Collection |
getOptionNodes(Content configNode)
|
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Content websiteNode,
Content configNode)
Initialize a Dialog. |
void |
setOptions(Content configNode)
|
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl |
addOption, addSub, clearWebsiteNode, drawHtmlPostSubs, drawHtmlPreSubs, drawSubs, getConfigValue, getConfigValue, getDescription, getId, getLabel, getMessage, getMessage, getMessages, getName, getOptions, getParent, getRequest, getResponse, getStorageNode, getSub, getSubs, getTopParent, getValidationPattern, getValue, getValues, getWebsiteNode, isRequired, readValue, readValues, removeSessionAttribute, setConfig, setConfig, setConfig, setDescription, setLabel, setName, setOptions, setRequired, setSaveInfo, setSessionAttribute, setTopParent, setValidationMessage, setValue, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogSelect
public DialogSelect()
setOptions
public void setOptions(Content configNode)
getOptionNodes
protected java.util.Collection getOptionNodes(Content configNode)
throws javax.jcr.PathNotFoundException,
javax.jcr.RepositoryException,
AccessDeniedException
- Throws:
javax.jcr.PathNotFoundException
javax.jcr.RepositoryException
AccessDeniedException
init
public void init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Content websiteNode,
Content configNode)
throws javax.jcr.RepositoryException
- Description copied from interface:
DialogControl
- Initialize a Dialog. This method is guaranteed to be called just after the control instantiation.
- Specified by:
init
in interface DialogControl
- Overrides:
init
in class DialogControlImpl
- Parameters:
request
- current HttpServletRequestresponse
- current HttpServletResponsewebsiteNode
- current website nodeconfigNode
- configuration node for the dialog
- Throws:
javax.jcr.RepositoryException
- See Also:
DialogControl.init(HttpServletRequest, HttpServletResponse, Content, Content)
drawHtml
public void drawHtml(java.io.Writer out)
throws java.io.IOException
- Description copied from interface:
DialogControl
- Actually draw the dialog content.
- Specified by:
drawHtml
in interface DialogControl
- Overrides:
drawHtml
in class DialogControlImpl
- Parameters:
out
- Writer
- Throws:
java.io.IOException
- exceptions thrown when writing to the Writer can be safely rethrown by the dialog- See Also:
DialogControl.drawHtml(Writer)
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.