Hi,

  I am using the TreeElement.setContent() method to set some extra HTML
markup for a tree node label when I need to make the label look a little
special under a certain condition.  From the javadoc, it sounds like the
intent of the TreeElement.content property is to provide HTML markup
that is displayed to the right of the label:

 

http://beehive.apache.org/docs/nightly/apidocs/classref_netui/org/apache
/beehive/netui/tags/tree/TreeElement.html#getContent()

 

  However, the string that I am setting in setContent() is getting
escaped when the tree is rendered, so It looks like this when I view the
HTML src of my page:

 

<img src="/images/mypicture.gif " alt="asdf"
title="asdf" />

 

I want it to look like this so I have an HTML img tag that will show the
image I want to the right of the label:

 

<img src="/images/mypicture.gif" alt="asdf" title="asdf" />

 

Is there a bug in the tree renderer?  It seems like my
TreeElement.content string should be left alone, not escaped.

 

Thanks.

 

-------------------

Ture Hoefner

WebLogic Portal Engineering

BEA Systems, Inc.

 

Reply via email to