You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Julie Zhuo (JIRA)" <be...@incubator.apache.org> on 2005/01/12 23:06:24 UTC
[jira] Created: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
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
[jira] Resolved: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Daryl Olander resolved BEEHIVE-162:
-----------------------------------
Assign To: Krista Baker (was: Daryl Olander)
Resolution: Fixed
OK, I added the legacy support
> 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: Krista Baker
>
> 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
[jira] Resolved: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Daryl Olander resolved BEEHIVE-162:
-----------------------------------
Assign To: Julie Zhuo (was: Daryl Olander)
Resolution: Fixed
Good Bug....
Setting the tagId actually converted the anchor into a location anchor and the linkName was ignored. There was a simple logic error in figuring out what type of anchor was being created.
> 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: Julie Zhuo
>
> 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
[jira] Commented: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=comments#action_57567 ]
Julie Zhuo commented on BEEHIVE-162:
------------------------------------
ImageAnchor has the same situation.
> 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
>
> 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
[jira] Reopened: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Krista Baker reopened BEEHIVE-162:
----------------------------------
Assign To: Daryl Olander (was: Julie Zhuo)
re-opening based on earlier comment on legacy script output
> 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
>
> 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
[jira] Resolved: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Daryl Olander (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Daryl Olander resolved BEEHIVE-162:
-----------------------------------
Assign To: Krista Baker (was: Daryl Olander)
Resolution: Fixed
One more time...
> 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: Krista Baker
> 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
[jira] Commented: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=comments#action_60388 ]
Krista Baker commented on BEEHIVE-162:
--------------------------------------
The above example of the netui:anchor tag using a tagId and a linkName does not output the legacy tagId name.
Expected Results (taken from actual result of legacy):
if (netui_names == null)
var netui_names = new Object();
netui_names.one__a3="a3
Actual Results:
No legacy tag name information.
This seems to only affect the netui:anchor and netui:imageAnchor with linkName="someText" tags. These same tags with href or action produce the correct/expected legacy information.
> 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: Julie Zhuo
>
> 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
[jira] Updated: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
[ 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
[jira] Reopened: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=history ]
Krista Baker reopened BEEHIVE-162:
----------------------------------
Assign To: Daryl Olander (was: Krista Baker)
The legacy netui_names and getNetuiTagName javaScript are still not being output for a named anchor.
> 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
>
> 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
[jira] Closed: (BEEHIVE-162) Named anchor does not output id lookup scripts when tagId is set
Posted by "Krista Baker (JIRA)" <be...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/BEEHIVE-162?page=all ]
Krista Baker closed BEEHIVE-162:
--------------------------------
The named netui:anchor now outputs the proper netui_names and getNetuiTagName javaScript for legacy enabled webApps.
> 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: Krista Baker
> 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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira