|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.control.ControlImpl info.magnolia.cms.gui.control.FreemarkerControl
public class FreemarkerControl
Class for a generic control renderered by freemarker.
Field Summary |
---|
Constructor Summary | |
---|---|
FreemarkerControl(int valueType)
Constructor |
Method Summary | |
---|---|
void |
drawHtml(Writer out,
String path,
Map parameters)
Draw control on writer |
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl |
---|
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtml, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlInter, getHtmlPost, getHtmlPost, getHtmlPre, getHtmlPre, getHtmlSaveInfo, getId, getIsRichEditValue, getLabel, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getPath, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setLabel, setName, setNodeCollectionName, setNodeName, setPath, setRequest, setSaveInfo, setType, setType, setValue, setValues, setValueType, setWebsiteNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FreemarkerControl(int valueType)
valueType
- ControlImpl.VALUETYPE_MULTIPLE or ControlImpl.VALUETYPE_SINGLEMethod Detail |
---|
public void drawHtml(Writer out, String path, Map parameters) throws IOException, freemarker.template.TemplateException
out
- writer to write onpath
- path of freemarker template. The template will be automatically searched in classpath or in
filesystemparameters
- map of parameters to be used in template
IOException
- exception in template loading
freemarker.template.TemplateException
- exception in template rendering
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |