| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd"> |
| <!--NewPage--> |
| <HTML> |
| <HEAD> |
| <!-- Generated by javadoc on Fri Aug 22 03:44:06 EDT 2003 --> |
| <TITLE> |
| JavascriptValidatorTag (Apache Struts API Documentation) |
| </TITLE> |
| <META NAME="keywords" CONTENT="org.apache.struts.taglib.html.JavascriptValidatorTag,JavascriptValidatorTag class"> |
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style"> |
| </HEAD> |
| <SCRIPT> |
| function asd() |
| { |
| parent.document.title="JavascriptValidatorTag (Apache Struts API Documentation)"; |
| } |
| </SCRIPT> |
| <BODY BGCOLOR="white" onload="asd();"> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavascriptValidatorTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/struts/taglib/html/ImgTag.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/struts/taglib/html/LinkTag.html"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="JavascriptValidatorTag.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <H2> |
| <FONT SIZE="-1"> |
| org.apache.struts.taglib.html</FONT> |
| <BR> |
| Class JavascriptValidatorTag</H2> |
| <PRE> |
| java.lang.Object |
| | |
| +--javax.servlet.jsp.tagext.TagSupport |
| | |
| +--javax.servlet.jsp.tagext.BodyTagSupport |
| | |
| +--<B>org.apache.struts.taglib.html.JavascriptValidatorTag</B> |
| </PRE> |
| <DL> |
| <DT><B>All Implemented Interfaces:</B> <DD>javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag</DD> |
| </DL> |
| <HR> |
| <DL> |
| <DT>public class <B>JavascriptValidatorTag</B><DT>extends javax.servlet.jsp.tagext.BodyTagSupport</DL> |
| |
| <P> |
| Custom tag that generates JavaScript for client side validation based |
| on the validation rules loaded by the <code>ValidatorPlugIn</code> |
| defined in the struts-config.xml file. |
| <P> |
| |
| <P> |
| <DL> |
| <DT><B>Since:</B></DT> |
| <DD>Struts 1.1</DD> |
| <DT><B>Version:</B></DT> |
| <DD>$Revision: 1.1 $ $Date$</DD> |
| <DT><B>Author:</B></DT> |
| <DD>David Winterfeldt</DD> |
| <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html" TARGET="org.apache.struts.taglib.html.JavascriptValidatorTag">Serialized Form</A></DL> |
| <HR> |
| |
| <P> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| |
| |
| <!-- =========== FIELD SUMMARY =========== --> |
| |
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Field Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#bundle">bundle</A></B></CODE> |
| |
| <BR> |
| The servlet context attribute key for our resources.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#cdata">cdata</A></B></CODE> |
| |
| <BR> |
| Hide JavaScript methods in a CDATA section for XHTML when "true".</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static java.util.Locale</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#defaultLocale">defaultLocale</A></B></CODE> |
| |
| <BR> |
| <B>Deprecated.</B> <I>This variable is no longer used.</I></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#dynamicJavascript">dynamicJavascript</A></B></CODE> |
| |
| <BR> |
| The dynamic JavaScript objects will only be generated if this is set to "true".</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#formName">formName</A></B></CODE> |
| |
| <BR> |
| The name of the form that corresponds with the action name |
| in struts-config.xml.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#htmlBeginComment">htmlBeginComment</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#htmlComment">htmlComment</A></B></CODE> |
| |
| <BR> |
| The JavaScript methods will enclosed with html comments if this is set to "true".</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#htmlEndComment">htmlEndComment</A></B></CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected static java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#lineEnd">lineEnd</A></B></CODE> |
| |
| <BR> |
| The line ending string.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#methodName">methodName</A></B></CODE> |
| |
| <BR> |
| This will be used as is for the JavaScript validation method name if it has a value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#page">page</A></B></CODE> |
| |
| <BR> |
| The current page number of a multi-part form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#src">src</A></B></CODE> |
| |
| <BR> |
| The src attribute for html script element (used to include an external script |
| resource).</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#staticJavascript">staticJavascript</A></B></CODE> |
| |
| <BR> |
| The static JavaScript methods will only be printed if this is set to "true".</TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.BodyTagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>bodyContent</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>id, pageContext</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.BodyTag"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from interface javax.servlet.jsp.tagext.BodyTag</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>EVAL_BODY_TAG</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="fields_inherited_from_class_javax.servlet.jsp.tagext.Tag"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Fields inherited from interface javax.servlet.jsp.tagext.Tag</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| |
| <A NAME="constructor_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Constructor Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#JavascriptValidatorTag()">JavascriptValidatorTag</A></B>()</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| </TABLE> |
| |
| <!-- ========== METHOD SUMMARY =========== --> |
| |
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=2><FONT SIZE="+2"> |
| <B>Method Summary</B></FONT></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#doStartTag()">doStartTag</A></B>()</CODE> |
| |
| <BR> |
| Render the JavaScript for to perform validations based on the form name.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getCdata()">getCdata</A></B>()</CODE> |
| |
| <BR> |
| Returns the cdata setting "true" or "false".</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getDynamicJavascript()">getDynamicJavascript</A></B>()</CODE> |
| |
| <BR> |
| Gets whether or not to generate the dynamic |
| JavaScript.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getFormName()">getFormName</A></B>()</CODE> |
| |
| <BR> |
| Gets the key (form name) that will be used |
| to retrieve a set of validation rules to be |
| performed on the bean passed in for validation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getHtmlComment()">getHtmlComment</A></B>()</CODE> |
| |
| <BR> |
| Gets whether or not to delimit the |
| JavaScript with html comments.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getJavascriptBegin(java.lang.String)">getJavascriptBegin</A></B>(java.lang.String methods)</CODE> |
| |
| <BR> |
| Returns the opening script element and some initial javascript.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getJavascriptEnd()">getJavascriptEnd</A></B>()</CODE> |
| |
| <BR> |
| Returns the closing script element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>protected java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getJavascriptStaticMethods(org.apache.commons.validator.ValidatorResources)">getJavascriptStaticMethods</A></B>(org.apache.commons.validator.ValidatorResources resources)</CODE> |
| |
| <BR> |
| </TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getMethod()">getMethod</A></B>()</CODE> |
| |
| <BR> |
| Gets the method name that will be used for the Javascript |
| validation method name if it has a value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getNextVar(java.lang.String)">getNextVar</A></B>(java.lang.String input)</CODE> |
| |
| <BR> |
| The value <code>null</code> will be returned at the end of the sequence.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> int</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getPage()">getPage</A></B>()</CODE> |
| |
| <BR> |
| Gets the current page number of a multi-part form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getSrc()">getSrc</A></B>()</CODE> |
| |
| <BR> |
| Gets the src attribute's value when defining |
| the html script element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getStartElement()">getStartElement</A></B>()</CODE> |
| |
| <BR> |
| Constructs the beginning <script> element depending on xhtml status.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#getStaticJavascript()">getStaticJavascript</A></B>()</CODE> |
| |
| <BR> |
| Gets whether or not to generate the static |
| JavaScript.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private boolean</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#isXhtml()">isXhtml</A></B>()</CODE> |
| |
| <BR> |
| Returns true if this is an xhtml page.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#release()">release</A></B>()</CODE> |
| |
| <BR> |
| Release any acquired resources.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE>private java.lang.String</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#replaceChar(java.lang.String, int, char)">replaceChar</A></B>(java.lang.String input, |
| int pos, |
| char c)</CODE> |
| |
| <BR> |
| Replaces a single character in a <code>String</code></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setCdata(java.lang.String)">setCdata</A></B>(java.lang.String cdata)</CODE> |
| |
| <BR> |
| Sets the cdata status.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setDynamicJavascript(java.lang.String)">setDynamicJavascript</A></B>(java.lang.String dynamicJavascript)</CODE> |
| |
| <BR> |
| Sets whether or not to generate the dynamic |
| JavaScript.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setFormName(java.lang.String)">setFormName</A></B>(java.lang.String formName)</CODE> |
| |
| <BR> |
| Sets the key (form name) that will be used |
| to retrieve a set of validation rules to be |
| performed on the bean passed in for validation.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setHtmlComment(java.lang.String)">setHtmlComment</A></B>(java.lang.String htmlComment)</CODE> |
| |
| <BR> |
| Sets whether or not to delimit the |
| JavaScript with html comments.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setMethod(java.lang.String)">setMethod</A></B>(java.lang.String methodName)</CODE> |
| |
| <BR> |
| Sets the method name that will be used for the Javascript |
| validation method name if it has a value.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setPage(int)">setPage</A></B>(int page)</CODE> |
| |
| <BR> |
| Sets the current page number of a multi-part form.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setSrc(java.lang.String)">setSrc</A></B>(java.lang.String src)</CODE> |
| |
| <BR> |
| Sets the src attribute's value when defining |
| the html script element.</TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
| <CODE> void</CODE></FONT></TD> |
| <TD><CODE><B><A HREF="../../../../../org/apache/struts/taglib/html/JavascriptValidatorTag.html#setStaticJavascript(java.lang.String)">setStaticJavascript</A></B>(java.lang.String staticJavascript)</CODE> |
| |
| <BR> |
| Sets whether or not to generate the static |
| JavaScript.</TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_javax.servlet.jsp.tagext.BodyTagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_javax.servlet.jsp.tagext.TagSupport"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class javax.servlet.jsp.tagext.TagSupport</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from class java.lang.Object</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> |
| </TR> |
| </TABLE> |
| <A NAME="methods_inherited_from_class_javax.servlet.jsp.tagext.Tag"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
| <TD><B>Methods inherited from interface javax.servlet.jsp.tagext.Tag</B></TD> |
| </TR> |
| <TR BGCOLOR="white" CLASS="TableRowColor"> |
| <TD><CODE>getParent, setPageContext, setParent</CODE></TD> |
| </TR> |
| </TABLE> |
| |
| <P> |
| |
| <!-- ============ FIELD DETAIL =========== --> |
| |
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Field Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="bundle"><!-- --></A><H3> |
| bundle</H3> |
| <PRE> |
| protected java.lang.String <B>bundle</B></PRE> |
| <DL> |
| <DD>The servlet context attribute key for our resources. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="defaultLocale"><!-- --></A><H3> |
| defaultLocale</H3> |
| <PRE> |
| protected static java.util.Locale <B>defaultLocale</B></PRE> |
| <DL> |
| <DD><B>Deprecated.</B> <I>This variable is no longer used.</I> |
| <P> |
| <DD>The default locale on our server. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="formName"><!-- --></A><H3> |
| formName</H3> |
| <PRE> |
| protected java.lang.String <B>formName</B></PRE> |
| <DL> |
| <DD>The name of the form that corresponds with the action name |
| in struts-config.xml. Specifying a form name places a |
| <script> </script> around the javascript. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="lineEnd"><!-- --></A><H3> |
| lineEnd</H3> |
| <PRE> |
| protected static java.lang.String <B>lineEnd</B></PRE> |
| <DL> |
| <DD>The line ending string. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="page"><!-- --></A><H3> |
| page</H3> |
| <PRE> |
| protected int <B>page</B></PRE> |
| <DL> |
| <DD>The current page number of a multi-part form. |
| Only valid when the formName attribute is set. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="methodName"><!-- --></A><H3> |
| methodName</H3> |
| <PRE> |
| protected java.lang.String <B>methodName</B></PRE> |
| <DL> |
| <DD>This will be used as is for the JavaScript validation method name if it has a value. This is |
| the method name of the main JavaScript method that the form calls to perform validations. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="staticJavascript"><!-- --></A><H3> |
| staticJavascript</H3> |
| <PRE> |
| protected java.lang.String <B>staticJavascript</B></PRE> |
| <DL> |
| <DD>The static JavaScript methods will only be printed if this is set to "true". |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="dynamicJavascript"><!-- --></A><H3> |
| dynamicJavascript</H3> |
| <PRE> |
| protected java.lang.String <B>dynamicJavascript</B></PRE> |
| <DL> |
| <DD>The dynamic JavaScript objects will only be generated if this is set to "true". |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="src"><!-- --></A><H3> |
| src</H3> |
| <PRE> |
| protected java.lang.String <B>src</B></PRE> |
| <DL> |
| <DD>The src attribute for html script element (used to include an external script |
| resource). The src attribute is only recognized |
| when the formName attribute is specified. |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="htmlComment"><!-- --></A><H3> |
| htmlComment</H3> |
| <PRE> |
| protected java.lang.String <B>htmlComment</B></PRE> |
| <DL> |
| <DD>The JavaScript methods will enclosed with html comments if this is set to "true". |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="cdata"><!-- --></A><H3> |
| cdata</H3> |
| <PRE> |
| protected java.lang.String <B>cdata</B></PRE> |
| <DL> |
| <DD>Hide JavaScript methods in a CDATA section for XHTML when "true". |
| <P> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="htmlBeginComment"><!-- --></A><H3> |
| htmlBeginComment</H3> |
| <PRE> |
| private java.lang.String <B>htmlBeginComment</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| <HR> |
| |
| <A NAME="htmlEndComment"><!-- --></A><H3> |
| htmlEndComment</H3> |
| <PRE> |
| private java.lang.String <B>htmlEndComment</B></PRE> |
| <DL> |
| <DL> |
| </DL> |
| </DL> |
| |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| |
| <A NAME="constructor_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Constructor Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="JavascriptValidatorTag()"><!-- --></A><H3> |
| JavascriptValidatorTag</H3> |
| <PRE> |
| public <B>JavascriptValidatorTag</B>()</PRE> |
| <DL> |
| </DL> |
| |
| <!-- ============ METHOD DETAIL ========== --> |
| |
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"> |
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
| <TD COLSPAN=1><FONT SIZE="+2"> |
| <B>Method Detail</B></FONT></TD> |
| </TR> |
| </TABLE> |
| |
| <A NAME="getFormName()"><!-- --></A><H3> |
| getFormName</H3> |
| <PRE> |
| public java.lang.String <B>getFormName</B>()</PRE> |
| <DL> |
| <DD>Gets the key (form name) that will be used |
| to retrieve a set of validation rules to be |
| performed on the bean passed in for validation. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setFormName(java.lang.String)"><!-- --></A><H3> |
| setFormName</H3> |
| <PRE> |
| public void <B>setFormName</B>(java.lang.String formName)</PRE> |
| <DL> |
| <DD>Sets the key (form name) that will be used |
| to retrieve a set of validation rules to be |
| performed on the bean passed in for validation. |
| Specifying a form name places a |
| <script> </script> tag around the javascript. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getPage()"><!-- --></A><H3> |
| getPage</H3> |
| <PRE> |
| public int <B>getPage</B>()</PRE> |
| <DL> |
| <DD>Gets the current page number of a multi-part form. |
| Only field validations with a matching page numer |
| will be generated that match the current page number. |
| Only valid when the formName attribute is set. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setPage(int)"><!-- --></A><H3> |
| setPage</H3> |
| <PRE> |
| public void <B>setPage</B>(int page)</PRE> |
| <DL> |
| <DD>Sets the current page number of a multi-part form. |
| Only field validations with a matching page numer |
| will be generated that match the current page number. |
| Only valid when the formName attribute is set. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getMethod()"><!-- --></A><H3> |
| getMethod</H3> |
| <PRE> |
| public java.lang.String <B>getMethod</B>()</PRE> |
| <DL> |
| <DD>Gets the method name that will be used for the Javascript |
| validation method name if it has a value. This overrides |
| the auto-generated method name based on the key (form name) |
| passed in. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setMethod(java.lang.String)"><!-- --></A><H3> |
| setMethod</H3> |
| <PRE> |
| public void <B>setMethod</B>(java.lang.String methodName)</PRE> |
| <DL> |
| <DD>Sets the method name that will be used for the Javascript |
| validation method name if it has a value. This overrides |
| the auto-generated method name based on the key (form name) |
| passed in. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStaticJavascript()"><!-- --></A><H3> |
| getStaticJavascript</H3> |
| <PRE> |
| public java.lang.String <B>getStaticJavascript</B>()</PRE> |
| <DL> |
| <DD>Gets whether or not to generate the static |
| JavaScript. If this is set to 'true', which |
| is the default, the static JavaScript will be generated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setStaticJavascript(java.lang.String)"><!-- --></A><H3> |
| setStaticJavascript</H3> |
| <PRE> |
| public void <B>setStaticJavascript</B>(java.lang.String staticJavascript)</PRE> |
| <DL> |
| <DD>Sets whether or not to generate the static |
| JavaScript. If this is set to 'true', which |
| is the default, the static JavaScript will be generated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getDynamicJavascript()"><!-- --></A><H3> |
| getDynamicJavascript</H3> |
| <PRE> |
| public java.lang.String <B>getDynamicJavascript</B>()</PRE> |
| <DL> |
| <DD>Gets whether or not to generate the dynamic |
| JavaScript. If this is set to 'true', which |
| is the default, the dynamic JavaScript will be generated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setDynamicJavascript(java.lang.String)"><!-- --></A><H3> |
| setDynamicJavascript</H3> |
| <PRE> |
| public void <B>setDynamicJavascript</B>(java.lang.String dynamicJavascript)</PRE> |
| <DL> |
| <DD>Sets whether or not to generate the dynamic |
| JavaScript. If this is set to 'true', which |
| is the default, the dynamic JavaScript will be generated. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getHtmlComment()"><!-- --></A><H3> |
| getHtmlComment</H3> |
| <PRE> |
| public java.lang.String <B>getHtmlComment</B>()</PRE> |
| <DL> |
| <DD>Gets whether or not to delimit the |
| JavaScript with html comments. If this is set to 'true', which |
| is the default, the htmlComment will be surround the JavaScript. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setHtmlComment(java.lang.String)"><!-- --></A><H3> |
| setHtmlComment</H3> |
| <PRE> |
| public void <B>setHtmlComment</B>(java.lang.String htmlComment)</PRE> |
| <DL> |
| <DD>Sets whether or not to delimit the |
| JavaScript with html comments. If this is set to 'true', which |
| is the default, the htmlComment will be surround the JavaScript. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getSrc()"><!-- --></A><H3> |
| getSrc</H3> |
| <PRE> |
| public java.lang.String <B>getSrc</B>()</PRE> |
| <DL> |
| <DD>Gets the src attribute's value when defining |
| the html script element. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setSrc(java.lang.String)"><!-- --></A><H3> |
| setSrc</H3> |
| <PRE> |
| public void <B>setSrc</B>(java.lang.String src)</PRE> |
| <DL> |
| <DD>Sets the src attribute's value when defining |
| the html script element. The src attribute is only recognized |
| when the formName attribute is specified. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="doStartTag()"><!-- --></A><H3> |
| doStartTag</H3> |
| <PRE> |
| public int <B>doStartTag</B>() |
| throws javax.servlet.jsp.JspException</PRE> |
| <DL> |
| <DD>Render the JavaScript for to perform validations based on the form name. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>doStartTag</CODE> in interface <CODE>javax.servlet.jsp.tagext.Tag</CODE><DT><B>Overrides:</B><DD><CODE>doStartTag</CODE> in class <CODE>javax.servlet.jsp.tagext.BodyTagSupport</CODE></DL> |
| </DD> |
| <DD><DL> |
| |
| <DT><B>Throws:</B> |
| <DD><CODE>javax.servlet.jsp.JspException</CODE> - if a JSP exception has occurred</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="release()"><!-- --></A><H3> |
| release</H3> |
| <PRE> |
| public void <B>release</B>()</PRE> |
| <DL> |
| <DD>Release any acquired resources. |
| <P> |
| <DD><DL> |
| <DT><B>Specified by:</B><DD><CODE>release</CODE> in interface <CODE>javax.servlet.jsp.tagext.Tag</CODE><DT><B>Overrides:</B><DD><CODE>release</CODE> in class <CODE>javax.servlet.jsp.tagext.BodyTagSupport</CODE></DL> |
| </DD> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavascriptBegin(java.lang.String)"><!-- --></A><H3> |
| getJavascriptBegin</H3> |
| <PRE> |
| protected java.lang.String <B>getJavascriptBegin</B>(java.lang.String methods)</PRE> |
| <DL> |
| <DD>Returns the opening script element and some initial javascript. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavascriptStaticMethods(org.apache.commons.validator.ValidatorResources)"><!-- --></A><H3> |
| getJavascriptStaticMethods</H3> |
| <PRE> |
| protected java.lang.String <B>getJavascriptStaticMethods</B>(org.apache.commons.validator.ValidatorResources resources)</PRE> |
| <DL> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getJavascriptEnd()"><!-- --></A><H3> |
| getJavascriptEnd</H3> |
| <PRE> |
| protected java.lang.String <B>getJavascriptEnd</B>()</PRE> |
| <DL> |
| <DD>Returns the closing script element. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getNextVar(java.lang.String)"><!-- --></A><H3> |
| getNextVar</H3> |
| <PRE> |
| private java.lang.String <B>getNextVar</B>(java.lang.String input)</PRE> |
| <DL> |
| <DD>The value <code>null</code> will be returned at the end of the sequence. |
| ex: "zz" will return <code>null</code> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="replaceChar(java.lang.String, int, char)"><!-- --></A><H3> |
| replaceChar</H3> |
| <PRE> |
| private java.lang.String <B>replaceChar</B>(java.lang.String input, |
| int pos, |
| char c)</PRE> |
| <DL> |
| <DD>Replaces a single character in a <code>String</code> |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getStartElement()"><!-- --></A><H3> |
| getStartElement</H3> |
| <PRE> |
| private java.lang.String <B>getStartElement</B>()</PRE> |
| <DL> |
| <DD>Constructs the beginning <script> element depending on xhtml status. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="isXhtml()"><!-- --></A><H3> |
| isXhtml</H3> |
| <PRE> |
| private boolean <B>isXhtml</B>()</PRE> |
| <DL> |
| <DD>Returns true if this is an xhtml page. |
| <P> |
| <DD><DL> |
| </DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="getCdata()"><!-- --></A><H3> |
| getCdata</H3> |
| <PRE> |
| public java.lang.String <B>getCdata</B>()</PRE> |
| <DL> |
| <DD>Returns the cdata setting "true" or "false". |
| <P> |
| <DD><DL> |
| |
| <DT><B>Returns:</B><DD>String - "true" if JavaScript will be hidden in a CDATA section</DL> |
| </DD> |
| </DL> |
| <HR> |
| |
| <A NAME="setCdata(java.lang.String)"><!-- --></A><H3> |
| setCdata</H3> |
| <PRE> |
| public void <B>setCdata</B>(java.lang.String cdata)</PRE> |
| <DL> |
| <DD>Sets the cdata status. |
| <P> |
| <DD><DL> |
| <DT><B>Parameters:</B><DD><CODE>cdata</CODE> - The cdata to set</DL> |
| </DD> |
| </DL> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <HR> |
| |
| <!-- ========== START OF NAVBAR ========== --> |
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"> |
| <TR> |
| <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> |
| <TR ALIGN="center" VALIGN="top"> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
| <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/JavascriptValidatorTag.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> |
| <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
| </TR> |
| </TABLE> |
| </TD> |
| <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
| </EM> |
| </TD> |
| </TR> |
| |
| <TR> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../org/apache/struts/taglib/html/ImgTag.html"><B>PREV CLASS</B></A> |
| <A HREF="../../../../../org/apache/struts/taglib/html/LinkTag.html"><B>NEXT CLASS</B></A></FONT></TD> |
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
| <A HREF="../../../../../index.html" TARGET="_top"><B>FRAMES</B></A> |
| <A HREF="JavascriptValidatorTag.html" TARGET="_top"><B>NO FRAMES</B></A> |
| |
| <SCRIPT> |
| <!-- |
| if(window==top) { |
| document.writeln('<A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); |
| } |
| //--> |
| </SCRIPT> |
| <NOSCRIPT> |
| <A HREF="../../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A> |
| </NOSCRIPT> |
| </FONT></TD> |
| </TR> |
| <TR> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
| DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
| </TR> |
| </TABLE> |
| <!-- =========== END OF NAVBAR =========== --> |
| |
| <HR> |
| Copyright © 2000-2003 - Apache Software Foundation |
| </BODY> |
| </HTML> |