I assume you are using wicket 1.2.x, so the new tree.
You can change the colors using css, just look at the generated markup
to see what css applies for the tree. Same goes for width.

To customize images you need to use image references and override the
getFolderOpen(), getFolderClosed(), getItem() methods. Look at
DefraultAbstractTree to see how it's done.

-Matej

On 6/5/07, Saad, Salma <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I am using a wicket.extensions.markup.html.tree.Tree and
> need to change the background color and the image used for the folder. I
> also need to make it wider. Does anyone have an idea how I could do this?
>
>
> ________________________________
>
>
> CONFIDENTIAL: This e-mail, including its contents and attachments, if any,
> are confidential. It is neither an offer to buy or sell, nor a solicitation
> of an offer to buy or sell, any securities or any related financial
> instruments mentioned in it. If you are not the named recipient please
> notify the sender and immediately delete it. You may not disseminate,
> distribute, or forward this e-mail message or disclose its contents to
> anybody else. Unless otherwise indicated, copyright and any other
> intellectual property rights in its contents are the sole property of Mizuho
> Securities USA Inc.
>
> E-mail transmission cannot be guaranteed to be secure or error-free. The
> sender therefore does not accept liability for any errors or omissions in
> the contents of this message which arise as a result of e-mail transmission.
> If verification is required please request a hard-copy version.
>
> Although we routinely screen for viruses, addressees should check this
> e-mail and any attachments for viruses. We make no representation or
> warranty as to the absence of viruses in this e-mail or any attachments.
> Please note that to ensure regulatory compliance and for the protection of
> our customers and business, we may monitor and read e-mails sent to and from
> our server(s). ________________________________
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to