Hi.
I encounter a strange behaviour of the Struts-Validator (Struts 1.1b2):
In validator.xml I set up the following rules:
field property=glEmpId
depends=required,long
arg0 key=ab/
arg1 key=error.required/
/field
field property=name
depends=required
arg0 key=global.name/
arg1 key=error.required/
Hi.
After updating struts and all common libs (including common-validator) from
nightly-build 2002-07-31 to nightly-build 2002-11-11 (and later on
nightly-build 2002-11-18, too), all our forms usually validated by the
Struts-Validator-Framework are not validated any more. It seems as if all
that
Hi.
I'm having a problem with the Commons-Pool. Using Struts NightlyBuild from
2002-11-11, I have a DataSource configured in my struts-config:
data-source type=org.apache.commons.dbcp.BasicDataSource
key=org.apache.struts.action.DATA_SOURCE
set-property
Hi.
I want to work with file uploads into DB or into the filesystem. After
installing the struts-upload-example, I tested it. If there is a file
selected in the form or there is some dummy-text in the hml:file - tag (no
path to an existant file), everything works fine.
If I submit the form
I encountered this problem/strange behaviour because simply the cache of IE
was full. Deleting the Temporary Internet Files solved it.
Maybe that helps.
Axel
- Original Message -
From: Trieu, Danny [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Sent: Tuesday,
Sorry for posting this one again, but its a bit urgent and maybe i have a chance
marking it as a post concerning [Validator].
Validating a Date with the Struts-Validator Framework works fine, but if the field i
want to validate is not a required field and may be empty, the validator always
With the Struts-Validator Framework i want to validate a Date.
This works fine, but if the field i want to validate is not a required field and may
be empty, the validator always reports an error, even if if i remove the
depends=required.
Do i have to implement the Validator-class in a way
.
What is the best way in Struts to remember the selected objects? Writing them into the
session is fine, but wehen exactly do i best remove the attributes then? Any other
ideas?
Thanks for your help
Axel Stahlhut
Hi, I've gfot problems with the validation Framework. (Struts 1.1b)
If i try to validate a DynaValidatorForm I get the following error:
java.lang.NullPointerException
at
org.apache.struts.action.DynaActionForm.getDynaProperty(DynaActionForm.java:539)
at
Hi.
I switched to Struts1.1 beta now and I wonder if there is a way to avoid the framework
from resetting the DynaActionForm on every request. This is because i reshow the view
to the user to commit the data. The, in the second request, which is not send by a
form, i wnat to insert the values
10 matches
Mail list logo