Oracle

weblogicx.jsp.tags.validators
Class Summary

java.lang.Object
  extended by TagSupport
      extended by weblogicx.jsp.tags.validators.Summary

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.


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 setAddQueryParams(boolean b)
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Summary

public Summary()
Method Detail

setName

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


setHeaderText

public void setHeaderText(String ht)

setRedirectPage

public void setRedirectPage(String rp)
optional field


setAddQueryParams

public void setAddQueryParams(boolean b)

doProcessValidation

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

getFormName

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

getName

public String getName()

doStartTag

public int doStartTag()
               throws JspTagException
Throws:
JspTagException

doEndTag

public int doEndTag()
             throws JspTagException
Throws:
JspTagException

release

public void release()

incrementCount

public void incrementCount()
increment hidden field count


getCount

public int getCount()
accessor for hiddenFieldCount


register

public Validatable register(Validatable cv)

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs103
Copyright 1996,2008, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.