beehive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ture Hoefner" <>
Subject Problem with TreeElement.content and tree renderer?
Date Sat, 10 Dec 2005 00:22:40 GMT

  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:


  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:


&lt;img src=&quot;/images/mypicture.gif &quot; alt=&quot;asdf&quot;
title=&quot;asdf&quot; /&gt;


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.





Ture Hoefner

WebLogic Portal Engineering

BEA Systems, Inc.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message