BEA Systems, Inc.

BEA WebLogic Server 9.1 API Reference


weblogicx.jsp.tags.validators
Class Summary

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byweblogicx.jsp.tags.validators.Summary
All Implemented Interfaces:
IterationTag, JspTag, Serializable, Tag

public class Summary
extends TagSupport

Summary keeps tract of all validators on the page reconstructing and executing validate() on validators and storing the errorMessages in the process.

See Also:
Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

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
Summary()
           
 
Method Summary
 int doEndTag()
           
 boolean doProcessValidation()
           
 int doStartTag()
           
 int getCount()
          accessor for hiddenFieldCount
 String getFormName()
           
 String getName()
           
 void incrementCount()
          increment hidden field count
 Validatable register(Validatable cv)
           
 void release()
           
 void setHeaderText(String ht)
           
 void setName(String name)
          name given to the errorVector to be accessed on the page
 void setRedirectPage(String rp)
          optional field
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, 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

Summary

public Summary()
Method Detail

doEndTag

public int doEndTag()
             throws JspTagException
Throws:
JspTagException

doProcessValidation

public boolean doProcessValidation()
Returns:
whether the process needs to be validated or not

doStartTag

public int doStartTag()
               throws JspTagException
Throws:
JspTagException

getCount

public int getCount()
accessor for hiddenFieldCount


getFormName

public String getFormName()
Returns:
wlForm name if any wl:form tag was used

getName

public String getName()

incrementCount

public void incrementCount()
increment hidden field count


register

public Validatable register(Validatable cv)

release

public void release()

setHeaderText

public void setHeaderText(String ht)

setName

public void setName(String name)
name given to the errorVector to be accessed on the page


setRedirectPage

public void setRedirectPage(String rp)
optional field


Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs91
Copyright 2005 BEA Systems Inc.