Does the Struts Validator work with DynaActionForms?

2003-12-16 Thread Anderson, James H [IT]
I see that to setup server-side vaildations one must extend the ValidatorForm or ValidatorActionForm class, but for dynamic form support one must extend the DynaActionForm class... - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Validator for dates

2003-12-12 Thread Joe Hertz
Damn, I hate when I keep finding answers right after I post. Not supported in 1.1 -Joe "Never Mind" - Emily Litella > -Original Message- > From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 6:07 PM > To: 'Struts Users Mailing List&#x

RE: Validator for dates

2003-12-12 Thread Joe Hertz
From: Joe Hertz [mailto:[EMAIL PROTECTED] > Sent: Friday, December 12, 2003 4:48 PM > To: 'Struts Users Mailing List' > Subject: Validator for dates > > > I want to have a date entry validated using the date format > based on the locale. > > When datePatte

Validator for dates

2003-12-12 Thread Joe Hertz
I want to have a date entry validated using the date format based on the locale. When datePattern is unspecified (what Struts in Action led me to believe would accomplish the above goal), I get no javascript validations to happen. With some experimentation, I find that I get no javascript popups

Re: Clientside Javascript Validator Problem

2003-12-04 Thread Clark Kent
ickSearchAction" scope="request" name="searchForm" input="/researchHome.jsp" validate="true"> path="/quickSearchResult" type="com.arena.skylla.struts.research.actions.QuickSearchResultAction" scope="request"

Clientside Javascript Validator Problem

2003-12-04 Thread Neil Mitchell
Hi all I am unable to get validation working in the clientside. It's fine with serverside but will not validate on the clientside. Here are my config files and jsp any help would be welcomed. Cheers in advance JSP <[EMAIL PROTECTED] file="includes/struts_imports.jsp" %>

Re: Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread Rouven Gehm
? - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 03, 2003 12:49 PM Subject: Validator: Unwanted Client side AND Server side validation > Hi, > > When using client side validation the form is submitted regardless of Javascri

RE: Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread Andy Schmidgall
happened to me a few times. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 03, 2003 5:50 AM To: [EMAIL PROTECTED] Subject: Validator: Unwanted Client side AND Server side validation Hi, When using client side validation the form is

RE: Struts validator with Date property ???

2003-12-03 Thread Ramachandiran, Karuna
aruna -Original Message- From: Mauricio T. Ferraz [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 02, 2003 1:10 PM To: Struts Users Mailing List Subject: Struts validator with Date property ??? In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have prope

Validator: Unwanted Client side AND Server side validation

2003-12-03 Thread inaminute
misconfiguring something but cannot find out what it is. Validation works as expected Server side. I am using Struts 1.1 with the bundled Validator together with Scaffold 1_0. Any idea welcome, Patrick - To unsubscribe, e-mail: [EMAIL

Validator a property java.util.Date is possible??

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argumen

Struts validator with Date property ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... I got java.lang.IllegalArgumentException: argumen

validator java.util.Date object ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts? Or I just can have properties "Strings" ??? in my textfiels on form??? In the Struts' webapps has a example, the use only String to input of data... Thanks, for help.

Validator with a property java.util.Date ???

2003-12-03 Thread Mauricio T. Ferraz
In my Form a hava a property java.util.Date, I can use the validator Struts?Or I just can have properties "Strings" ??? in my textfiels on form???In the Struts' webapps has a example, the use only String to input ofdata...I got java.lang.IllegalArgumentException

RE: Struts-Validator & Websphere

2003-12-02 Thread John . Pitchko
BDY.RTF Description: RTF file - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Struts-Validator & Websphere

2003-12-02 Thread Rouven Gehm
Hi, i'm working with WSAD 5.0 to program some webapps with the builtin Struts 1.1 Beta. Now i want to use the Struts Validator, but as the builtin WSAD Struts Version doesn't support it and doesn't give me a validator-rules.xml, i want to replace it with the latest Struts releas

Re: Textarea validation, using validator and mask

2003-12-01 Thread Arne Brutschy
I wrote: I'm trying to use the validator with a regexp mask on an textarea field. There are two problems: 1) even if the regexp allows empty strings and the field is not required, the validator reports that the field is invalid. same mask works for a simple text input. 2) I'm

Validator datePattern difficulties

2003-12-01 Thread Andy Schmidgall
Hello, For my webapp I need to make sure a date is in the form 'mm/dd/yy', but I haven't been able to achieve this with the struts validator (I only need the javascript to work for now). All the examples I can find use 'MM/dd/' or 'MM-dd-'. If I switch

Textarea validation, using validator and mask

2003-12-01 Thread Arne Brutschy
Hello, I'm trying to use the validator with a regexp mask on an textarea field. There are two problems: 1) even if the regexp allows empty strings and the field is not required, the validator reports that the field is invalid. same mask works for a simple text input. 2) I'm try

Check for required when using validator

2003-12-01 Thread Arne Brutschy
Hello, is there any possibility to check from an jsp page (or custom tag) for the requiredness of a property? I'm using the validator. When I specify the property as "required" in the validator.xml, I want to display a small red star behind the input field on the page. Is his poss

Re: AW: Struts Validator with special characters

2003-11-27 Thread Arne Brutschy
Hello, Thursday, November 27, 2003, 3:11:40 PM, Samuel wrote: SOBtsc> do This: SOBtsc> SOBtsc> SOBtsc> alphanumeric SOBtsc> ^[a-zA-Z0-9\.\ü\Ü\ä\Ä\ß\ö\Ö\-]*$ SOBtsc> SOBtsc> SOBtsc> alphanumericSP SOBtsc> ^[a-zA-Z0-9\.\ü\Ü\ä\Ä\ß\ö\Ö\-\ ]*$ SOBtsc> SOBtsc> Same thing,

AW: Struts Validator with special characters

2003-11-27 Thread Samuel . Opoku-Boadu
\-\ ]*$ -Ursprüngliche Nachricht- Von: Arne Brutschy [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. November 2003 12:20 An: [EMAIL PROTECTED] Betreff: Struts Validator with special characters Hello, I found a problem with the struts validator. It seems that it is not possible to use special characters

ValidWhen validator

2003-11-27 Thread Deepak
Hi, Is there a stable Struts release after 1.1 ? If Yes, what is the version and does it have ValidWhen Validator support ? regards Deepak

Struts Validator with special characters

2003-11-27 Thread Arne Brutschy
Hello, I found a problem with the struts validator. It seems that it is not possible to use special characters (like german "Umlaute") in an regular expression.. I tried this: name ^[\-\'\`\´\.\ a-zäöüßáéíúóàèìùòâêîôûñA-ZÄÖÜÁÉÍÓÚÀÈÌÒÙÑ]+$ Hans Mueller

Validator and Float Validation

2003-11-25 Thread Carl Walker
Hello, I'm having a problem using the Validator and the 'float' validation. My problem is that the Validator doesn't seem to work if I enter text (letters) into the html:text box. I am using the tag for error messages. In my struts-config.xml file, I have the follo

Type "double" does not work in the validator.

2003-11-24 Thread Laurent MARQUEZ
Hi, I am using struts 1.1 Is anybody using validator with type "double"? It' s not working, but "integer" or "float" works. Why? - --

RE: Struts & Validator question

2003-11-24 Thread LACKEY,DAVID (HP-PaloAlto,ex1)
to access either. Both can be reached in the http://localhost:8080/app_root directory. I have looked at this too long so I may not be seeing something but I did go through the exercise validating each of the configuration items against a couple of struts books and the Validator document on the

RE: Validator Backend Issues

2003-11-24 Thread David Friedman
Joe, When using a Struts Validator based on the Action name, you usually need to add the 'method="validateSomeName"' because the Struts Validator wants to use the exact name in your validation xml file. In your case, that is "/Login" which matches your action. S

RE: Validator Backend Issues

2003-11-24 Thread Joe Hertz
> From: David Friedman [mailto:[EMAIL PROTECTED] > Sent: Monday, November 24, 2003 2:03 AM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: RE: Validator Backend Issues > > > Joe, > > Nope. I was writing to you about that but you found your > solution

RE: Struts & Validator question

2003-11-24 Thread David Friedman
November 24, 2003 1:58 AM To: Struts Users Mailing List Subject: Struts & Validator question All, I posted this a few hours ago on the jakarta-commons list and have not come up with a solution yet. I decided to commit the sin of x-posting it here since this may very well be a struts issu

RE: Validator Backend Issues

2003-11-24 Thread David Friedman
s: ... I also got stuck on this when I first started using the Struts Validator. I hope this explanation helps. Regards, David -Original Message- From: Joe Hertz [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 2:07 AM To: 'Struts Users Mailing Li

Struts & Validator question

2003-11-24 Thread LACKEY,DAVID (HP-PaloAlto,ex1)
something simple. I have installed Tomcat 4.1.29 and Struts 1.1 with the Validator included. I have configured my installation as follows struts-config.xml: . . . . . . . . . Validation.xml

RE: Validator Backend Issues

2003-11-23 Thread Joe Hertz
sers Mailing List' > Subject: Validator Backend Issues > > > I'm probably misunderstanding this woefully. Hope someone can > set me straight. > > For my login, I'm using a UserLoginForm class that extends > DynaValidatorActionForm. The Action class i

Validator Backend Issues

2003-11-23 Thread Joe Hertz
the tag,I get no javascript validations happening, which I would expect, but I also find that I *never* get any back end validation checks happening. Nothing shows up where the tag was. Is there something I have to do to get the validator to do it's magic outside of the

RE: Validator Framework & Value Object ActionForm

2003-11-21 Thread Steve Armstrong
Hi, I assume that you would just validate on the nested form property named "contactValue.email". Cheers, -Steve -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, November 20, 2003 4:38 AM To: [EMAIL PROTECTED] Subject: Validator Framewo

Validator Framework & Value Object ActionForm

2003-11-20 Thread harm
public void setEmail( java.lang.String email ) { this.email = email; emailHasBeenSet = true; } I would like to use the Validator Framework to validate the emailaddress stored in the ValueObject. I'm not sure on how to do this, because the email property is stored in the Va

RE: Validator with integer

2003-11-19 Thread Yansheng Lin
Can you turn off 'request a receipt' when you post to a public newsgroup next time? Thanks. To answer your question: Validator does not work with primitive type in older versions, if I remember correctly. I think they fixed it in the newer version, but not sure. -Original Message

Validator with integer

2003-11-19 Thread Sharmila Pandith
Hi, My Validator does not seem to work with integer. Here is my form: public class ContentReleaseForm extends ValidatorForm { private int contentReleaseID = -1; private String contentReleaseName; private String month; private String day; private

RE: NoClassDefFoundError in custom validator

2003-11-16 Thread Rob van Oostrum
TECTED] > Subject: NoClassDefFoundError in custom validator > > > I added the commons validator to my Struts implementation. The > out-of-the-box stuff is working just fine. However, I added the following > custom validator: > > public class BarnmanValidator implements Serializable { >

RE: NoClassDefFoundError in custom validator

2003-11-14 Thread Rob van Oostrum
; -Original Message- > From: Rob van Oostrum [mailto:[EMAIL PROTECTED] > Sent: November 14, 2003 6:11 PM > To: [EMAIL PROTECTED] > Subject: NoClassDefFoundError in custom validator - To unsubscribe, e-mail: [EMAIL PR

NoClassDefFoundError in custom validator

2003-11-14 Thread Rob van Oostrum
I added the commons validator to my Struts implementation. The out-of-the-box stuff is working just fine. However, I added the following custom validator: public class BarnmanValidator implements Serializable { public static boolean validateEmailAddress(Object bean, Field field) { [etc, etc

Re: Validator Que

2003-11-14 Thread Jeffrey Beck
hello everyone...is there some secret to getting struts 1.1 to work with weblogic server and JSTL ? Probably not. Can someone please help? Thanks, Jeff I'm running weblogic 7.0 SP4, with jdk131_08 I unpacked the struts-blank.war file from the struts 1.1 binary distribution and copied it to a ne

Validator Que

2003-11-14 Thread Anand M S
Hi All, Is there anyway we can do text area length validation using validaor? if user enters the data in text area if its more that 300 characters, then it should throw error? any ideas? Thanks in advance Anand _ MSN 8 helps elimin

Validator Que

2003-11-14 Thread Anand M S
Hi All, Is there any way to validate the length of the text area using validaor? Thanks, Anand _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail -

How can I put a field's value in a Validator message?

2003-11-13 Thread Yee, Richard K,,DMDCWEST
I would like to include a field's value in my Validator custom error message. In my validation.xml file, I have a msg tag defined with a key="someProperty.errorMessage". In my application.properties file, I have defined my someProperty.errorMessage property as follows: someProper

Validator and Indexed Properties

2003-11-13 Thread Robert Taylor
As of March 14, 2003 it appears that Struts/Commons validation does not support indexed properties as such: I have a collection of objects A where each A has some properties, call them p1, p2, and p3. I want to validate field p3 for each object A in the collection. Is this currently possible with

Validator and Javascript

2003-11-12 Thread Sezmillenium
Hi, I have a problem with javascript client-side. I have two forms in one jsp page. But, I include tag for everyone.This is the code: With form "SaludoForm" I don't have any problem. But, "UserInfoForm" don't validate the data in the client-side and send the request to server and this res

Struts Validator + Cross Locale Validations.

2003-11-11 Thread Vara Prasad Reddy
Using Struts validator how can I do cross locale validations? Meaning, I want the validation to be done on one locale, but the error message should be from other locale. Example, The validation should be according to de-DE locale, but the error message should be of en-CA Thanks in Advance, Vara

Validator - Multiple Applicaiton Modules

2003-11-09 Thread Senthivel U S
Greetings, We have multiple modules (Sub application) in a application. Each module has its own struts-config file and validation file . The problem is in the application modules last loaded application module only getting validated rest other modules are not getting validated. So we forced to co

RE: validator, range

2003-11-06 Thread Budi Rostiarso
I've used constants before, for date format pattern and maxlength. And looks like i'm using the appropriate validator afterall. So, maxInt is 2147483647. Can you give me the exact maxFloat value...? hehe...just kidding. Thanks Dave. -Original Message- From: David Friedm

RE: validator, range

2003-11-05 Thread David Friedman
} -Original Message- From: Budi Rostiarso [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 10:19 PM To: [EMAIL PROTECTED] Subject: validator, range Hi all, quick question on validation: Can we setup validator with rules like "x must be equal or gr

validator, range

2003-11-05 Thread Budi Rostiarso
Hi all, quick question on validation: Can we setup validator with rules like "x must be equal or greater than 8", just to limit the lower bound ? Currently, i use the range validator, which means i have to specify the lower and upper bound, right? Any clues and pointers appreciated. Thanks.

Indexed Properties & Struts Validator

2003-11-03 Thread Frederic Dernbach
I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP ,valdiation.xml file and form : Upon submission of the JSP's fo

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
ot;orderNumber" > indexedListProperty="parameter" > depends="required,integer,positive"> > > > > You have specified it as > indexedListProperty="parameters" > > Plz Verify your validation.xml. > > -Vijay >

Re: Struts Validator with Indexed Properties

2003-11-03 Thread Vijaykumar
Hi Frederic, I thing in validation.xml u must provide your setting as You have specified it as indexedListProperty="parameters" Plz Verify your validation.xml. -Vijay Frederic Dernbach wrote: I would like to know how to use the Struts Validator with indexed properties

Struts Validator with Indexed Properties

2003-11-03 Thread Frederic Dernbach
I would like to know how to use the Struts Validator with indexed properties. I cannot display error messages under the field (but the validator obviously works and performs validation). Below is the relevant parts of my JSP and of my valdiation.xml file : Upon submission of the JSP's fo

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Yes, I agree, you are right. > -Original Message- > From: Saul Q Yuan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 29, 2003 2:14 PM > To: 'Struts Users Mailing List' > Subject: RE: validator for check box > > > This situation happens when the c

RE: validator for check box

2003-10-29 Thread Saul Q Yuan
stent implementation and make them required regardless. I just ran into this situation. Saul -Original Message- From: Jayaraman Dorai [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 2:00 PM To: Struts Users Mailing List Subject: RE: validator for check box Been using an

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Been using an older version of validator-rules, which I had customized and so the multi-check box wasn't working. Required for a single-checkbox is not need for an application, since you are compelling the user to have that one choice selected. If you have only one check box and that t

RE: validator for check box

2003-10-29 Thread Saul Q Yuan
I just submitted a bug and submitted a patch as well for this problem. Basically, the validator (javascript part) works fine for multiple checkboxes and radio buttons, but doesn't for a single checkbox or a single radio button. I modified the validateRequired method as below, you'

RE: validator for check box

2003-10-29 Thread Jayaraman Dorai
Does any one have any ideas or have written code to validate that at least one item is selected on the check box? Would be interested in the javascript code for the same. On the server side, I can do that validation on the action form, though doing it through struts validator will be the ideal

Re: Validator. key: {0} doesn't display.

2003-10-29 Thread kimbuba
Hi Adam. Thnx for answering. I'll try with no config and than incrementally i'll see what's goin on. Thnx! > Hi Kimbuba, > I had this error too when I first set up Validator, but unfortunately I > can't remember what it was. I suspect it is some small configuration

Re: Validator. key: {0} doesn't display.

2003-10-29 Thread Adam Hardy
On 10/29/2003 03:15 AM kimbuba wrote: hello all! i don't know if i've found a bug or i made a mistake. I set up a validator. All works but the key to be display on forms in case of errors. ---i have my app divided into modules. ---on my main config file i have resource message: The one

Validator. key: {0} doesn't display.

2003-10-28 Thread kimbuba
hello all! i don't know if i've found a bug or i made a mistake. I set up a validator. All works but the key to be display on forms in case of errors. ---i have my app divided into modules. ---on my main config file i have resource message: The one i use for Form Errors. inside it, i

RE: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Nicholas L Mohler
IL PROTECTED]> <[EMAIL PROTECTED]cc:

RE: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Vara Prasad Reddy
: Re: Indexed Properties + Validator + JavaScript Hi Vara, I have implemented client-side validations for indexed properties, but I have done it through custom validators. Look through the archive for a thread titled "Validation of Indexed properties". I describe how I imple

Re: Indexed Properties + Validator + JavaScript

2003-10-28 Thread Nicholas L Mohler
bs.net> Subject: Indexed Properties + Validator + JavaScript

Indexed Properties + Validator + JavaScript

2003-10-28 Thread Vara Prasad Reddy
The validations for indexed properties are not fired on the client side, they are fired on the server side only. Is there a way I can do that on the client side. I am working on a PO screen with many line items. Regards Vara Prasad --

validator for check box

2003-10-27 Thread Jayaraman Dorai
Would like to validate that the user selects at least one option in the check box which was created using html-multibox. The struts-validator is not validating the required for a check box. Is there any code for validating the check box or am I missing something? Thanks Jayaraman

ActionMessage and the Validator

2003-10-26 Thread nn
I read that the ActionErrors and ActionError classes will be deprecated by ActionMessage and ActionMessages.. Question 1: How will this influence the signature for a validator which today has ActionErrors as one of the parameters: (java.lang.Object

Validator error (Struts nightly build)

2003-10-19 Thread Marc Dugger
I'm receiving the following exception: line 1:30: unexpected char: '0' at org.apache.struts.validator.validwhen.ValidWhenLexer.nextToken(ValidWhenLexe r.java:236) at antlr.TokenBuffer.fill(TokenBuffer.java:69) at antlr.TokenBuffer.LA(TokenBuffer.java:80) at antlr.LL

RE: only Strings appear to be validated by Validator [SOLUTION]

2003-10-16 Thread Marc Dugger
--Original Message- > From: Barry Volpe [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 16, 2003 5:09 PM > To: Struts Users Mailing List; [EMAIL PROTECTED] > Subject: Re: only Strings appear to be validated by Validator > > > I only have experience using the following in my va

Re: only Strings appear to be validated by Validator

2003-10-16 Thread Barry Volpe
I only have experience using the following in my validator.xml: integer and float are in the validator-rules.xml They do work. The struts-validator.war in the struts 1.1 release uses this in the example Barry - Original Message - From

only Strings appear to be validated by Validator

2003-10-16 Thread Marc Dugger
My validation.xml: test ((noteScheduleTypeId != 5) or (*this* != null))

Re: Validator

2003-10-16 Thread Barry Volpe
validator-rules.xml most of the generic validation is here. You need to add your forms to validation.xml here is an example: phone ^\(?(\d{3})\)?[-| ]?(\d{3})[-| ]?(\d{4})$ zip ^\d{5}\d*$ zip ^\d{5}(-\d{4

Validator

2003-10-16 Thread Shawn . Rummel
I am trying to use Struts validator and am running into some problems. Are there any good step-by-step instructions? I have Struts in Action and tried to follow the chapter concerning Validator but I didn't get the desired results and am not sure where to begin in tracing what I may have

TR: validator

2003-10-16 Thread Gilbert, Antoine
Basicly i want to use base message to a different bundle.. -Message d'origine- De : Gilbert, Antoine Envoyé : 16 octobre, 2003 11:59 À : [EMAIL PROTECTED] Objet : validator How i can set my validator to use a specified bundle (other than Application.properties) for a field

validator

2003-10-16 Thread Gilbert, Antoine
How i can set my validator to use a specified bundle (other than Application.properties) for a field rule ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: Validator question for radio buttons.

2003-10-16 Thread Saul Q Yuan
r 16, 2003 10:35 AM > To: [EMAIL PROTECTED] > Subject: Validator question for radio buttons. > > I have 3 radio buttons representing a property called > paymentdetail.paymentTypeId, like this > name="paymentOptions" align="center"> >

Validator question for radio buttons.

2003-10-16 Thread mohan
Purchase Order Number and in the validation.xml i am doing this The validator does not check if the field has been chosen or not. Please let me know if any one knows about this problem Thanxs --Mohan

validator

2003-10-16 Thread Gilbert, Antoine
hi I'm trying to use the validator framework of struts for the first time. (with struts 1.1) I'm unable to make a noob example working.. I have a single form calling SaveAsAction with a SaveAsForm SaveAsForm is extending ValidatorForm I added this in my struts-config

Re: Validator vs. XForms

2003-10-15 Thread Craig R. McClanahan
Stephan Wiesner wrote: ? The validator lets me set rules for the input fields in my forms. So does XForms. There are already tools to generate the necessary JavaScript for that (IBM Alphaworks) or to validate the input on the Server (Chiba) and display errors. The challenge for XForms is

Re: Validator vs. XForms

2003-10-15 Thread Stephan Wiesner
? The validator lets me set rules for the input fields in my forms. So does XForms. There are already tools to generate the necessary JavaScript for that (IBM Alphaworks) or to validate the input on the Server (Chiba) and display errors. Stephan Yansheng Lin wrote: Sorry, I don't get it

RE: Validator vs. XForms

2003-10-15 Thread Yansheng Lin
Sorry, I don't get it. It has nothing to do with the Validator Any pointers appreciated! -Original Message- From: Stephan Wiesner [mailto:[EMAIL PROTECTED] Sent: October 15, 2003 11:49 AM To: Struts Users Mailing List Subject: Validator vs. XForms What is the future o

Validator vs. XForms

2003-10-15 Thread Stephan Wiesner
What is the future of the Validator, concerning the now finalized XForms specification? As I understand it, both do about the same. Will there be a kind of merge? Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Required checkbox field & Validator

2003-10-15 Thread Saul Yuan
Try \- and \s or \s+ for multiple spaces. Saul > -Original Message- > From: Erez Efrati [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 10:05 AM > To: 'Struts Users Mailing List' > Subject: RE: Required checkbox field & Validator > >

Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
Sorry, don't know. Someone else will have to answer this. Adam On 10/15/2003 04:04 PM Erez Efrati wrote: Forgive me for abusing this thread but... by the way how do you insert a '-' and chars into a validator mask regular expression? Erez -Original Message- From: Ada

RE: Required checkbox field & Validator

2003-10-15 Thread Erez Efrati
Forgive me for abusing this thread but... by the way how do you insert a '-' and chars into a validator mask regular expression? Erez -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 3:55 PM To: Struts Users Mailing List S

RE: Required checkbox field & Validator

2003-10-15 Thread Shah, Prashant (Controllers, IT)
Shah 860-547-4947 -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 9:52 AM To: Struts Users Mailing List Subject: Re: Required checkbox field & Validator Sorry, no idea! I was just taking a wild guess. I thought a mask was a reg

Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
r 15, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Required checkbox field & Validator On 10/15/2003 02:23 PM Erez Efrati wrote: I have a DynaActionForm with a boolean field representing a checkbox field which must be checked before processing the form. I've tried marking him a

Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
't work I guess I'd have to write one of my own. Erez -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Required checkbox field & Validator On 10/15/2003 02:23 PM Erez Efrati wr

RE: Required checkbox field & Validator

2003-10-15 Thread Erez Efrati
ECTED] Sent: Wednesday, October 15, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Required checkbox field & Validator On 10/15/2003 02:23 PM Erez Efrati wrote: > I have a DynaActionForm with a boolean field representing a checkbox > field which must be checked before processing

RE: Required checkbox field & Validator

2003-10-15 Thread Erez Efrati
ay, October 15, 2003 3:02 PM To: Struts Users Mailing List Subject: Re: Required checkbox field & Validator On 10/15/2003 02:23 PM Erez Efrati wrote: > I have a DynaActionForm with a boolean field representing a checkbox > field which must be checked before processing the form. I

Re: Required checkbox field & Validator

2003-10-15 Thread Adam Hardy
On 10/15/2003 02:23 PM Erez Efrati wrote: I have a DynaActionForm with a boolean field representing a checkbox field which must be checked before processing the form. I've tried marking him as depending on 'required' but that didn't do it and the server side FieldChecks.validateRequired () of Strut

Re: requiredif validator

2003-10-15 Thread Adam Hardy
On 10/15/2003 01:47 PM Erez Efrati wrote: Oops, sorry, what I wanted to know is about 'requiredWhen'. Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 11:12 AM To: 'Struts Users Mailing List' Subject: requiredif

Required checkbox field & Validator

2003-10-15 Thread Erez Efrati
Hi, I have a DynaActionForm with a boolean field representing a checkbox field which must be checked before processing the form. I've tried marking him as depending on 'required' but that didn't do it and the server side FieldChecks.validateRequired () of Struts just let it pass. Going into the

RE: requiredif validator

2003-10-15 Thread Erez Efrati
Oops, sorry, what I wanted to know is about 'requiredWhen'. Erez -Original Message- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2003 11:12 AM To: 'Struts Users Mailing List' Subject: requiredif validator Hi, I am using the validator

requiredif validator

2003-10-15 Thread Erez Efrati
Hi, I am using the validator 1.02 that came with Struts 1.1. How do I get the 'requiredif' validator to work? Or is it not included? Thanks, Erez - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

RE: validator

2003-10-14 Thread Joe at Team345
ot;users") then you can just put "userDate" there. hth > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 14, 2003 3:59 PM > To: [EMAIL PROTECTED] > Subject: validator > > > Hello all: > > I'm

AW: validator

2003-10-14 Thread Matthias Wessendorf
Hi, Use this datePatternStrict dd.MM. -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 14. Oktober 2003 21:59 An: [EMAIL PROTECTED] Betreff: validator Hello all: I'm having problems using the Validator plugin to check a

<    1   2   3   4   5   6   7   8   9   10   >