|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.gui.dialog.DialogControlImpl info.magnolia.cms.gui.dialog.DialogBox info.magnolia.module.form.controls.MultiControl info.magnolia.module.form.controls.ConditionControl
public class ConditionControl
Multi control for specifying feeds and optional titles. Can be used for anything where multi control with two text fields is needed.
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 | |
---|---|
ConditionControl()
|
Method Summary | |
---|---|
List<OptionConfiguration> |
getConditions()
|
protected String |
getEmpty()
|
String |
getGetObjectFunction()
JS function used to create an object out of the input fields. |
String |
getInnerHtml()
Called by the template. |
String |
getNewObjectFunction()
JS function used to create a new empty object. |
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 |
setConditions(List<OptionConfiguration> conditions)
|
Methods inherited from class info.magnolia.module.form.controls.MultiControl |
---|
drawHtml, getAddButton, getDeleteButton, getHiddenFieldName, getJSON, getSaveInfo, readValues |
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, 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 |
---|
public ConditionControl()
Method Detail |
---|
public String getInnerHtml()
public String getGetObjectFunction()
getGetObjectFunction
in class MultiControl
public String getNewObjectFunction()
getNewObjectFunction
in class MultiControl
protected String getEmpty()
getEmpty
in class MultiControl
public List<OptionConfiguration> getConditions()
public void setConditions(List<OptionConfiguration> conditions)
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
init
in interface info.magnolia.cms.gui.dialog.DialogControl
init
in class info.magnolia.cms.gui.dialog.DialogControlImpl
javax.jcr.RepositoryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |