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

    Assign To: Krista Baker  (was: Julie Zhuo)

Verified that the basic anchor does now output the proper id lookup scripts 
when the tag id is set.

> Basic anchor does not output id lookup scripts when tagId is set
> ----------------------------------------------------------------
>
>          Key: BEEHIVE-163
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-163
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Krista Baker

>
> The following is the JSP file used for this test
> ***************** anchor-basic.jsp *************
> <%@ page language="java" contentType="text/html;charset=UTF-8"%>
> <%@ taglib prefix="netui" 
> uri="http://beehive.apache.org/netui/tags-html-1.0"%>
> <%@ taglib prefix="netui-data" 
> uri="http://beehive.apache.org/netui/tags-databinding-1.0"%>
> <%@ taglib prefix="netui-template" 
> uri="http://beehive.apache.org/netui/tags-template-1.0"%>
> <netui:html>
>     <head>
>         <netui:base/>
>     </head>
>     <netui:body>
>             <netui:scriptContainer scopeId="one" >
>               Basic Anchor JS Output Test
>               <br/>
>               <netui:anchor action="back" >Back</netui:anchor><br/>
>               <netui:anchor tagId="a5">Basic 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("a5",p));
>     //val = val + "Anchor Scope Id: <b>" + getScopeId(anchorTag) + 
> "</b><br/>";
>     //val = val + "Anchor Name: <b>" + getNetuiTagName("a5", anchorTag) + 
> "</b><br/>";
>     //val = val + "Anchor ID: <b>" + lookupIdByTagId("a5",anchorTag) + 
> "</b><br/>";
>     //val = val + "Anchor Name By Lookup: <b>" + 
> lookupNameByTagId("a5",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