This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Struts and the fly likes form visibility Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "form visibility" Watch "form visibility" New topic
Author

form visibility

James Norris
Greenhorn

Joined: Oct 21, 2011
Posts: 1
Firstly I'd like say that I'm very new to both Java and Struts2, so forgive me if I ask anything stupid.

What I am trying to do is build a form where the visibility of the textfields, select boxes, etc, vary dependant upon what has been selected in the form beforehand.

Here is the code I have on the jsp page.



Whilst ultimately I would like to change the visibilities of further select boxes, for beginning I have just been trying to produce the word 'hey' dependant on the value selected in the personInvolved select box

Any help would be greatly appreciated, thanks
 
Don't get me started about those stupid light bulbs.
 
subject: form visibility