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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to