|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
org.apache.struts.taglib.html.JavascriptValidatorTag
jp.terasoluna.fw.web.struts.taglib.JavascriptValidatorTagEx
public class JavascriptValidatorTagEx
Class extended from JavascriptValidatorTag class. This JavascriptValidatorTag class is provided in Struts.
Full-width and half-width kana string which is fetched from property file
is output as Javascript variable.
Refer to API
of <html:javascript>
tag.
FieldChecksEx
,
Serialized FormField Summary | |
---|---|
private static long |
serialVersionUID
Serial version ID |
Fields inherited from class org.apache.struts.taglib.html.JavascriptValidatorTag |
---|
bundle, cdata, defaultLocale, dynamicJavascript, formName, HTML_BEGIN_COMMENT, HTML_END_COMMENT, htmlComment, jsFormName, lineEnd, methodName, page, scriptLanguage, src, staticJavascript |
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
bodyContent |
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
---|
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
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 | |
---|---|
JavascriptValidatorTagEx()
|
Method Summary | |
---|---|
int |
doStartTag()
It is called at the time of starting tag evaluation. Fetches half-width and full-width kana list from the variable of FieldCheckEx class and outputs it as the JavaScript variable. |
protected java.lang.String |
renderKanaList()
Fetches half-width kana and full-width kana string from FieldCheckEx class, edits it as the string of JavaScript variable definition and returns the string. |
Methods inherited from class org.apache.struts.taglib.html.JavascriptValidatorTag |
---|
getBundle, getCdata, getDynamicJavascript, getFormName, getHtmlComment, getJavascriptBegin, getJavascriptEnd, getJavascriptStaticMethods, getJsFormName, getMethod, getPage, getScriptLanguage, getSrc, getStaticJavascript, release, renderJavascript, renderStartElement, setBundle, setCdata, setDynamicJavascript, setFormName, setHtmlComment, setJsFormName, setMethod, setPage, setScriptLanguage, setSrc, setStaticJavascript |
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
---|
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, setBodyContent |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
---|
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 |
Methods inherited from interface javax.servlet.jsp.tagext.Tag |
---|
getParent, setPageContext, setParent |
Field Detail |
---|
private static final long serialVersionUID
Constructor Detail |
---|
public JavascriptValidatorTagEx()
Method Detail |
---|
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class org.apache.struts.taglib.html.JavascriptValidatorTag
javax.servlet.jsp.JspException
- Exception when the process failsprotected java.lang.String renderKanaList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |