[Validator] - Strange behaviour and not validating

2002-11-21 Thread Axel Stahlhut
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/

[Validator] Not validating any more since update? - Urgent

2002-11-18 Thread Axel Stahlhut
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

DBCP borrowObject failed

2002-11-12 Thread Axel Stahlhut
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

Upload-Example problem, IllegalArgumentException

2002-11-08 Thread Axel Stahlhut
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

Re: Back Button Shown 'Page Expired' on IE ..... What really happens? ....

2002-09-11 Thread Axel Stahlhut
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,

[VALIDATOR] Validating Date with DynaValidator

2002-09-03 Thread Axel Stahlhut
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

Problems using the date-Validator with non required attributes

2002-09-01 Thread Axel Stahlhut
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

Reminding selected Objects in Struts

2002-08-21 Thread Axel Stahlhut
. 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

Problem validating dynamic Form with Validator-Framework

2002-07-31 Thread 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

DynaActionForm and reset method called always

2002-07-30 Thread Axel Stahlhut
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