[ http://issues.apache.org/jira/browse/BEEHIVE-168?page=history ]
Daryl Olander resolved BEEHIVE-168:
-----------------------------------
Resolution: Won't Fix
This is by design. We give you the tools to create unique Ids but we do not
enforce this. The overhead to enforce this is too high to add to the tags.
Instead, it's up to the developer to create unique id's just as if they were
creating HTML directly.
> 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
> Assignee: 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