net.sf.wfnm.web.taglib
Class WebflowTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bynet.sf.wfnm.web.taglib.WebflowTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, Serializable, javax.servlet.jsp.tagext.Tag

public class WebflowTag
extends javax.servlet.jsp.tagext.TagSupport

This tag allows to declare a page as an entry for a named webflow.

Version:
1.0.6
Author:
Maurizio Albari
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, 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
WebflowTag()
           
 
Method Summary
 int doStartTag()
          Implements the start of the page tag.
 void setForcePrevious(String forcePrevious)
          Set the previous webflo to force
 void setName(String name)
          Sets the webflow name.
 void setOwner(String owner)
          Sets the object set owner expression.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebflowTag

public WebflowTag()
Method Detail

setForcePrevious

public void setForcePrevious(String forcePrevious)
Set the previous webflo to force

Parameters:
forcePrevious - the previou webflow to force

setName

public void setName(String name)
Sets the webflow name.

Parameters:
name - the webflow name

setOwner

public void setOwner(String owner)
Sets the object set owner expression.

Parameters:
owner - Dthe object set owner expression

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Implements the start of the page tag.

Returns:
always SKIP_BODY in order to skip the body
Throws:
javax.servlet.jsp.JspException - if the parameters of this tags are wrong


Copyright © 2004-2005 Maurizio Albari@SourceForge.net. All Rights Reserved.