info.magnolia.module.templatingkit.dam.dialog
Class DialogDAM

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.module.templatingkit.dam.dialog.DialogDAM
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl

public class DialogDAM
extends info.magnolia.cms.gui.dialog.DialogControlImpl

This dialog is loaded when control=dam is selected. It's configuration is complemented with the controls defined for each (DAMSupport) handler Once rendered this subcontrols will have as name: "dam control name + handler control name" i.e. dam control name "image" handler control name "dmsUUID"

Author:
tmiyar

Field Summary
 
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
DialogDAM()
           
 
Method Summary
 void drawHtmlPostSubs(Writer out)
           
 void drawHtmlPreSubs(Writer out)
           
 void drawRadio(Writer out)
           
protected  void drawSubs(Writer out)
           
 void init(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, info.magnolia.cms.core.Content storageNode, info.magnolia.cms.core.Content configNode)
           
 void setName(String s)
           
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogControlImpl
addOption, addSub, clearWebsiteNode, drawHtml, 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, 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

DialogDAM

public DialogDAM()
Method Detail

init

public void init(javax.servlet.http.HttpServletRequest request,
                 javax.servlet.http.HttpServletResponse response,
                 info.magnolia.cms.core.Content storageNode,
                 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 info.magnolia.cms.gui.dialog.DialogControlImpl
Throws:
javax.jcr.RepositoryException

drawHtmlPreSubs

public void drawHtmlPreSubs(Writer out)
                     throws IOException
Overrides:
drawHtmlPreSubs in class info.magnolia.cms.gui.dialog.DialogControlImpl
Throws:
IOException

drawSubs

protected void drawSubs(Writer out)
                 throws IOException
Overrides:
drawSubs in class info.magnolia.cms.gui.dialog.DialogControlImpl
Throws:
IOException

drawHtmlPostSubs

public void drawHtmlPostSubs(Writer out)
                      throws IOException
Overrides:
drawHtmlPostSubs in class info.magnolia.cms.gui.dialog.DialogControlImpl
Throws:
IOException

drawRadio

public void drawRadio(Writer out)
               throws IOException
Throws:
IOException

setName

public void setName(String s)
Overrides:
setName in class info.magnolia.cms.gui.dialog.DialogControlImpl


Copyright © 2008-2012 Magnolia International Ltd.. All Rights Reserved.