date validation problem

2004-03-16 Thread Jignesh Patel
On Tuesday 16 March 2004 21:03, Jignesh Patel wrote: When ever I am using method isDate of GenericValidator I am getting following error. Even for my date format 12-DEC-2004 I am getting same exception. I coudn't able to figure out what is the problem. -Jignesh

Re: Array of text fields generated dynamically - validation problem

2004-02-09 Thread Nafise Dianatizade
I have problem with array validation too, I can print the propety values in my action, but the validation doesn't work when I'm working with array type(ex. String[]). The validation of required rule returns no error when it's empty. Is there any special configuration for validating properties

Re: Array of text fields generated dynamically - validation problem

2004-02-08 Thread Shyam A
Hi, I use a String[] in my form bean to handle a dynamic array of text fields. In my ActionForm, I have private String[] candList; public String[] getCandList() { return candList; } public void setCandList(String[] aCandList) { candList = aCandList; } In my JSP,

RE: Validation problem

2004-02-03 Thread Jiin-Her Lu
mimicking this behavior in your validate method ?? Brian Barnett -Original Message- From: Nathan Pitts [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 4:16 PM To: Struts List Subject: Validation problem I am wondering how to solve the following problem with a minimal amount

Validation problem

2004-01-29 Thread Nathan Pitts
I am wondering how to solve the following problem with a minimal amount of recoding, and hope someone can give some input. I have a form the has three html:submit buttons -- Update, Cancel and Delete. I am using a LookupDispatchAction and an ActionForm with the validation in the validate()

RE: Validation problem

2004-01-29 Thread Robert Taylor
, 2004 6:16 PM To: Struts List Subject: Validation problem I am wondering how to solve the following problem with a minimal amount of recoding, and hope someone can give some input. I have a form the has three html:submit buttons -- Update, Cancel and Delete. I am using

RE: Validation problem

2004-01-29 Thread Barnett, Brian W.
not using the Struts Validator, maybe you could try mimicking this behavior in your validate method ?? Brian Barnett -Original Message- From: Nathan Pitts [mailto:[EMAIL PROTECTED] Sent: Thursday, January 29, 2004 4:16 PM To: Struts List Subject: Validation problem I am wondering how to solve

validation problem

2004-01-16 Thread Kelly Goedert
Hi, I'm trying to use the validator in a form that is used in as login form for authentication. And the fields are not being checked. I have this mapping on struts-config.xml !-- Form Bean Definitions -- form-beans form-bean name=loginForm

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
-Original Message- From: Kelly Goedert [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:25 AM To: Struts Users Mailing List Subject: validation problem Hi, I'm trying to use the validator in a form that is used in as login form for authentication. And the fields are not being

Re: validation problem

2004-01-16 Thread Kelly Goedert
/validator-rules.xml,/WEB-INF/validation.xml/ /plug-in greetings -Original Message- From: Kelly Goedert [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:25 AM To: Struts Users Mailing List Subject: validation problem Hi, I'm trying to use the validator in a form

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
what is about name=loginForm instead: name = loginForm (as action.-attribute)? but can´t be... ?!? -Original Message- From: Kelly Goedert [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:41 AM To: Struts Users Mailing List Subject: Re: validation problem Yes I did

Re: validation problem

2004-01-16 Thread Kelly Goedert
11:41 AM To: Struts Users Mailing List Subject: Re: validation problem Yes I did. It is exactly like your application. Matthias Wessendorf wrote: hi kelly, did you integrate it into struts-config? -- plug-in className=org.apache.struts.validator.ValidatorPlugIn set

Re: validation problem

2004-01-16 Thread Eric C
List [EMAIL PROTECTED] Sent: Friday, January 16, 2004 11:24 AM Subject: validation problem Hi, I'm trying to use the validator in a form that is used in as login form for authentication. And the fields are not being checked. I have this mapping on struts-config.xml !-- Form Bean Definitions

RE: validation problem

2004-01-16 Thread Matthias Wessendorf
To: Struts Users Mailing List Subject: Re: validation problem I'm sorry, I didn't get what you mean... could you explain? Matthias Wessendorf wrote: what is about name=loginForm instead: name = loginForm (as action.-attribute)? but can´t be... ?!? -Original Message- From: Kelly Goedert

Date validation problem?

2003-12-30 Thread Brice Ruth
I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my date fields throws an error that I can see in Firebird's JavaScript console. Here's the error: datePattern has no properties and here's the line it occurs on: for (x in oDate) { var

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
[mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing List Subject: Date validation problem? I'm testing the JavaScript validation for my form and noticed that the JavaScript generated to validate my date fields throws an error that I can see in Firebird's

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
the javascript datePattern var isn't a valid object. -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 9:55 AM To: Struts Users Mailing List Subject: Date validation problem? I'm testing the JavaScript validation for my form and noticed

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
-Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 10:44 AM To: Struts Users Mailing List Subject: Re: Date validation problem? Aha, so all I need to do is change datePattern to datePatternStrict in my XML? Andy Schmidgall wrote: datePattern

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
validation problem? Aha, so all I need to do is change datePattern to datePatternStrict in my XML? Andy Schmidgall wrote: datePattern doesn't work -- you must use datePatternStrict unless you modify the javascript validation function. This line is where the pattern is loaded: var

RE: Date validation problem?

2003-12-30 Thread Andy Schmidgall
:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Date validation problem? How exactly do I get server-side validation? Is this an XOR condition? Either javascript or server-side, but not both? Andy Schmidgall wrote: The javascript should work

Re: Date validation problem?

2003-12-30 Thread Brice Ruth
get slightly different results as they are supposed to act slightly differently. :) -Andy -Original Message- From: Brice Ruth [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 30, 2003 11:08 AM To: Struts Users Mailing List Subject: Re: Date validation problem? How exactly do I get server

Re: Validation: Problem with datePattern and JavaScript

2003-12-11 Thread Rouven Gehm
: Validation: Problem with datePattern and JavaScript It looks like the following line of code (in the date validator rule in validator-rules.xml) loads the pattern: var datePattern = oDate[x][2](datePatternStrict); As far as I can tell, nothing is ever loaded for plain datePattern, and this matches

Re: Validation: Problem with datePattern and JavaScript

2003-12-10 Thread Zakaria khabot
Hi, Do u have an example of using validate-rules.xml in a JSP file. Thanks - Original Message - From: Rouven Gehm [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, December 04, 2003 1:53 PM Subject: Validation: Problem with datePattern and JavaScript

RE: Validation: Problem with datePattern and JavaScript

2003-12-10 Thread Andy Schmidgall
, 2002 12:00 PM To: Struts Users Mailing List Subject: Re: Validation: Problem with datePattern and JavaScript Hi, Do u have an example of using validate-rules.xml in a JSP file. Thanks - Original Message - From: Rouven Gehm [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL

Validation: Problem with datePattern and JavaScript

2003-12-04 Thread Rouven Gehm
I want to know if someone has updated the javascript code in the validate-rules.xml, for the datePattern option ? Because the code i have from the Struts 1.1 zip only work with datePatternStrict !!! I have searched the user mailing list, for this problem, but not found any solution. Thanx

Re: preload validation problem

2003-11-19 Thread Rick Reumann
Nathan Maves wrote: I have an action that loads a collection into the request so that the for can get pre-loaded. The created form need to be validated. When the validator runs the request is sent back to the original form. Problem is that the data need to pre-load the form is gone from the

Re: struts 1.1 validation problem / question

2003-11-16 Thread Andreas Wuest
Hi Victor, thanks for you reply. the lookupdispatchaction does not really solve my problem, since handling the different actions is not the problem. the problems is the validation of the input fields for the different action. i need different validations depending on the value of the userAction

Re: struts 1.1 validation problem / question

2003-11-16 Thread Phil
, November 15, 2003 2:36 PM Subject: struts 1.1 validation problem / question Hi, i have a small problem / question concerning the struts 1.1 validation. i have a jsp form that has the following input fields : id name password userAction Depending on the userAction value (can be 'show

Upgrading to 1.1 final validation problem...

2003-09-27 Thread João Luz
Hi, I'm doing upgrade from 1.1 beta to 1.1 final and I found some problems with validation. In 1.1 final is not required to call explicitly validate when using DynaValidatorActionForm. This is great. But now when the page is not it sends a NullPointerException executing , and not uses the

RE: Upgrading to 1.1 final validation problem...

2003-09-27 Thread João Luz
to 1.1 final validation problem... Hi, I'm doing upgrade from 1.1 beta to 1.1 final and I found some problems with validation. In 1.1 final is not required to call explicitly validate when using DynaValidatorActionForm. This is great. But now when the page is not it sends a NullPointerException

multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Hi, I'm having problems when validating a multiform page. I have 4 forms on a single page and I've set up the validation framework for them. When I insert the html:javascript tag on the jsp page to create the dynamic code, it creates sth like this: script type=text/javascript

Re: multi-form page validation problem (client side)

2003-09-04 Thread Thomas Cornet
The html:javascript tag has a parameter named 'statisJavascript' which says if Struts has to render all static code (i.e. the validations functions). So, if you have several form in a page, you should write something like this : html:javascript formName=formA / html:javascript formName=formB

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Maybe I didn't make myself clear. This is not about the static code, but about the dynamic code. If you read my original posting, than you will see that I have put the static JavaScript already to false: html:javascript formName=frm_ccd_clm_Filter staticJavascript=false dynamicJavascript=true /

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
];)); } Cheers, Martin -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 17:35 To: Struts Users Mailing List Subject: Re: multi-form page validation problem (client side) The html:javascript tag has a parameter named 'statisJavascript

DynaForm mapped property client-side validation problem

2003-07-22 Thread Steve Caswell
Using Struts 1.1.0, I'm having a problem with client-side validation of a map-backed property on a DynaValidationForm. The Javascript fails because of naming the form field using the map syntax. Here is my configuration: I have the following DynaValidatorForm configured in struts-config.xml:

Re: validation problem

2003-06-17 Thread salgado . pc
] [EMAIL PROTECTED] Cc:(bcc: Pedroemanuel Salgado-PC/PGI) Subject: validation problem 17-06-2003 00:35

validation problem

2003-06-16 Thread Aleksandar Matijaca
Hi there, this is my first post! I have inherited a web-based struts project that is frankly a mess... I have managed to straighten out most things except something that is driving me nuts - this is the problem: Validation - I have 3 fields that need to be validated - if I do not enter

Re: validation problem

2003-06-16 Thread David Graham
Post the relevant section of your validation xml file and more info about your form. David Hi there, this is my first post! I have inherited a web-based struts project that is frankly a mess... I have managed to straighten out most things except something that is driving me nuts - this is

Re: validation problem

2003-06-16 Thread Aleksandar Matijaca
Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname depends=required,mask,minlength,maxlength arg0 key=eForm.firstname/ arg1 name=minlength

ValidatorBaseForm - Re: validation problem

2003-06-16 Thread Aleksandar Matijaca
The ValidatorBaseForm simply extends ValidatorActionForm - sorry I fergot to add that... On Mon, 16 Jun 2003, Aleksandar Matijaca wrote: Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname

Re: validation problem

2003-06-16 Thread David Graham
I believe the form name must be the same as what you defined in struts-config.xml. Try form name=eventRegistrationForm in your validation rules. David Well, this is what I inherited: formname=/public/EventRegistration fieldpage=1 property=registrant.firstname

Re: ValidatorBaseForm - Re: validation problem

2003-06-16 Thread David Graham
The ValidatorBaseForm simply extends ValidatorActionForm - sorry I fergot to add that... Oh, that might be why they used /public/EventRegistration as the form name. Try extending ValidatorForm and using the bean name defined in struts-config.xml instead. David On Mon, 16 Jun 2003,

RE: Validation Problem

2003-06-09 Thread Bailey, Shane C.
08, 2003 4:47 PM To: Struts Users Mailing List Subject: Validation Problem Hi! I now have a strange validation problem. I use this ActionForm class: package com.mycompany; import org.apache.struts.action.Action; import org.apache.struts.action.ActionMapping; import

Validation Problem

2003-06-08 Thread Thomas Miskiewicz
Hi! I now have a strange validation problem. I use this ActionForm class: package com.mycompany; import org.apache.struts.action.Action; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import

Re: Validation Problem

2003-06-08 Thread David Graham
] Reply-To: Thomas Miskiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Validation Problem Date: Sun, 8 Jun 2003 22:47:25 +0200 Hi! I now have a strange validation problem. I use this ActionForm class: package com.mycompany; import org.apache.struts.action.Action

Re: Validation Problem

2003-06-08 Thread Thomas Miskiewicz
David, Well, these validations have already been coded for you and can be configured in an xml file by using the Validator. I highly recommend you look into using the validator because it will save you a bunch of time. I'll do soon. I getting acquainted with Struts working with the book

Re: Validation Problem

2003-06-08 Thread Marco Tedone
Why don't you use html:text? Marco - Original Message - From: Thomas Miskiewicz [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 9:47 PM Subject: Validation Problem Hi! I now have a strange validation problem. I use this ActionForm class

Re: Validation Problem

2003-06-08 Thread David Graham
The author is incorrect. Check out http://jakarta.apache.org/struts/faqs/newbie.html#reset for more info. David Well, these validations have already been coded for you and can be configured in an xml file by using the Validator. I highly recommend you look into using the validator because

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread Jason Long
with same format and validation problem. I have an application that creates hundreds of jsp/struts form pages in xml format. All pages have the same input fields, except that there is a varying number of checkbox fields. I specified the following action: !-- Validate item config -- action

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread Dave Newton
I have no way of knowing all of the forwards. The pages are generated dynamically when a new inventory is uploaded. I just need a way to specify this in each jsp page. Could you just have the input page's path as a hidden form field and create a new ActionForward in the Action rather than

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread harish krishnaswamy
It has been recommended that ActionForm.validate() be used only for trivial validations like the input format, range etc. And these validations can be pushed to the browser and caught there instead. The other business validations are recommended to be done in the Action classes like its been

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread Jason Long
and validation problem. It has been recommended that ActionForm.validate() be used only for trivial validations like the input format, range etc. And these validations can be pushed to the browser and caught there instead. The other business validations are recommended to be done in the Action

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread Jason Long
, March 09, 2003 8:02 AM To: Struts Users Mailing List Subject: RE: Multiple forms with same format and validation problem. I have no way of knowing all of the forwards. The pages are generated dynamically when a new inventory is uploaded. I just need a way to specify this in each jsp page. Could

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread harish krishnaswamy
Supernova Software - supernovasoftware.com BS Physics, MS Chemical Engineering -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 8:02 AM To: Struts Users Mailing List Subject: RE: Multiple forms with same format and validation problem

RE: Multiple forms with same format and validation problem.

2003-03-09 Thread Jason Long
: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Sunday, March 09, 2003 3:57 PM To: Jason Long Subject: RE: Multiple forms with same format and validation problem. 1. request.getAttribute(page) is returning null and I cannot use the action form methods for inside this class even though it is being

Multiple forms with same format and validation problem.

2003-03-08 Thread Jason Long
I have an application that creates hundreds of jsp/struts form pages in xml format. All pages have the same input fields, except that there is a varying number of checkbox fields. I specified the following action: !-- Validate item config -- actionpath=/itemConfig

Client Side validation problem with Struts 1.1 RC1

2003-03-06 Thread Camper Richard D
I deployed the struts-validator.war file to both Tomcat 4.1 and Websphere 5.0 (via WSAD 5.0). I am not geting any client-side validation. When I viewing source via the browser for the jsRegistration.jsp page, I noticed that the page did not contain any of the validator java script that the

Validation problem

2003-02-20 Thread Johan Kumps
Hi all, I have a problem displaying error messages. Why is my message not displayed? Am I doing somthing wrong? Please help me, I'm loosing time with this one... Please consider following code : struts-config.xml : ... form-bean name='someForm' type='SomeForm' / ... action path='/something'

Re: Validation problem

2003-02-20 Thread alexj
have you try to restart tomcat ? - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 10:02 PM Subject: Validation problem Hi all, I have a problem displaying error messages. Why is my message

Re: Validation problem

2003-02-20 Thread Ian Hunter
with just html:errors/ - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:02 PM Subject: Validation problem Hi all, I have a problem displaying error messages. Why is my message not displayed

RE: Validation problem

2003-02-20 Thread Johan Kumps
Aan: Struts Users Mailing List Onderwerp: Re: Validation problem When you add your error message to the errors object, you are specifying Action.ERROR_KEY instead of ActionErrors.GLOBAL_ERROR -- so you'd have to do something like html:errors property=something/ to get that SPECIFIC error

Re: Validation problem

2003-02-20 Thread Ian Hunter
: Thursday, February 20, 2003 4:25 PM Subject: RE: Validation problem Thanks for your help. My jsp is displaying : ???nl_BE.error.invalid.email??? Still something wrong. It seems my key is not found. Can you help me again please? Kind regards, -Oorspronkelijk bericht- Van: Ian

RE: Validation problem

2003-02-20 Thread Johan Kumps
I implemented your second option. -Oorspronkelijk bericht- Van: Ian Hunter [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 20 februari 2003 22:35 Aan: Struts Users Mailing List Onderwerp: Re: Validation problem Did you switch to ActionErrors.GLOBAL_KEY or change your JSP code? 1

Re: Validation problem

2003-02-20 Thread Ian Hunter
Did the logic:notPresent tag cause your app to complain about not having the resources loaded? - Original Message - From: Johan Kumps [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, February 20, 2003 4:51 PM Subject: RE: Validation problem I

RE: Validation problem

2003-02-20 Thread Johan Kumps
no app did not complain -Oorspronkelijk bericht- Van: Ian Hunter [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 20 februari 2003 22:55 Aan: Struts Users Mailing List Onderwerp: Re: Validation problem Did the logic:notPresent tag cause your app to complain about not having the resources

Re: Validation problem

2003-02-20 Thread Ian Hunter
] Sent: Thursday, February 20, 2003 4:55 PM Subject: RE: Validation problem no app did not complain -Oorspronkelijk bericht- Van: Ian Hunter [mailto:[EMAIL PROTECTED]] Verzonden: donderdag 20 februari 2003 22:55 Aan: Struts Users Mailing List Onderwerp: Re: Validation problem Did

validation problem with JVM of j2sdk1.4.1_01

2002-12-13 Thread Iris
Hello, I've spend hours to find why my validation suddenly doesn't work. When I remembered that I've change my JVM j2sdk1.4.0 to j2sdk1.4.1_01, effectivly if when I put back the JVM j2sdk1.4, the validation works again. I doesn't find any bug report on this. Is anybody else had a validation

DispatchAction CRUD validation problem

2002-12-12 Thread adam kramer
I'd like to use a DispatchAction to handle the Create,Read,Update and Delete actions for an object. But I can't work Read into the mix because of the action-mapping configuration and the validation setting. I want form validation to be TRUE for C, U and D but FALSE for Read, else it never gets

Re: DispatchAction CRUD validation problem

2002-12-12 Thread V. Cekvenich
One way is to have validate=flase and in your CRUD events manually call validate(). .V adam kramer wrote: I'd like to use a DispatchAction to handle the Create,Read,Update and Delete actions for an object. But I can't work Read into the mix because of the action-mapping configuration and the

Struts file upload validation problem

2002-11-20 Thread Poynter, Stephen
I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists of the file field along with other text fields where the user enters various information( owner,

Re: Struts file upload validation problem

2002-11-20 Thread Martin Cooper
On Wed, 20 Nov 2002, Poynter, Stephen wrote: I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists of the file field along with other text fields

Re: Struts file upload validation problem

2002-11-20 Thread Mark Lepkowski
validation problem I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists of the file field along with other text fields where the user enters

Re: Struts file upload validation problem

2002-11-20 Thread Brian Hickey
: Struts file upload validation problem On Wed, 20 Nov 2002, Poynter, Stephen wrote: I have just written a document upload tool for a customer using the struts upload functionality. My upload jsp consists of one form that is of course a multipart/form-data form. The form consists

Re: Struts file upload validation problem

2002-11-20 Thread Eddie Bush
Brian Hickey wrote: Martin is correct :o) Also be aware that very very large files can exceed the setting of Java temp space (memory) allocation is some containers and crash them. One approach that works is to write a simple file upload script in Perl. This allows you to check content-type,

Re: Struts file upload validation problem

2002-11-20 Thread Martin Cooper
On Wed, 20 Nov 2002, Eddie Bush wrote: Brian Hickey wrote: Martin is correct :o) Also be aware that very very large files can exceed the setting of Java temp space (memory) allocation is some containers and crash them. One approach that works is to write a simple file upload script in

validation problem: limit on the number of fields allowed in a form

2002-11-19 Thread Daniel Bray (CAPE)
I have a strange problem involving the validation of fairly big forms. First a preamble: the form itself always has the same name, but the field that it's validating won't be known until runtime. There are 366 fields per version and there are at least four versions. I had tried to get around

RE: date validation problem

2002-10-11 Thread Peggy Davidson
and rebuild See thread: http://www.mail-archive.com/struts-user@jakarta.apache.org/msg40614.html Peggy -Original Message- From: Nicolas Robert [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:02 AM To: 'Struts Users Mailing List' (E-mail) Subject: date validation problem Hello, I

RE: date validation problem

2002-10-11 Thread Jerry Jalenak
To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: date validation problem If you search the archive you will find that there was a patch applied shortly after the beta 2 release for the StrutsValidator Class. I resolved mine by downloading the latest struts.jar only and it fixed

RE: date validation problem

2002-10-11 Thread Peggy Davidson
] -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Friday, October 11, 2002 9:03 AM To: 'Struts Users Mailing List' Subject: RE: date validation problem Which nightly did you bring down? I had the same problem, brought down the 20021008 nightly, and still had

date validation problem

2002-10-11 Thread Nicolas Robert
Hello, I use struts validator to check if a date that's not required has a correct format. It's working fine, but if the user leave the date field empty and submit the form, Struts generate an invalide date format error. Here's the sample of my validator.xml file : ... field

Form Bean Validation problem

2002-02-09 Thread cool dude
Hi, Here's a small problem that I'm facing. I have a form which has an integer field, say a cost of some item. Now, I need to do the validation for this form-field to make sure that the user does not enter a non-numeric data in this field. I have the form containing this field as a primitive

RE: Form Bean Validation problem

2002-02-09 Thread Robert Taylor
. That's just my preference. robert -Original Message- From: cool dude [mailto:[EMAIL PROTECTED]] Sent: Saturday, February 09, 2002 7:30 AM To: [EMAIL PROTECTED] Subject: Form Bean Validation problem Hi, Here's a small problem that I'm facing. I have a form which has an integer field

Re: Form Bean Validation problem

2002-02-09 Thread Pavel Nejedly
On Sat, Feb 09, 2002 at 04:29:46AM -0800, cool dude wrote: # Hi, #Here's a small problem that I'm facing. I have a # form which has an integer field, say a cost of some # item. Now, I need to do the validation for this # form-field to make sure that the user does not enter a # non-numeric

Re: Form Bean Validation problem

2002-02-09 Thread Ted Husted
As Robert mentioned, the best practice is to declare all the ActionForm properties as Strings or booleans. The purpose of the ActionForm is not to represent your business data. It is to serve as a buffer for the HTML controls. HTTP is String-based, and so the ActionForm properties need to be

Re: validation problem

2001-07-15 Thread Yuriy Zubarev
, Yuriy Zubarev - Original Message - From: David Winterfeldt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, July 14, 2001 8:48 PM Subject: Re: validation problem Is your bean:define inside your html:form tags? If the userForm doesn't exist, you would get a null pointer

Re: validation problem

2001-07-15 Thread Gregor Rayman
Yuriy Zubarev [EMAIL PROTECTED] wrote: David, Yes it is. I think that userForm exists after the validation process (otherwise I would have gotten an error earlier), but something is wrong with countriesList. The form is quite big so I'll post part of it. The problem might be that your

validation problem

2001-07-14 Thread Yuriy Zubarev
Salutation to everyne! I have a form (extends ActionForm) that has a property countriesList which holds a list of beans. In jsp form page I have a code: bean:define id=cl name=userForm property=countriesList/ which is executed without problems when the page is shown first time, but when I

Re: validation problem

2001-07-14 Thread David Winterfeldt
Is your bean:define inside your html:form tags? If the userForm doesn't exist, you would get a null pointer exception trying to call it. If this doesn't help, seeing the whole form might. David --- Yuriy Zubarev [EMAIL PROTECTED] wrote: Salutation to everyne! I have a form (extends