uk.co.lakesidetech.spxforms.web.servlet.tags
Class SpxGroupTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byuk.co.lakesidetech.spxforms.web.servlet.tags.SpxGroupTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

Author:
Stuart Eccles
See Also:
Serialized Form

Field Summary
static java.lang.String NESTED_REF_VARIABLE_NAME
          Name of the exposed variable within the scope of this tag: "nestedPath".
 
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
SpxGroupTag()
           
 
Method Summary
 int doEndTag()
          Reset any previous nestedPath value.
 int doStartTag()
           
 java.lang.String getId()
           
 java.lang.String getRef()
          Return the path that this tag applies to.
 void setId(java.lang.String id)
           
 void setRef(java.lang.String ref)
          Set the path that this tag should apply.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, 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
 

Field Detail

NESTED_REF_VARIABLE_NAME

public static final java.lang.String NESTED_REF_VARIABLE_NAME
Name of the exposed variable within the scope of this tag: "nestedPath".

See Also:
Constant Field Values
Constructor Detail

SpxGroupTag

public SpxGroupTag()
Method Detail

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

setRef

public void setRef(java.lang.String ref)
Set the path that this tag should apply.

E.g. "customer" to allow bind paths like "address/street" rather than "customer/address/street".

See Also:
BindTag#setPath

getRef

public java.lang.String getRef()
Return the path that this tag applies to.


doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
Reset any previous nestedPath value.