|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.form.AbstractFormComponent
org.apache.tapestry.contrib.form.FormConditional
A conditional element on a page which will render its wrapped elements zero or one times. This
component is a variant of Conditional
, but is designed
for operation in a form. The component parameters are stored in hidden fields during rendering
and are taken from those fields during the rewind, thus no StaleLink exceptions occur. [ Component Reference ]
Constructor Summary | |
FormConditional()
|
Method Summary | |
abstract boolean |
getCondition()
|
abstract org.apache.tapestry.services.DataSqueezer |
getDataSqueezer()
|
abstract java.lang.String |
getElement()
|
abstract org.apache.tapestry.IActionListener |
getListener()
|
boolean |
isDisabled()
|
protected void |
renderComponent(org.apache.tapestry.IMarkupWriter writer,
org.apache.tapestry.IRequestCycle cycle)
|
abstract void |
setConditionValue(boolean value)
|
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent |
getDisplayName, getForm, getForm, getName, setForm, setName |
Methods inherited from class org.apache.tapestry.AbstractComponent |
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, finishLoad, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getProperty, getSpecification, isInActiveState, isParameterBound, isRendering, pageEndRender, prepareForRender, render, renderBody, renderInformalParameters, setBinding, setContainer, setId, setNamespace, setPage, setProperty, toString |
Methods inherited from class org.apache.hivemind.impl.BaseLocatable |
getLocation, setLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.tapestry.IComponent |
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getProperty, getSpecification, isRendering, renderBody, setBinding, setContainer, setId, setNamespace, setPage, setProperty |
Methods inherited from interface org.apache.tapestry.IRender |
render |
Methods inherited from interface org.apache.hivemind.LocationHolder |
setLocation |
Methods inherited from interface org.apache.hivemind.Locatable |
getLocation |
Constructor Detail |
public FormConditional()
Method Detail |
protected void renderComponent(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
public abstract org.apache.tapestry.services.DataSqueezer getDataSqueezer()
public boolean isDisabled()
public abstract boolean getCondition()
public abstract void setConditionValue(boolean value)
public abstract java.lang.String getElement()
public abstract org.apache.tapestry.IActionListener getListener()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |