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





------- Additional Comments From [EMAIL PROTECTED]  2005-02-16 08:28 -------
Created an attachment (id=14296)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14296&action=view)
This patch includes all deltas needed to make Struts use the XHTML-compliant
'id' attribute instead of the 'name' attribute for HTML forms, and a sample
test application.

The test application provided with this patch uses only one HTML form on the
client.  If you would like a single ActionForm class to handle the HTML form
validation for more than one HTML form, either:

* Bind the HTML forms into a single HTML form in the 'onsubmit' event on the
client using JavaScript-DOM logic and submit that dynamically-created form

             or

* Simply create stub ActionForm classes and forward the data and control to
your main ActionForm.  This can be done in a clear, simple, routine manner.
Regarding the client-side solution, please note that client-side JavaScript
capabilities are commonly vastly underestimated.

The only Java class that this patch changes is 'FormTag.java'.  The only '.tld'
file that this patch changes is 'struts-html.tld'.  The enclosed 'struts.jar'
has been built with the patch 'FormTag.java'.  


-- 
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