[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Krista Baker updated BEEHIVE-162:
---------------------------------
Priority: Minor (was: Major)
Changing the priority from Major to minor because default id lookup scripts are
output for the named anchor.
Issue workaround: Using the default id lookup scripts instead of the legacy
lookup scripts.
> Named anchor does not output id lookup scripts when tagId is set
> ----------------------------------------------------------------
>
> Key: BEEHIVE-162
> URL: http://issues.apache.org/jira/browse/BEEHIVE-162
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: V1
> Reporter: Julie Zhuo
> Assignee: Daryl Olander
> Priority: Minor
>
> The following is the JSP used for this test.
> <netui:html>
> <head>
> <netui:base/>
> </head>
> <netui:body>
> Named Anchor JS Output Test <br/>
> <netui:scriptContainer scopeId="one" >
> <netui:anchor tagId="a3" linkName="javaOut">Named
> Anchor</netui:anchor>
> <br/>
> <p id="javaOut"></p>
> </netui:scriptContainer>
> </netui:body>
> <script language="JavaScript" type="text/JavaScript">
> var p = document.getElementById("javaOut");
> var val = "<b>Document Access</b><br>";
> //var anchorTag = document.getElementById(lookupIdByTagId("a3",p));
> //val = val + "Anchor Scope Id: <b>" + getScopeId(anchorTag) +
> "</b><br/>";
> //val = val + "Anchor Name: <b>" + getNetuiTagName("a3", anchorTag) +
> "</b><br/>";
> //val = val + "Anchor ID: <b>" + lookupIdByTagId("a3",anchorTag) +
> "</b><br/>";
> //val = val + "Anchor Name By Lookup: <b>" +
> lookupNameByTagId("a3",anchorTag) + "</b><br/>";
> p.innerHTML = val;
> </script>
> </netui:html>
--
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