[ http://issues.apache.org/jira/browse/BEEHIVE-176?page=history ]
     
Krista Baker closed BEEHIVE-176:
--------------------------------


Verified that all three conditions listed above are correct as well as the 
differences between legacy, legacyOnly, and default is correct with these three 
behaviors.

> HTML validation error: Two forms should not be created using the same name
> --------------------------------------------------------------------------
>
>          Key: BEEHIVE-176
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-176
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Reporter: Karen Stutesman
>     Assignee: Krista Baker
>     Priority: Minor

>
> 1. In any JSP page, set the documentType on the <netui:html> tag to 
> xhtml-transitional as follows:
> <netui:html documentType="xhtml-transitional">
> 2. Add two netui forms that both refer to the same action like this:
> <netui:form action="submitForm"></netui:form>
> <netui:form action="submitForm"></netui:form>
> 3. View source and you will see the following:
> <form name="submitFormForm" 
> action="/qaWeb/htmlValidation/html/button/submitForm.do" method="post"></form>
> <form name="submitFormForm" 
> action="/qaWeb/htmlValidation/html/button/submitForm.do" method="post"></form>
>  
> If you run this through an XHTML validation tool you will receive a message 
> that 'submitFormForm' should not occur twice.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to