Hello Dera All,
I am resending this request as I could not ascertain whether it is delivered to user
group or not
-Udaya
Dear All,
Validation requiredif worked fine in my project
when using Struts 1.1 RC1
I upgraded or using now struts 1.1.
suddenly the requiredif validation is not working.
So
The format of the variable names changed before Struts 1.1 final.
In your validator, try replacing your var-names field-test[0] and
field-value[0] with fieldTest[0] and fieldTest[0], respectively.
You can see this format in the example at
.
Thank you very much
-Udaya Allu
-Original Message-
From: Greg Ludington [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 17, 2003 11:25 AM
To: Udaya Allu; [EMAIL PROTECTED]
Subject: RE: Problem in validation requiredif in struts 1.1 that worked
fine in Struts 1.1 RC1
The format
This can be validated using the basic validators provided by the struts
framework itself.
just specify the validators you want (like required, minLength, maxLength etc)
in the validatior-rules.xml
and associate this with your form using the validation.xml file.
Sriman Venkatasubbu , Tidel Park -
I am very new to struts...
In my jsp page i am creating dynamic form elements.I want to validate those
form elements by using validator.xml.
Is it possible to validate dynamic text boxes(form elements) ?If it is
possible ,how can i configure in validator.xml.
Thanks
Sriman
I am able to get copyProperties to work with BeanUtils and PropertyUtils
using version 1.5 of commons beanutils.
1. i am using DynaValidatorForm.
2. i have a BeanInfoClass for my bean providing the PropertyDescriptors.
try replacing the commons-beanutils.jar with the latest version(1.5) of
Hello!
First, sorry for my poor english, but I'm a german...
I'm using Struts 1.0.2 and my problem is described as the following:
-- my inputData.jsp: -
%@ page import=org.apache.struts.action.Action%
%@ taglib
Not sure I understand but maybe this is your problem...
Is this because you are letting struts call your form bean's validate() method?
If your action is putting data in the request for your jsp to display it will be lost.
Then you should set validate=false call validate from your action
8 matches
Mail list logo