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
 Assigned to: Daryl Olander 


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

Reply via email to