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=23348>.
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=23348

Use of example action parameter in LookupDispatchAction causes JavaScript problems

           Summary: Use of example action parameter in LookupDispatchAction
                    causes JavaScript problems
           Product: Struts
           Version: 1.1 Final
          Platform: All
               URL: http://jakarta.apache.org/struts/api/org/apache/struts/a
                    ctions/LookupDispatchAction.html
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Documentation
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


In the JavaDoc for LookupDispatchAction, I suggest that the example value for 
parameter be changed from "action" to something else (perhaps "method" as in 
DispatchAction). If the parameter value is actually set to "action" this can 
cause problems in JavaScript. For example, a script that tries to get hold of 
the Form's ACTION property (document.form.action) will curiously get the value 
of a submit button's action property rather than the form's action. Having a 
parameter value other that "action" avoids this potentially confusing side-
effect.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to