GeeCON Prague 2014*
The moose likes Struts and the fly likes How to design a tree like structure in struts2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to design a tree like structure in struts2" Watch "How to design a tree like structure in struts2" New topic
Author

How to design a tree like structure in struts2

ravi kanth
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
Hi,
i have a requirement,please go thru once.
i want to design a struts2 UI like this
ex :
ABC
|_BBC
|_CNN.
when i click on ABC it has to show child tabs under it.And ABC (BBC,CNN also)is the value in messages.properties file
when i click on child BBC it will show a page regarding BBC information in right pane..

please help to solve this issue ASAP.

Thanks & regards,
tvnrrk..
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I'd suggest you use the s:tree tag. Below is a link to the documentation:

http://struts.apache.org/2.1.6/docs/tree.html


Merrill
Consultant, Sima Solutions
 
 
subject: How to design a tree like structure in struts2