org.infoglue.cms.workflow.taglib
Class SetPropertySetTag

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.SetPropertySetTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class SetPropertySetTag
extends WorkflowTag

This class implements the <iw:setproperty> tag, which stores a value as a data field in 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
SetPropertySetTag()
          Default constructor.
 
Method Summary
 int doEndTag()
          Process the end tag.
 void setKey(java.lang.String key)
          Sets the key attribute to the specified key.
 void setValue(java.lang.String value)
          Sets the value attribute to the specified value.
 
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

SetPropertySetTag

public SetPropertySetTag()
Default constructor.

Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process the end tag. Stores the specified value as a data field in the propertyset.

Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
indication of whether to continue evaluating the JSP page.
Throws:
javax.servlet.jsp.JspException - if an error occurs when storing the the value in the propertyset.

setKey

public void setKey(java.lang.String key)
Sets the key attribute to the specified key.

Parameters:
key - the key to use.

setValue

public void setValue(java.lang.String value)
Sets the value attribute to the specified value.

Parameters:
key - the value to use.


Copyright © 2005 InfoGlue.org All Rights Reserved.