You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/11/07 23:20:35 UTC

DO NOT REPLY [Bug 24517] New: - Extending JavascriptValidatorTag

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24517>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24517

Extending JavascriptValidatorTag

           Summary: Extending JavascriptValidatorTag
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Validator Framework
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: rvh3@comcast.net


As it stands, there are issues extending this tag.  By making the following
changes, it is possible to extend this tag.

Suggest changing the following 2 attributes:

private String htmlBeginComment = "\n<!-- Begin \n";
private String htmlEndComment = "//End --> \n";

into protected methods that return the same string.

Suggest making the following methods:

private String getNextVar(String input)
private String getStartElement()
private boolean isXhtml()

into protected methods.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org