| Author |
Struts validator framework-validwhen
|
Abhijit Sarkar
Greenhorn
Joined: Apr 16, 2006
Posts: 20
|
|
Hi, For long I've been trying to use the validwhen validation from Struts framework but never got it working, Can anyone help me by showing a piece of working code which uses validwhen? Thanking in anticipation.
|
 |
Ravi Seshu
Ranch Hand
Joined: Mar 19, 2005
Posts: 38
|
|
HI, validation show be called or must set in action mapping...ok by default validation is set to true only, so..., u can invoke it in action class taking the form bean object validate method... -eswar
|
 |
Abhijit Sarkar
Greenhorn
Joined: Apr 16, 2006
Posts: 20
|
|
Hi, I'm not sure you understood my problem-I'm using Struts own validator framework. Hence neither any validation coding is required in the action class nor the validate method of the concerned form bean is required. To add, all other validations are working fine except the validwhen.
|
 |
Abdul Gafoor
Greenhorn
Joined: Nov 22, 2005
Posts: 11
|
|
|
I attached work this one
|
 |
Abdul Gafoor
Greenhorn
Joined: Nov 22, 2005
Posts: 11
|
|
|
I will attach working code. please send me your mail id.
|
 |
 |
|
|
subject: Struts validator framework-validwhen
|
|
|