org.infoglue.cms.workflow.taglib
Class ActionLinkTag

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

public class ActionLinkTag
extends ElementTag

This class implements the <iw:action> tag, which presents an <href ... /> form element which is used for executing a specific workflow action.

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
ActionLinkTag()
          Default constructor.
 
Method Summary
protected  org.infoglue.cms.workflow.taglib.Element createElement()
          Creates the element to use when constructing this tag.
 void setActionID(java.lang.String id)
          Sets the id of the action that will be executed when pressing the button.
 void setOnclick(java.lang.String onclick)
           
 void setText(java.lang.String text)
          Sets the value attribute of the button 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

ActionLinkTag

public ActionLinkTag()
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.

setActionID

public void setActionID(java.lang.String id)
Sets the id of the action that will be executed when pressing the button.

Parameters:
id - the action id.

setText

public void setText(java.lang.String text)
             throws javax.servlet.jsp.JspException
Sets the value attribute of the button element.

Parameters:
value - the value to use.
Throws:
javax.servlet.jsp.JspException

setOnclick

public void setOnclick(java.lang.String onclick)
                throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException


Copyright © 2005 InfoGlue.org All Rights Reserved.