This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to design a tree like structure in struts2

 
ravi kanth
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic