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 2005/11/21 21:22:23 UTC

DO NOT REPLY [Bug 37580] New: - add optional javascript compression to JavascriptValidatorTag

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=37580

           Summary: add optional javascript compression to
                    JavascriptValidatorTag
           Product: Struts
           Version: 1.2.4
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Validator Framework
        AssignedTo: dev@struts.apache.org
        ReportedBy: rush@pobox.com


I've noticed that the javascript files in the commons validator are pretty big in terms of whitespace. As a 
result, the static javascript file used on my site (i.e. generated by the html:javascript tag) is also large, 
about 43k.

One way to reduce the size of this file would be to add an optional attribute to JavascriptValidatorTag that 
inidicates to compress the output. 

I'm not sure if there's any existing javascript compressors in the commons project. The folks at dojo have 
implemented one using Rhino (http://dojotoolkit.org/docs/compressor_system.html) I'm sure there are 
others.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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