aspose file tools*
The moose likes Struts and the fly likes Disabling fields when radio button is selected Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Disabling fields when radio button is selected" Watch "Disabling fields when radio button is selected" New topic
Author

Disabling fields when radio button is selected

dhanya kairali
Greenhorn

Joined: Dec 28, 2000
Posts: 22
I have a radio button in my jsp page. On selecting it all the other fields in that page should be disabled. I dont want to implement this using javascript. What is the best thing I can do?
I am relatively new to Struts validation and Taglibraries, but I am assuming I should be using either of these.
Please give me some references/tips as to how I can implement this.
Craig Jackson
Ranch Hand

Joined: Mar 19, 2002
Posts: 405
I am new to struts, and I am not even sure you can do what your asking using
Struts validation and Taglibraries
but on the on the hand you asked
What is the best thing I can do?


I would suggest you reconsider using javascript.
 
Consider Paul's rocket mass heater.
 
subject: Disabling fields when radio button is selected