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)" <de...@beehive.apache.org> on 2005/10/14 20:13:45 UTC

[jira] Created: (BEEHIVE-974) Allow users to define their own tree renderer

Allow users to define their own tree renderer
---------------------------------------------

         Key: BEEHIVE-974
         URL: http://issues.apache.org/jira/browse/BEEHIVE-974
     Project: Beehive
        Type: Improvement
  Components: NetUI  
    Versions: V1    
    Reporter: Carlin Rogers
 Assigned to: Carlin Rogers 
     Fix For: 1.1


>From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.

http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/ajax/%3c40f026540510061317p413421d6qa01d7e21f6923ac3@mail.gmail.com%3e

I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Updated: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Carlin Rogers updated BEEHIVE-974:
----------------------------------

    Attachment: j974-patch.txt

Attaching a patch to support overriding the NetUI tree renderer.

First off, I refactored the TreeRenderer class and its render() method so that it can more easily be extended allowing simple overrides of methods that format and control white space surrounding the elements that make up the markup for a tree node. There are now prefix and suffix routines used to append formatting (or additional markup if desired) around each of the components in the markup of a node.

The <netui:tree> tag has been modified to include a new attribute for setting a desired TreeRenderer to use on the given tree. In addition, the beehive-netui-config schema, ConfigUtil, JspTagConfig, and TagConfig classes have been modified such that NetUI can be configured with a different default tree renderer, extending the NetUI TreeRenderer, for the Web application. It is an optional configuration and the config has our TreeRenderer as a default value. This gives an app developer two options. They can override the NetUI TreeRenderer for the entire application and override it on a tree by tree bases. A renderer named in the <netui:tree> tag attribute will always be used regardless of the renderer in the NetUI configuration. 

The TreeRenderer used to have some package protected derived classes used for handling issues specific to the execution of NetUI code path. There was a renderer for the actual tag and a servlet version for the XmlHttpRequest via the TreeCRI. Instead of having two different renderers and worrying how or if they'd be extended and the desired special handling would be managed, this functionality was moved down to a TreeRenderSupport object that was set on a given TreeRenderer. Then, no matter the TreeRenderer, we'd delegate the special handling to either of two subclasses of the support object to handle tag or XmlHttpRequest specific issues... such as error reporting.

The patch also includes a new test to ensure the renderer overriding works for runAtClient and expandOnServer.

In reviewing this patch...
- Do I need to expose more of the TreeRenderer data and methods as protected rather than private to allow for better sub classing?
- How or will we version the netui config schema in v1.1 to manage the new optional element?


> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1
>  Attachments: j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Closed: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Julie Zhuo (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]
     
Julie Zhuo closed BEEHIVE-974:
------------------------------

    Assign To: Julie Zhuo  (was: Krista Baker)

Verified with rev374209.  The tree/renderer manual test run successfully. When using the tree.renderer.testTreeRenderer as the tree renderer class in the beehive-netui-config, the spaces between the icon and the label get trimed.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Julie Zhuo
>      Fix For: 1.0.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Updated: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Carlin Rogers updated BEEHIVE-974:
----------------------------------

    Description: 
>From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.

http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread

I will attach a patch for review and will describe some of the detail in the design.

  was:
>From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.

http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/ajax/%3c40f026540510061317p413421d6qa01d7e21f6923ac3@mail.gmail.com%3e

I will attach a patch for review and will describe some of the detail in the design.


> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1

>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Commented: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=comments#action_12332105 ] 

Carlin Rogers commented on BEEHIVE-974:
---------------------------------------

Notes about the specific files added and moved in svn...

in trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/ I moved
-  TagTreeRenderer.java to TagTreeRenderSupport.java
-  ServletTreeRenderer.java to ServletTreeRenderSupport.java

and added...
-  TreeRenderSupport.java
-  TreeRendererFactory.java

Also added all the test files in trunk/netui/test/webapps/drt/coreWeb/tree/renderer/
-  Controller.jpf
-  index.jsp
-  TestTreeRenderer.java

And the TestRecorder recording...
-  trunk/netui/test/webapps/drt/testRecorder/tests/TreeRenderer.xml

Let me know if there are any issues.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Rich Feit
>      Fix For: 1.1
>  Attachments: j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Updated: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Rich Feit updated BEEHIVE-974:
------------------------------

    Assign To: Carlin Rogers  (was: Rich Feit)

Hey Carlin, there are multiple svn revisions (312942, 321162) in this patch, and I'm worried I'll end up with something bad on this end.  Could you do an 'svn up' on netui and then resend?
Thanks,
Rich

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1
>  Attachments: j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Assigned: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Alejandro Ramirez (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Alejandro Ramirez reassigned BEEHIVE-974:
-----------------------------------------

    Assign To: Krista Baker  (was: Alejandro Ramirez)

please verify

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Krista Baker
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Assigned: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Carlin Rogers reassigned BEEHIVE-974:
-------------------------------------

    Assign To: Rich Feit  (was: Carlin Rogers)

Assigning to Rich for v1.1. Daryl could you also please give this patcha review and let me know what you think. Thanks!

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Rich Feit
>      Fix For: 1.1
>  Attachments: j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Assigned: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Rich Feit reassigned BEEHIVE-974:
---------------------------------

    Assign To: Carlin Rogers  (was: Rich Feit)

Hey Carlin, I committed the patch.  Sounds like some issues are still in progress / unresolved, so I'm assigning this back to you.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Assigned: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Daryl Olander (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Daryl Olander reassigned BEEHIVE-974:
-------------------------------------

    Assign To: Rich Feit  (was: Daryl Olander)

Assigning this to Rich to do the actual Patch work...

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Rich Feit
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Commented: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=comments#action_12332303 ] 

Rich Feit commented on BEEHIVE-974:
-----------------------------------

I think this one should go to Daryl when you've done that -- he'd have more context for reviewing this.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1
>  Attachments: j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Commented: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Rich Feit (JIRA)" <de...@beehive.apache.org>.
    [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=comments#action_12332309 ] 

Rich Feit commented on BEEHIVE-974:
-----------------------------------

Thanks Carlin.  Moves/renames are really hard when submitting through patches.  Hopefully you won't need to worry about this for much longer.  :)

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Daryl Olander
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Resolved: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]
     
Carlin Rogers resolved BEEHIVE-974:
-----------------------------------

    Resolution: Fixed
     Assign To: Alejandro Ramirez  (was: Carlin Rogers)

Finished some code clean up for this issue... svn revision 345369.

The treeRenderer attribute on the <netui:tree> tag with a Java class name of a custom TreeRenderer implementation to use for a given tree has been removed. The long term solution will be to do this with some Dependency Injection. Removing this attribute will avoid having to support and then deprecate these code changes. The support for using the new element in the NetUI config file to define a custom TreeRenderer (to use for trees in the entire web app) remains in place. This is the mechanism to use until we get DI support.

The test files can be used to verify that a custom TreeRenderer can be configured for the the trees in a web app. Edit the beehive-netui-config.xml file and add a <tree-renderer-class> element within the <jsp-tag-config>...</jsp-tag-config> section.
For example, with the test class, use...
    <tree-renderer-class>tree.renderer.TestTreeRenderer</tree-renderer-class>

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Alejandro Ramirez
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Updated: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Carlin Rogers updated BEEHIVE-974:
----------------------------------

    Attachment: j974-patch-2.txt

Here's a second patch. I think the problem with the other patch is that the two files with the older revision number were the two files I renamed (with svn move). later svn updates do not update the "deleted" files from my workspace so the revision numbers do not update. I've gone back and reverted the files, updated, and moved/renamed them again. They now have the same revision number as the other modified files. I also added a missing license to the TagTreeRenderSupport.java file.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Carlin Rogers
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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


[jira] Assigned: (BEEHIVE-974) Allow users to define their own tree renderer

Posted by "Carlin Rogers (JIRA)" <de...@beehive.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-974?page=all ]

Carlin Rogers reassigned BEEHIVE-974:
-------------------------------------

    Assign To: Daryl Olander  (was: Carlin Rogers)

Assigning to Daryl for review. Thanks.

> Allow users to define their own tree renderer
> ---------------------------------------------
>
>          Key: BEEHIVE-974
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-974
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: V1
>     Reporter: Carlin Rogers
>     Assignee: Daryl Olander
>      Fix For: 1.1
>  Attachments: j974-patch-2.txt, j974-patch.txt
>
> From the email thread on the beehive dev list, there was a discussion about how to allow control of formatting and white space in the NetUI tree rendering. Some folks want to completely control white space in the tree rendering using CSS and/or image padding and not have the "&nbsp;" entities, space characters, and line breaks in the node markup. The discussion led to a suggestion to allow overriding the default NetUI implementation of the TreeRenderer. See the "Control of white space in the NetUI tree rendering..." thread from early October in the beehive dev list.
> http://mail-archives.apache.org/mod_mbox/beehive-dev/200510.mbox/thread
> I will attach a patch for review and will describe some of the detail in the design.

-- 
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