• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to pass values from struts select tag to another struts tag?

 
Philip Zac
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,

I have a jsp page that uses struts 2 tags. I am wondering how to hide / display the textfields based on the value of the select tag. For example. Lets say there is a list having A, B and C. I get the value from the action class, say B. Based on this value B, the textbox is hidden or not...

Any Idea on how I implement it???

here is my jsp page.....
Please note that function hideOthers() will work only when we click on the select box......




Thanks in Advance....
Green horn
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic