File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

struts-layout - treeview

 
Leticia Barbalho
Ranch Hand
Posts: 37
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic