No error/warning posted when non-unique tagIds are assigned
-----------------------------------------------------------
Key: BEEHIVE-168
URL: http://issues.apache.org/jira/browse/BEEHIVE-168
Project: Beehive
Type: Bug
Components: NetUI
Versions: V1
Reporter: Julie Zhuo
Assigned to: Daryl Olander
The following are part of the JSP file used and its html output generated.
************************ test.jsp **********************
<netui:html scopeId="one" >
<head>
<netui:base/>
</head>
<netui:body>
<netui:form action="back">
TwoForms Html Container JS Output Test!<br/>
<netui:textBox tagId="tb1"
dataSource="actionForm.text1"></netui:textBox><br/>
<netui:button value="Submit"/><br/>
</netui:form>
<netui:form action="toIndex">
TextBox JS Output Test!<br/>
<netui:textBox tagId="tb1"
dataSource="actionForm.text1"></netui:textBox><br/>
<netui:button value="Submit"/><br/>
</netui:form>
<p id="javaOut"></p>
</netui:body>
*************************** html output ***************************
<html lang="en" netui:scopeId="one">
<head>
<base
href="http://localhost:7001/JavaScriptWeb/outputTest/twoForm-htmlContainer.jsp">
</head>
<body>
<form name="bean" action="/JavaScriptWeb/outputTest/back.do"
method="post">
TwoForms Html Container JS Output Test!<br/>
<input type="text" name="{actionForm.text1}" id="one.tb1"><br/>
<input type="submit" value="Submit"><br/>
</form>
<form name="bean2" action="/JavaScriptWeb/outputTest/toIndex.do"
method="post">
TextBox JS Output Test!<br/>
<input type="text" name="{actionForm.text1}" id="one.tb1"><br/>
<input type="submit" value="Submit"><br/>
</form>
<p id="javaOut"></p>
<script language="JavaScript" type="text/JavaScript">
<!--
--
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