on the ValidatorForm. Since server-side validation has to be
done anyway, it's not like this detracts from the functionality.
-Adam
Jeremy Jardin wrote:
-Adam,
first, thanks for all those explications. but I've still a problem with
my
validator using 'validwhen'.
I've seen first, that I don't
Jeremy Jardin wrote:
-Adam,
I've just changed my conf like that :
field property=enterpriseName
depends=validwhen
arg0 key=error.inscription.entreprise.nom /
var
var-nametest/var-name
var-value
1,2,3,4, the enterpriseName field will always be valid.
Give that a whirl and let us know.
cheers,
-Adam
Jeremy Jardin wrote:
-Adam,
I've just changed my conf like that :
field property=enterpriseName
depends=validwhen
arg0 key
;
}.
/script
on your select tag call this function
html:select property=subscriptionType styleId=inscrit
styleClass=form onchange=ChangeUrl(this.value)
you do not need to modify another section of code ..
hope this help ..
Regards
Irwan
On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote:
hum,
I
var-value
(((subscriptionType !=1)AND(*THIS*!=null)) OR
(subscriptionType==1))
/var-value
/var
/field
but it still doesn't work..
On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote:
-Irwan,
Thank you myuch for your help, but I
)
validateDate(form) validateEmail(form);
return (formValidationResult);
}
}
Maybe should I see a validateValidWhen(form) method should'nt I ?
On 7/26/06, Jeremy Jardin [EMAIL PROTECTED] wrote:
I've change my validwhen rule into this :
field property
Hi,
I'm trying to use struts plugin validator to check a big form.. and it works
well.. but I've a little pb with validwhen constraint;
I've written something like this :
field property=enterpriseName
depends=validwhen
arg0
Strings using inequalities...
Hope this helps.
-Adam
Jeremy Jardin wrote:
Hi,
I'm trying to use struts plugin validator to check a big form.. and it
works
well.. but I've a little pb with validwhen constraint;
I've written something like this :
field property=enterpriseName
!
What class is your sapinscription.form.StartSubscriptionForm extending?
-Richard
-Original Message-
From: Jeremy Jardin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 3:05 AM
To: user@struts.apache.org
Subject: pb using validator it does not work !
Hi,
I'm trying
Hi,
I'm trying to use validator plugin in my application, and it does not work
at all !
First, I've just add html:errors/ in my jsp.
I've written a basic validation.xml file like this :
form name=StartSubscriptionForm
field property=name depends=required
arg0 key=inscription.nom/
ValidatorForm !
On 7/20/06, Yee, Richard K CTR DMDC [EMAIL PROTECTED]
wrote:
What class is your sapinscription.form.StartSubscriptionForm extending?
-Richard
-Original Message-
From: Jeremy Jardin [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 20, 2006 3:05 AM
To: user
Jeremy Jardin wrote:
Hi,
I'm trying to use validator plugin in my application, and it does not
work
at all !
First, I've just add html:errors/ in my jsp.
I've written a basic validation.xml file like this :
form name=StartSubscriptionForm
field property=name depends=required
arg0
12 matches
Mail list logo