|
||||||||||
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(java.io.Writer out)
Actually draw the dialog content. |
void |
init(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Content websiteNode,
Content configNode)
Initialize a Dialog. |
Method Detail |
---|
void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, Content websiteNode, Content configNode) throws javax.jcr.RepositoryException
request
- current HttpServletRequestresponse
- current HttpServletResponsewebsiteNode
- current website nodeconfigNode
- configuration node for the dialog
javax.jcr.RepositoryException
void drawHtml(java.io.Writer out) throws java.io.IOException
out
- Writer
java.io.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 |