Tree2 isn't really doing anything with your images. It's just a container for other JSF components and they get rendered in the normal way. It shouldn't be any different then putting a GIF image in a <h:dataTable>.
sean On 12/8/05, sri <[EMAIL PROTECTED]> wrote: > Looks like the image format is making a difference, I have tried the images > (in png format) came with simple app in my page and that works fine. Why the > gif formatted images not working, is that how the tree2 is designed ? > > Srikanth > > > On 12/8/05, sri <[EMAIL PROTECTED]> wrote: > > Hi > > > > I have tested the simple application that works fine, I have copied the > tree2.jsp and related classes and images into my web application that works > fine too. But my page has this problem. The only difference is my images are > in gif format, the images in simple application are in png format. Will that > make a difference ? > > > > Thanks > > Srikanth > > > > > > > > On 12/7/05, Sean Schofield < [EMAIL PROTECTED]> wrote: > > > > That works with the icons that are in the jar file. What if I want to > use > > > > my own icons which are not in the jar file but are in a folder ? > > > > > > Use the @imageLocation attribute. You can also override the > > > javascript for the client side toggle using @javascriptLocation if you > > > really need to. > > > > > > > The other problem is that once a node is expanded and the expanded > icon is > > > > displayed it doesn't go back to the collapsed icon when the node is > > > > collapsed. > > > > > > That doesn't sound right. Did you try the simple examples first? > > > That's my recommendation to people who have trouble. If its working > > > in the simple example and not your own example then you know its not a > > > bug just a configuration issue. > > > > > > > Thanks > > > > > > sean > > > > > > > > >

