You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Carlin Rogers (JIRA)" <ji...@apache.org> on 2007/02/15 23:31:07 UTC

[jira] Created: (BEEHIVE-1179) Provide a way for netui:rewriteName tag to rewrite the name as a tag Id and use the scoping within the page.

Provide a way for netui:rewriteName tag to rewrite the name as a tag Id and use the scoping within the page.
------------------------------------------------------------------------------------------------------------

                 Key: BEEHIVE-1179
                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1179
             Project: Beehive
          Issue Type: Improvement
          Components: NetUI
    Affects Versions: 1.0.2, 1.0.1
            Reporter: Carlin Rogers
         Assigned To: Carlin Rogers
             Fix For: V.Next


This enhancement to the <netui:rewriteName> tag comes out of a discussion in the Beehive dev list about how to  enable HTML tags to participate in the NetUI JavaScript scoping features. The end result of the discussion was to add a new attribute, forTagId, to the <netui:rewriteName> tag. When the attribute is set to true it will rewrite the name using the tag id scoping within the page rather than the URLRewriting (and request scoping). Then a developer's client side JavaScript code can access a fragment of markup by using the NetUI lookIdByTagId() JavaScript function.

See the following dev list thread...

http://mail-archives.apache.org/mod_mbox/beehive-dev/200612.mbox/%3ce9ac83540612131547u1a6b323h477d33231e6939e@mail.gmail.com%3e


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (BEEHIVE-1179) Provide a way for netui:rewriteName tag to rewrite the name as a tag Id and use the scoping within the page.

Posted by "Carlin Rogers (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BEEHIVE-1179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlin Rogers resolved BEEHIVE-1179.
------------------------------------

    Resolution: Fixed
      Assignee: Julie Zhuo  (was: Carlin Rogers)

This is implemented in SVN revision 512469. If the netui:rewriteName tag includes the new attribute forTagId="true", then the name will be rewritten for NetUI client side JavaScript scoping facilities that ensure an HTML tag id attribute is unique in the page. In this case, the real tag id rendered in the page may be looked up through the NetUI JavaScript function lookupIdByTagId( tagId, tag ).

The SVN revision includes a new test case as well.

> Provide a way for netui:rewriteName tag to rewrite the name as a tag Id and use the scoping within the page.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: BEEHIVE-1179
>                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1179
>             Project: Beehive
>          Issue Type: Improvement
>          Components: NetUI
>    Affects Versions: 1.0.1, 1.0.2
>            Reporter: Carlin Rogers
>         Assigned To: Julie Zhuo
>             Fix For: V.Next
>
>
> This enhancement to the <netui:rewriteName> tag comes out of a discussion in the Beehive dev list about how to  enable HTML tags to participate in the NetUI JavaScript scoping features. The end result of the discussion was to add a new attribute, forTagId, to the <netui:rewriteName> tag. When the attribute is set to true it will rewrite the name using the tag id scoping within the page rather than the URLRewriting (and request scoping). Then a developer's client side JavaScript code can access a fragment of markup by using the NetUI lookIdByTagId() JavaScript function.
> See the following dev list thread...
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200612.mbox/%3ce9ac83540612131547u1a6b323h477d33231e6939e@mail.gmail.com%3e

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.