Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Ivan B
Thank you very much. This helped a lot. The problem was that I was using Tree.NODE_IMAGE_NAME for both getNodeImage and getJunctionImage. And, yes I understand this is not too efficient and a better approach would be to use packaged resources, but I had to punt on efficiency for the sake of th

Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Eelco Hillenius
Now with patch. On 10/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > I have checked it against head, but am not able to reproduce your > error. The atteched path works fine for me. You should consider using > packaged resources btw, drawing lot's of images seperately for the > tree component

Re: [Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Eelco Hillenius
I have checked it against head, but am not able to reproduce your error. The atteched path works fine for me. You should consider using packaged resources btw, drawing lot's of images seperately for the tree component is inefficient, and as the urls to those images are dynamic, the browser won't be

[Wicket-user] creating dynamic custom images for a tree node

2005-10-25 Thread Ibo Vanjer
I would like to create a dynamic tree node icons. What I've done is to override get*Image methods from the Tree (code snipper shown). Alas, I always end up with the the exception shown bellow. Can anyone provide any hints on this? ---CODE--- protected Image getNodeImage(DefaultMutableT