| Author |
Struts Validation - Disabled fields
|
Luke Zechariah
Ranch Hand
Joined: Sep 27, 2005
Posts: 106
|
|
Can we validate disabled fields in struts? Like there is a text box disabled but have to validate it. Has anyone done it? Thank you for your time. Lk.
|
 |
michelle Wang
Ranch Hand
Joined: Jan 12, 2004
Posts: 65
|
|
|
That disabled field is in a ActionForm right? If all your fields in an ActionForm, no matter it is enabled or disabled, you still can do validation in your Action, which is the server side. The disabled function only cared in JSP level,so should have no pbm.
|
michelle Wang <br />SCJP 1.4
|
 |
 |
|
|
subject: Struts Validation - Disabled fields
|
|
|