info.magnolia.module.shop.dialog
Class QuerySelect

java.lang.Object
  extended by info.magnolia.cms.gui.dialog.DialogControlImpl
      extended by info.magnolia.cms.gui.dialog.DialogBox
          extended by info.magnolia.cms.gui.dialog.DialogSelect
              extended by info.magnolia.module.shop.dialog.QuerySelect
All Implemented Interfaces:
info.magnolia.cms.gui.dialog.DialogControl

public class QuerySelect
extends info.magnolia.cms.gui.dialog.DialogSelect

This "select" dialog will get its select options by querying the repository instead of reading them from the configuration. The configuration options are:

.

Author:
will

Field Summary
 
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
QuerySelect()
           
 
Method Summary
protected  Collection getOptionNodes(info.magnolia.cms.core.Content configNode)
           
 void setOptions(info.magnolia.cms.core.Content configNode)
           
 
Methods inherited from class info.magnolia.cms.gui.dialog.DialogSelect
drawHtml, init
 
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

QuerySelect

public QuerySelect()
Method Detail

setOptions

public void setOptions(info.magnolia.cms.core.Content configNode)
Overrides:
setOptions in class info.magnolia.cms.gui.dialog.DialogSelect
Parameters:
configNode -

getOptionNodes

protected Collection getOptionNodes(info.magnolia.cms.core.Content configNode)
Overrides:
getOptionNodes in class info.magnolia.cms.gui.dialog.DialogSelect


Copyright © 2013 Magnolia International Ltd.. All Rights Reserved.