net.sourceforge.openutils.mgnlcontrols.dialog
Class DialogGrid

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by net.sourceforge.openutils.mgnlcontrols.dialog.ConfigurableFreemarkerDialog
              extended by net.sourceforge.openutils.mgnlcontrols.dialog.DialogGrid
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl

public class DialogGrid
extends ConfigurableFreemarkerDialog

Version:
$Id: DialogGrid.java 2702 2010-06-21 15:39:25Z diego_schivo $
Author:
fgiust

Field Summary
 
Fields inherited from class net.sourceforge.openutils.mgnlcontrols.dialog.ConfigurableFreemarkerDialog
configuration, log, uuid
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogBox
BOXTYPE_1COL, BOXTYPE_2COLS
 
Fields inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
DEFAULT_VALUE_PROPERTY, SESSION_ATTRIBUTENAME_DIALOGOBJECT, SESSION_ATTRIBUTENAME_DIALOGOBJECT_REMOVE, VALIDATION_PATTERN_PROPERTY, value
 
Constructor Summary
DialogGrid()
           
 
Method Summary
protected  void addToParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
          Can be implemented by subclasses in order to add parameters to the Map passed to freemarker.
protected  java.lang.String getPath()
          
 void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content websiteNode, info.magnolia.cms.core.Content configNode)
          
 
Methods inherited from class net.sourceforge.openutils.mgnlcontrols.dialog.ConfigurableFreemarkerDialog
drawHtml, getSubNodes
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogBox
drawHtmlPost, drawHtmlPre, getBoxType, getHtmlDescription, setBoxType
 
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
 

Constructor Detail

DialogGrid

public DialogGrid()
Method Detail

init

public 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

Specified by:
init in interface info.magnolia.cms.gui.dialog.DialogControl
Overrides:
init in class ConfigurableFreemarkerDialog
Throws:
javax.jcr.RepositoryException

getPath

protected java.lang.String getPath()

Specified by:
getPath in class ConfigurableFreemarkerDialog
Returns:
ftl template path

addToParameters

protected void addToParameters(java.util.Map<java.lang.String,java.lang.Object> parameters)
Can be implemented by subclasses in order to add parameters to the Map passed to freemarker.

Overrides:
addToParameters in class ConfigurableFreemarkerDialog
Parameters:
parameters - parameter map


Copyright © 2008-2010 Openmind. All Rights Reserved.