|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DialogControl
Interface for dialogs. A Magnolia Dialog should at least implements the drawHtml
method to add html
code to a page. Dialogs must have an empty constructor; the init(Content, Content, PageContext)
is
assured to be called before any other operation.
Method Summary | |
---|---|
void |
drawHtml(Writer out)
Actually draw the dialog content. |
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
info.magnolia.cms.core.Content websiteNode,
info.magnolia.cms.core.Content configNode)
Initialize a Dialog. |
Method Detail |
---|
void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content websiteNode, info.magnolia.cms.core.Content configNode) throws javax.jcr.RepositoryException
request
- current HttpServletRequestresponse
- current HttpServletResponsewebsiteNode
- current website nodeconfigNode
- configuration node for the dialog
javax.jcr.RepositoryException
void drawHtml(Writer out) throws IOException
out
- Writer
IOException
- exceptions thrown when writing to the Writer can be safely rethrown by the dialog
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |