org.infoglue.cms.workflow.taglib
Class ContentTextareaFieldTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.infoglue.deliver.taglib.AbstractTag
          extended by org.infoglue.cms.workflow.taglib.WorkflowTag
              extended by org.infoglue.cms.workflow.taglib.ElementTag
                  extended by org.infoglue.cms.workflow.taglib.ContentTextareaFieldTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class ContentTextareaFieldTag
extends ElementTag

This class implements the <iw:textarea> tag, which presents an <textarea ... /> 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

Field Summary
 
Fields inherited from class org.infoglue.cms.workflow.taglib.WorkflowTag
ACTION_ID_PARAMETER, WORKFLOW_ID_PARAMETER
 
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
 
Constructor Summary
ContentTextareaFieldTag()
          Default constructor.
 
Method Summary
protected  org.infoglue.cms.workflow.taglib.Element createElement()
          Creates the element to use when constructing this tag.
 void setColumns(java.lang.String columns)
          Sets the cols attribute of the textarea element.
 void setName(java.lang.String name)
          Sets the name attribute of the textarea element.
 void setRows(java.lang.String rows)
          Sets the rows attribute of the textarea element.
 
Methods inherited from class org.infoglue.cms.workflow.taglib.ElementTag
doEndTag, getElement, setCssClass, setIdAttr, setStyle, setTitle
 
Methods inherited from class org.infoglue.cms.workflow.taglib.WorkflowTag
getActionID, getPrincipal, getPropertySet, getWorkflowID
 
Methods inherited from class org.infoglue.deliver.taglib.AbstractTag
evaluate, evaluateCollection, evaluateInteger, evaluateList, evaluateString, produceResult, setId, setResultAttribute, write
 
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
 

Constructor Detail

ContentTextareaFieldTag

public ContentTextareaFieldTag()
Default constructor.

Method Detail

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 textarea element. As an side-effect, the value will also be set, where the value is fetched from the propertyset using the specified name.

Parameters:
name - the name to use.

setRows

public void setRows(java.lang.String rows)
Sets the rows attribute of the textarea element.

Parameters:
rows - the rows to use.

setColumns

public void setColumns(java.lang.String columns)
Sets the cols attribute of the textarea element.

Parameters:
columns - the columns to use.


Copyright © 2005 InfoGlue.org All Rights Reserved.