File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes struts-layout - treeview Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts-layout - treeview" Watch "struts-layout - treeview" New topic

struts-layout - treeview

Leticia Barbalho
Ranch Hand

Joined: Sep 02, 2005
Posts: 37
Hello everyone,

I have a webapp that uses treeview from struts-layout. It is working perfectly and I'm happy with it.
The thing is that now I was required to put small swf files on the treenodes. Each treenode would be a swf file, which is simply a box with the name of the system module, with some flash effects.

I'm trying to do it like this:

Not working, though. The swf appears up in the page, above the tree. And the tree appears normally below, with the texts.

Is there any way of making a swf file a node of the tree? That would be really good.

If that is not possible, is it possible to show images (like gifs) as treenodes, instead of the text? I tried to do it like this:

Also didn't work. Maybe there's any other tag required?

If you have done this before or know how to do is, please answer.

Thanks in advance.
I agree. Here's the link:
subject: struts-layout - treeview
It's not a secret anymore!