org.infoglue.cms.workflow.taglib
Class ContentTextFieldTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
org.infoglue.deliver.taglib.AbstractTag
org.infoglue.cms.workflow.taglib.WorkflowTag
org.infoglue.cms.workflow.taglib.ElementTag
org.infoglue.cms.workflow.taglib.ContentTextFieldTag
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag
public class ContentTextFieldTag
- extends ElementTag
This class implements the <iw:textfield> tag, which presents an <input type="text" ... />
form element representing a content/content version attribute.
The value of the content/content version attribute is fetched (with the name of the input element as a key)
from the propertyset associated with the workflow.
- See Also:
- Serialized Form
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
|
Method Summary |
protected org.infoglue.cms.workflow.taglib.Element |
createElement()
Creates the element to use when constructing this tag. |
void |
setName(java.lang.String name)
Sets the name attribute of the input element. |
void |
setReadonly(boolean isReadonly)
Sets the readonly attribute of the input element if the specified argument is true. |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContentTextFieldTag
public ContentTextFieldTag()
- Default constructor.
createElement
protected org.infoglue.cms.workflow.taglib.Element createElement()
- Creates the element to use when constructing this tag.
- Specified by:
createElement in class ElementTag
- Returns:
- the element to use when constructing this tag.
setName
public void setName(java.lang.String name)
- Sets the name attribute of the input element.
As an side-effect, the value attribute will also be set, where the value is
fetched from the propertyset using the specified name.
- Parameters:
name - the name to use.
setReadonly
public void setReadonly(boolean isReadonly)
- Sets the readonly attribute of the input element if the specified argument is true.
- Parameters:
isReadonly - indicates if the attribute should be set.
Copyright © 2005 InfoGlue.org All Rights Reserved.