Skip to Content
author's profile photo Former Member
Former Member

Tree backgroundcolor


I use the htmlb control tree in my iview in a few different jsp files. I would like to configure the tree to display different background colours depending on which jsp file that is currently displayed.

In the theme editor I can only use one bgcolor. And I can't create two themes and make use of it; the role and the user are the same in both jsp files.

Is it possible to set the backgroundcolor when I'm creating the tree? Or is there another way?

Brgds// -Fred

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Apr 05, 2004 at 01:10 PM

    Try to find out the name of the css attribute that is changed in the theme editor and overwrite the style in the jsp page. Something like:

    <style type="text/css">

    .treeClass { bg-color:#FF0000; }


    If you are lucky your overwritten value is used instead of the theme default.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Ok, thanks Dagfinn

      It did unfortunately not work. Strange, I could overwrite the table for the jsp page but not the tree class.

      I solved it in another way. What I did was to change the background of the tree to nothing and then changed the background color of the table to the correct background color.

      Though I will still have this problem when it comes to changing the text color. It does not always work with black font color (forinstance on the black background).

      So, is there anyone else out there who has any good idea. Please share it!

      Brgds// -Fred

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.