Problems with validator and IE 5.0

2005-06-28 Thread Lionel
Hi all! How can I use struts validator with IE 5.0 ? The "getAttributeNode" javascript function which is called to get the form name is not supported by IE 5.0. (using form.name would work...) Thanks. - To unsubscri

Re: Validator-rules.xml in localhost

2005-06-24 Thread Wendy Smoak
From: "Roberto" <[EMAIL PROTECTED]> > > Then, I modified the validator-rules.xml in the follow manner: >"-//Apache Software Foundation//DTD Commons Validator Rules > Configuration 1.1.3//EN" > "/WEB-INF/validator_1_2

Validator-rules.xml in localhost

2005-06-24 Thread Roberto
Hi, I work in localhost with Jboss. My validator-rules.xml had the follow code: "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";> When I deployed m

Re: [FRIDAY] ApplicationResources.properties vs Validator framework

2005-06-24 Thread Adam Hardy
t; To: "Struts Users Mailing List" Sent: Thursday, June 23, 2005 9:10 AM Subject: RE: ApplicationResources.properties vs Validator framework Your root problem is using Validator in the first place. (1) It is a bogus design from the start, and (2) it never has worked as advertised.

Re: ApplicationResources.properties vs Validator framework

2005-06-24 Thread James Mitchell
- From: "Mark Galbreath" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 23, 2005 9:10 AM Subject: RE: ApplicationResources.properties vs Validator framework Your root problem is using Validator in the first place. (1) It is a bogus design

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
All files are included -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 10:11 AM To: Struts Users Mailing List Subject: RE: ApplicationResources.properties vs Validator framework Just a sanity check, did you open up your war and ensured that the

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
is > > parameter="ApplicationResources"/> > > -Original Message- > From: Marsh-Bourdon, Christopher > [mailto:[EMAIL PROTECTED] > Sent: June 23, 2005 10:01 AM > To: 'Struts Users Mailing List' > Subject: RE: ApplicationResources.prop

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Only message-resources tag is -Original Message- From: Marsh-Bourdon, Christopher [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 10:01 AM To: 'Struts Users Mailing List' Subject: RE: ApplicationResources.properties vs Validator framework In that case does it contain (or pa

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Yes, under WEB-INF/classes -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 10:05 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Validator framework btw, where exactly is your ApplicationResources.properties located under

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
btw, where exactly is your ApplicationResources.properties located under WEB_INF/classes? --- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote: > Hi > > > > I have a strange problem. > > > > I have an application using validator on server side

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Nitish Kumar
une 23, 2005 7:28 PM To: Struts Users Mailing List Subject: RE: ApplicationResources.properties vs Validator framework yes -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 9:55 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Va

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Marsh-Bourdon, Christopher
: ApplicationResources.properties vs Validator framework yes -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 9:55 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Validator framework Does your web.xml contain the following as part of the action servlet

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Validator framework yes -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 9:55 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Validator framework Does your web.xml contain the following as part of the action servlet config

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
yes -Original Message- From: klute [mailto:[EMAIL PROTECTED] Sent: June 23, 2005 9:55 AM To: Struts Users Mailing List Subject: Re: ApplicationResources.properties vs Validator framework Does your web.xml contain the following as part of the action servlet config? application

Re: ApplicationResources.properties vs Validator framework

2005-06-23 Thread klute
Does your web.xml contain the following as part of the action servlet config? application ApplicationResources --- "Gilbert, Antoine" <[EMAIL PROTECTED]> wrote: > Hi > > > > I have a strange problem. > > > > I have an application using

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
: Struts Users Mailing List Subject: ApplicationResources.properties vs Validator framework Hi I have a strange problem. I have an application using validator on server side and client side (javascript), I have an ApplicationResources.properties with all my messages for erreor messages from

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
:44 AM To: user@struts.apache.org Subject: RE: ApplicationResources.properties vs Validator framework First thing that comes to mind is that you likely forgot to add the key to the resource.. Try adding the null="true" option to your resource declarations in struts-config.xml -O

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread jacob.willig
To: Struts Users Mailing List Subject: RE: ApplicationResources.properties vs Validator framework No Struts is trying to load application_fr_CA.properties, and anyway I have no application.properties, I have an ApplicationResources.properties. One more problem to go before the problem you tal

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
, 2005 9:38 AM To: 'Struts Users Mailing List' Subject: RE: ApplicationResources.properties vs Validator framework To me it seems, due to a different locale, your application is looking for ApplicationResources_fr_CA.properties you can try renaming your properti

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Nitish Kumar
logies Ltd Bangalore -Original Message- From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 6:09 PM To: Struts Users Mailing List Subject: ApplicationResources.properties vs Validator framework Hi I have a strange problem. I have an application using va

RE: ApplicationResources.properties vs Validator framework

2005-06-23 Thread Mark Galbreath
Your root problem is using Validator in the first place. (1) It is a bogus design from the start, and (2) it never has worked as advertised. ~mark -Original Message- From: Gilbert, Antoine [mailto:[EMAIL PROTECTED] Sent: Thursday, June 23, 2005 8:39 AM To: Struts Users Mailing List

ApplicationResources.properties vs Validator framework

2005-06-23 Thread Gilbert, Antoine
Hi I have a strange problem. I have an application using validator on server side and client side (javascript), I have an ApplicationResources.properties with all my messages for erreor messages from validations. All is working ok. But, I made a war file and deployed the application on

Re: validator and xdoclet

2005-06-22 Thread Nitesh
May be you could go to the URL get the required DTD and put the same in your WEB-INF Nitesh - Original Message - From: "roberto" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, June 22, 2005 6:14 PM Subject: Re: validator and xdo

Re: validator and xdoclet

2005-06-22 Thread roberto
Nitesh <[EMAIL PROTECTED]> ha scritto: > You could use >"-//Apache Software Foundation//DTD > Commons Validator Rules > Configuration 1.1.3//EN" > > "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";> > > Better sti

Re: validator and xdoclet

2005-06-22 Thread Nitesh
You could use "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd";> Better still you could get the latest struts jar from Jakarta struts and use the vlaidator

validator and xdoclet

2005-06-22 Thread roberto
Hi people, I'm an italian student and i have a problem with struts validator. I'm working in a universitary project based on standard j2ee for a web applicaton. This project works on jboss with struts, ejb, all handled with xdoclet. The deployment is made by Ant. I have a form writte

Re: Howto display errors when using Struts Validator - Thanks Nitest

2005-06-20 Thread Thai Dang Vu
Thanks Nitesh. will print all the error messages at one place. I needed each error message to go to the proper position (i.e. the error message for name must be next to the name text field). So I used . When I don't use struts validator, I would write something like this in the action

Re: Howto display errors when using Struts Validator

2005-06-17 Thread Nitesh
M Subject: Howto display errors when using Struts Validator Hello, I don't know how to display errors in the jsp input page when using Struts Validator. This is my case: - validation.xml ... mask

Howto display errors when using Struts Validator

2005-06-17 Thread Thai Dang Vu
Hello, I don't know how to display errors in the jsp input page when using Struts Validator. This is my case: - validation.xml ... mask ^(\d{3}-\d{3}-\d{4})|(\(\d{3}\) ?\d{3}

Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread Niall Pemberton
My mistake, the plumbing is in the DTD to do this (i.e. a className for a custom MessageResourcesConfig and the element) but the digester rules always create the standard MessageResourcesConfig and ignore any custom implementations specified in the className. However, even if that was fixed - the

Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
ough I've never actually tried it out. > > Niall > > - Original Message - > From: <[EMAIL PROTECTED]> > Sent: Thursday, June 16, 2005 8:03 PM > > > > I have a project where I want to use the Struts Validator. By default the > > error m

Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
I found the answer I was looking for. The solution is to set the "factory" attribute of the "message-resource" element in struts-config, like so: > I have a project where I want to use the Struts Validator. By default the > error messages are read from a pr

Re: Using Validator and getting MessageResource from a database

2005-06-16 Thread Niall Pemberton
sage - From: <[EMAIL PROTECTED]> Sent: Thursday, June 16, 2005 8:03 PM > I have a project where I want to use the Struts Validator. By default the > error messages are read from a properties file. However I'm required to > read the error messages from a database. The questio

Using Validator and getting MessageResource from a database

2005-06-16 Thread David . Pool
I have a project where I want to use the Struts Validator. By default the error messages are read from a properties file. However I'm required to read the error messages from a database. The question is how do I do this? I found this article http://www.informit.com/articles/article.

Re: Problem using indexed properties and validator framework (fixed)

2005-06-05 Thread Nitesh
ing indexed properties and validator framework In the struts-config.xml: In EditUsersAction.java execute method // get collection of users from the database Collection users = getUserBeans (); // put collection into form as an array for editing form.se

Re: Validator html:errors returns null for {0}

2005-06-05 Thread Titus Barik
Titus Barik wrote: But when I type an invalid e-mail address, in html:errors I always get: null is an invalid e-mail address. Figured it out. arg0 key refers to the key in the Properties file. -- Titus Barik ([EMAIL PROTECTED]) http://www.barik.net ---

Validator html:errors returns null for {0}

2005-06-05 Thread Titus Barik
Hi all, I'm trying to use the ValidatorForm feature of struts. I have a validation.xml: which I've copied straight from the struts tutorial that validates an e-mail address. I have a JSP page: <%@ taglib uri="/tags/struts-html" prefix="html" %> <%@ taglib uri=

Validator question

2005-06-03 Thread Lucas Bern
Hi all... I am trying to validate a form... public XForm extends ValidatorForm{ private YForm[] subForms; getters.. setters-- } public YForm extends ValidatorForm{ private String field; getters.. setters.. } I need to validate my XForm first validating each YForm in subForms... I mad

Re: Problem using indexed properties and validator framework

2005-06-03 Thread John Fitzpatrick
ohn Fitzpatrick" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Thursday, June 02, 2005 6:00 PM > Subject: Re: Problem using indexed properties and validator framework > > >> >> For an Array in a DynaForm property, you can either set the s

Re: Problem using indexed properties and validator framework

2005-06-03 Thread Nitesh
Re: Problem using indexed properties and validator framework For an Array in a DynaForm property, you can either set the size in the form-property descriptor or, in the case of a session form, pre-populate the Array in your action with the num

Re: Problem using validator framework

2005-06-03 Thread Nitesh
PM Subject: Problem using validator framework I'm trying to use the validator framework. for client and server side validations. I'm using Struts 1.1. I have in my struts-config.xml type="com.sample.forms.SampleDynaForm"> type="com.sample.actions.Use

Problem using validator framework

2005-06-03 Thread Nitesh
I'm trying to use the validator framework. for client and server side validations. I'm using Struts 1.1. I have in my struts-config.xml a form which look like... public class SampleDynaForm extends DynaValidatorForm { /** * Constructor

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
gt; > To: "Struts Users Mailing List" > Sent: Thursday, June 02, 2005 8:03 AM > Subject: Re: Problem using indexed properties and validator framework > > >> John, >> >> Thank you for the answer. >> >> I tried removing size with t

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
uot;John Fitzpatrick" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > Sent: Thursday, June 02, 2005 5:15 PM > Subject: Re: Problem using indexed properties and validator framework > > >> >> Looks like you've got a few issues. Let me

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Martin Gainty
ist" Sent: Thursday, June 02, 2005 8:03 AM Subject: Re: Problem using indexed properties and validator framework John, Thank you for the answer. I tried removing size with the form having session scope and it gave me java.lang.ArrayIndexOutOfBoundsExcep

Re: Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
trick" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, June 02, 2005 5:15 PM Subject: Re: Problem using indexed properties and validator framework Looks like you've got a few issues. Let me answer what I can and see if that helps: On 20050602 7:34

Re: Problem using indexed properties and validator framework

2005-06-02 Thread John Fitzpatrick
Looks like you've got a few issues. Let me answer what I can and see if that helps: On 20050602 7:34 AM, "Nitesh" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use the validator framework with dyna forms. > > In the JSP page I have a list of user

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
Hi, I'm trying to use the validator framework with dyna forms. In the JSP page I have a list of user details being listed for edit. I want this part to be validated on submit, and I intend to use validator framework with dynaforms. My Struts config looks

Problem using indexed properties and validator framework

2005-06-02 Thread Nitesh
Hi, I'm trying to use the validator framework with dyna forms. In the JSP page I have a list of user details being listed for edit. I want this part to be validated on submit, and I intend to use validator framework with dynaforms. My Struts config looks

Re: Validator, JavaScript, Quotation Mark

2005-05-26 Thread Niall Pemberton
; Sent: Thursday, May 26, 2005 5:14 PM Hello to all you gurus out there. I'm attempting to use the validator to prevent users from entering a quotation mark into a form field with the following mask: ^[^"]*$ The problem I'm running into is this...it works great on the server-side

Validator, JavaScript, Quotation Mark

2005-05-26 Thread Rod Morris
Hello to all you gurus out there. I'm attempting to use the validator to prevent users from entering a quotation mark into a form field with the following mask: ^[^"]*$ The problem I'm running into is this...it works great on the server-side but it's breakng my cl

RE: [Shale] Re: Javascript validator

2005-05-26 Thread Mariano Petrakovsky
ailto:[EMAIL PROTECTED] Enviado el: Miércoles, 25 de Mayo de 2005 01:55 Para: user@struts.apache.org Asunto: [Shale] Re: Javascript validator > I have a JSP like this: > > - > > > > > value=&quo

[Shale] Re: Javascript validator

2005-05-24 Thread Manfred Klug
orm(form) { return bCancel || true > && validateRequired.js,v(form) > ;} > function required() { > this[0] = new Array("content:testForm:currentconfig", "currentconfig is > required.", new Function("x", "return {}[x];")); > } > --

Re: simple Validator question

2005-05-24 Thread Andreas Toom
I haven't tried this but you shouldn't it be possible to use the 'attribute' attribute in your action mapping configuration ? /Andreas Riyaz Mansoor wrote: i saw a doc which had wondering if multiple forms could be declared like this? sorry but am t tired to test right no :) r

simple Validator question

2005-05-23 Thread Riyaz Mansoor
i saw a doc which had wondering if multiple forms could be declared like this? sorry but am t tired to test right no :) riyaz - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

[Shale] Javascript validator

2005-05-23 Thread Mariano Petrakovsky
true && validateRequired.js,v(form) ;} function required() { this[0] = new Array("content:testForm:currentconfig", "currentconfig is required.", new Function("x", "return {}[x];")); } -----

Re: Validator inheritance

2005-05-20 Thread Riyaz Mansoor
i asked this same question and the answer i got here is: this was added to Validator but not public release has been made after this. u can download a source distro of validator and compile and use it. > the above should work as is - i am using it :) riyaz Yaroslav Novytskyy wrote: Hi! D

Validator inheritance

2005-05-20 Thread Yaroslav Novytskyy
Hi! Does anyone know about the way to "inherit" (1) and "reuse" (2) validations for multiple forms in validation.xml Explanation: 1. I have a number of myForms: myForm1, myForm2, and so on they are of class MyForm (so they all have same fields) and I want them to validate the same. e.g. pro

Re: My OWN VALIDATOR

2005-05-14 Thread Metal KoRn
, org.apache.commons.validator.Validator validator, HttpServletRequest request){ //testing message System.out.println("ENTRO AL VALIDATOR"); return true; } MY VALIDATION XML is

Re: My OWN VALIDATOR

2005-05-12 Thread Metal KoRn
OK but I really dont know when to use all of them or some of them can u explain me thnx On 5/12/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > This is the same problem you had with your other custom validation method - > the parameters you've defined in the validation configuration file don't >

Re: My OWN VALIDATOR

2005-05-11 Thread Niall Pemberton
This is the same problem you had with your other custom validation method - the parameters you've defined in the validation configuration file don't match your method signature. http://www.mail-archive.com/user@struts.apache.org/msg26221.html http://www.mail-archive.com/user@struts.apache.org/msg2

Re: My OWN VALIDATOR

2005-05-11 Thread Metal KoRn
Hi Im having a problem with validators this is the error VALIDATION FAILED May 11, 2005 11:29:09 PM org.apache.struts.validator.ValidatorForm validate SEVERE: validator.FMValidator.validateList(java.lang.Object, org.apache.commons. validator.ValidatorAction, org.apache.commons.validator.Field, o

RE: Date validator does not ignore nulls

2005-05-06 Thread tarek.nabil
mpty field to make sure it's a date. But anyway, if this is the case, what do you suggest? In my validations.xml, I did not specify that this field depends on the required validation. I don't think changing the validator declaration would help, since the problem is with the code itself. T

Re: Validator not plugging in keyed values

2005-05-06 Thread Niall Pemberton
The "bundle" attribute in Commons Validator (i.e. in your validation.xml) is not supported in the current release of Struts (Version 1.2.4) which is why it isn't finding your values. This has now been implemented in the latest Struts version (version 1.2.7) which I announc

RE: Validator not plugging in keyed values

2005-05-06 Thread Allistair Crossley
Interestingly, then, when I remove the key from message-resources AND remove the bundle instruction from the html:messages tag, the whole thing works. I have to say, the whole struts validator stuff is a little unclear from the documentation. The

Validator not plugging in keyed values

2005-05-06 Thread Allistair Crossley
t being inserted into the {0} placeholder of the errors.required value. Like I say, everything is working in terms of the system spotting I have errors according to the rule, and the messages are being found by validator because it finds "is required". But the error is that is does not

Re: My OWN VALIDATOR

2005-05-05 Thread Niall Pemberton
You should have declared them in a element in your struts-config.xml - if you have it will find them. Niall - Original Message - From: "Metal KoRn" <[EMAIL PROTECTED]> Sent: Friday, May 06, 2005 3:48 AM OK I got it but i have a doubt with this errors.add(field.getKey(), Resources.getA

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
t: Friday, May 06, 2005 3:29 AM > > IT WORKS , but im not getting the error sent by the validator > > On 5/5/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > > As I said the method signatures don't match - you're missing the > "Validator"

Re: My OWN VALIDATOR

2005-05-05 Thread Niall Pemberton
9 AM IT WORKS , but im not getting the error sent by the validator On 5/5/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > As I said the method signatures don't match - you're missing the "Validator" > parameter. Change your config file

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
IT WORKS , but im not getting the error sent by the validator On 5/5/05, Niall Pemberton <[EMAIL PROTECTED]> wrote: > As I said the method signatures don't match - you're missing the "Validator" > parameter. Change your config file to the following: >

Re: My OWN VALIDATOR

2005-05-05 Thread Niall Pemberton
As I said the method signatures don't match - you're missing the "Validator" parameter. Change your config file to the following: Niall - Original Message - From: "Metal KoRn" <[EMAIL PROTECTED]> Sent: Friday, May 06, 2005 2:50 AM Thi

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
Hey guys Im having a bit of problems by applying my own validators. The thing is that I create my validator class, for testing reasons the calling method returns a false, this only for checkin if the validator is working good. But Im getting the following Exception. Im using Struts 1.2.4

Re: My OWN VALIDATOR

2005-05-05 Thread Metal KoRn
This is the code for the validator form public class ValidatorLicenciaMaestro implements Serializable{ public static boolean validateLicenciaMaestro(Object bean,ValidatorAction va, Field field,ActionMessages errors,org.apache.commons.validator.Validator validator,HttpServletRequest

Re: struts date validator

2005-05-05 Thread Erik Weber
Erik Weber <[EMAIL PROTECTED]> wrote:I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts "date" validator let 04/02/05 pass, but we are hoping that the validation fails

Re: Date validator does not ignore nulls

2005-05-05 Thread Dave Newton
tarek.nabil wrote: Although the validator declares that it depends on required, so (as far as I understand) that means it should not be triggered if the value is null or blank. Nevertheless, it is, and it shows the error that the date is invalid. I checked the source for the class that

Date validator does not ignore nulls

2005-05-05 Thread tarek.nabil
Hi everyone, For some sort of reason, I'm using Struts version 1.1b2. I have a search screen where the user can search using some date fields. I put the following field declaration in my validations.xml file datePattern ${dateFormat} The date validat

Drop down box and struts validator

2005-05-05 Thread Christoph Glanzmann
Hi all, I have a form which contains a couple of drop down boxes and i use the validator framework to verify the values. I set the given values for the drop down box in the request. My Problem is, that this variables after a failed validation are empty. What is the common solution for this

Re: My OWN VALIDATOR

2005-05-04 Thread Niall Pemberton
L PROTECTED]> To: Sent: Thursday, May 05, 2005 5:56 AM Subject: My OWN VALIDATOR Hey guys Im having a bit of problems by applying my own validators. The thing is that I create my validator class, for testing reasons the calling method returns a false, this only for checkin if the validato

My OWN VALIDATOR

2005-05-04 Thread Metal KoRn
Hey guys Im having a bit of problems by applying my own validators. The thing is that I create my validator class, for testing reasons the calling method returns a false, this only for checkin if the validator is working good. But Im getting the following Exception. Im using Struts 1.2.4

Re: struts date validator

2005-05-04 Thread Carl Smith
are using struts date validator, for some reason we found that the struts >"date" validator let 04/02/05 pass, but we are hoping that the validation >fails since 04/02/05 is not of format MM/dd/. > >Did you have the same issue? What is the correct way t

Re: struts date validator

2005-05-04 Thread Erik Weber
I think you want datePatternStrict instead of datePattern. Erik Carl Smith wrote: We are using struts date validator, for some reason we found that the struts "date" validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Di

struts date validator

2005-05-04 Thread Carl Smith
We are using struts date validator, for some reason we found that the struts "date" validator let 04/02/05 pass, but we are hoping that the validation fails since 04/02/05 is not of format MM/dd/. Did you have the same issue? What is the correct way to validate the date

validator - date validation

2005-04-29 Thread rmanchu
hi guys in validator, date validation is based on locale. i want to fix it to SQL type dates only; -mm-dd is there a way to do this? or do i write the rule? riyaz. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

TimeStamp validator

2005-04-26 Thread Rodolfo =?iso-8859-1?Q?Garc=EDa_Esteban=2FCYII?=
Hi, I´m using struts 1.2.4, I use GenericValidator.isDate(), when I try to validate with the pattern "dd/MM/" works well, but when I use the pattern "dd/MM/ hh:mm:ss", doesn't work well, it returns false when checks a valid string. How I can validate this pattern date?. Is there any t

Ssl+validator give me problems

2005-04-25 Thread kurt
Hi I'm trying to make a Struts project under Tomcat. I use ssl and it works. I use Validator too. Both works - but not together. Fx the index.jsp page has a and the action is "invoked" but the form has already been validated by the Validator - probably because some kind of

RE: struts 1.3 dev with validator 1.2 dev

2005-04-21 Thread Marsh-Bourdon, Christopher
! Cheers for all the suggestions. Christopher Marsh-Bourdon www.marsh-bourdon.com -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: 21 April 2005 11:04 To: Struts Users Mailing List Subject: Re: struts 1.3 dev with validator 1.2 dev The method signature on these

Re: struts 1.3 dev with validator 1.2 dev

2005-04-21 Thread Niall Pemberton
The method signature on these validators has changes - you need to deploy the updated validator-rules.xml with your app Niall - Original Message - From: "Riyaz Mansoor" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, April 21, 2005 10:57

struts 1.3 dev with validator 1.2 dev

2005-04-21 Thread Riyaz Mansoor
Hi guys sort of a repost - more details using Validator 1.2 (nightly build) on struts 1.3 dev build keep getting this error during validation. and not just for "required" but all checks. error is printed on the tomcat log standard out. further the action to which the form is su

RE: Struts Validator Illegal Argument Exception - Digester problem?

2005-04-20 Thread Liu, Benson
: Struts Validator Illegal Argument Exception - Digester problem? Looks like you have a mistakes in your DTD declaration in the struts-config.xml. Should be http://struts.apache.org/dtds/struts-config_1_2.dtd";> Niall - Original Message - From: "Liu, Benson" <[E

Re: Struts Validator Illegal Argument Exception - Digester problem?

2005-04-20 Thread Niall Pemberton
I'm working on a Struts/Tiles web app with Websphere 5.1.2 and Struts 1.2.4 I'm getting exceptions when trying to use the Validator framework. After debugging, it almost seems as if the strut-config.xml is not being properly digested. The property maps of the Plug-Ins are always null.

Struts Validator Illegal Argument Exception - Digester problem?

2005-04-20 Thread Liu, Benson
Hi, I'm working on a Struts/Tiles web app with Websphere 5.1.2 and Struts 1.2.4 I'm getting exceptions when trying to use the Validator framework. After debugging, it almost seems as if the strut-config.xml is not being properly digested. The property maps of the Plug-Ins are a

RE: Using checkbox value in Validator validwhen test

2005-04-19 Thread Dornback, Ken
value in Validator validwhen test It is a classic. Look on Ted Husted's website for tip. Basically, you need to clear checkbox value each time in the reset() method of a form bean, because cleared value is not sent to server. So you think that you cleared it, but it is still set (do you u

Re: Using checkbox value in Validator validwhen test

2005-04-19 Thread Michael J.
It is a classic. Look on Ted Husted's website for tip. Basically, you need to clear checkbox value each time in the reset() method of a form bean, because cleared value is not sent to server. So you think that you cleared it, but it is still set (do you use session-scoped form bean?) Michael Jou

Using checkbox value in Validator validwhen test

2005-04-19 Thread Dornback, Ken
Problem: I don't know how to test a checkbox setting in the validwhen test var-value. I have a checkbox and a text field. I only need to validate the text field when the checkbox is checked. I cannot get this to work using validwhen (other validwhens do work that use different types of tests).

Re: [contribution] Consecutive Date Validator

2005-04-14 Thread K.C. Baltz
Absolutely and of course. I based this validator on the TwoFields validator floating around. I never changed that property. I think laterDate would be my pick. dateBefore is a good choice as well. Thanks for the feedback, K.C. Dave Newton wrote: If this is going to get into the distro could

Re: [contribution] Consecutive Date Validator

2005-04-14 Thread Dave Newton
If this is going to get into the distro could we call secondProperty endDate "secondProperty" to 'laterDate' or 'endDate' or whatever to

Re: [contribution] Consecutive Date Validator

2005-04-14 Thread K.C. Baltz
jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "K.C. Baltz" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 13, 2005 5:43 PM Subject: [contribution] Consecutive Date Validator I had the need today to validate t

Re: Validator error messages from different resource files

2005-04-14 Thread David Whipple
| cc: (bcc: David Whipple/DTCC) | | Subject: Re: Validator error messages from different resource files | >--

Re: Check errors from validator

2005-04-13 Thread Rodolfo García Esteban/CYII
ers Mailing List" Para: Struts Users Mailing List cc: (cco: Rodolfo García Esteban/CYII) Asunto: Re: Check errors from validator and . On 4/13/05, Rodolfo García Esteban/CYII <[EMAIL PROTECTED]> wrote: > Hi, > > How I can known if I have obtai

Re: [contribution] Consecutive Date Validator

2005-04-13 Thread James Mitchell
Freelance EdgeTech, Inc. 678.910.8017 AIM: jmitchtx Yahoo: jmitchtx MSN: [EMAIL PROTECTED] - Original Message - From: "K.C. Baltz" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, April 13, 2005 5:43 PM Subject: [contribution] Consecutive Date

<    8   9   10   11   12   13   14   15   16   17   >