Re: is it possible to define a validation that runs only server side or client side (validation.xml )

2004-03-25 Thread ruben
? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] hi, if you want to call th javascript validation you only have to call the function validateLoginForm(form); if you don't call this function, client side validation is not called

is it possible to define a validation that runs only server side or client side (validation.xml )

2004-03-25 Thread Seyhan BASMACI \(Internet Yazilimlari Yetkilisi\)
I have a LoginForm form extends ValidatorForm and I want to decide a validaton runs only on the server or client side, (or both ) is there any way to do this_? - To unsubscribe, e-mail: [EMAIL PROTEC

Server side Validation

2004-03-23 Thread Joao Batistella
Hello. I'm using the Validator framework to validate user input and I'm having some problems. I've configured my form validation in the correct file. The Javascript validation works fine but when I disable javascript validation to see the server side validation behavior, I

Re: Validation Question with Indexed Properties

2004-03-22 Thread Craig Tataryn
friendly *bump* On Sun, 21 Mar 2004 18:12:54 -0600 (CST), "Craig Tataryn" wrote: > > Hi, I have the following definition in my validation.xml file: > > > > property="provStateId" > indexedListProperty="address" >

Validation Question with Indexed Properties

2004-03-21 Thread Craig Tataryn
Hi, I have the following definition in my validation.xml file: I then have a form that is built like so: <% addressIndex = "address(" + region.getKey() + ")"; %> . . . This generates HTML that looks like:

Re: validwhen validation question

2004-03-19 Thread Mah R
Is it possisble to use validwhen for date fields like comparing dates? Brendan Richards <[EMAIL PROTECTED]> wrote: I'm looking at using validwhen for a complex validation. I've got a value that can either be ignored when another parameter is set or is valid when it's a

HowTo logical date validation

2004-03-18 Thread Frank Schaare
Hi all, i´m looking for some kind of 'logical date validation' which means that dates like '2004-02-31' are filtered out and sent back to input page. Has anyone ever done this before (i´m sure you have ;-)) ? Are there any sites dealing with this problem ? t

validwhen validation question

2004-03-18 Thread Brendan Richards
I'm looking at using validwhen for a complex validation. I've got a value that can either be ignored when another parameter is set or is valid when it's a date. A simple date validation would be something like this: datePatterndd-MM- Can a validwh

Re: Validator: Validation based on action path and not by form name

2004-03-18 Thread Axel Groß
egards > Kamakshya > > -Original Message- > From: Adam Hardy [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 18, 2004 7:19 PM > To: Struts Users Mailing List > Subject: Re: Validator: Validation based on action path and not by form > name > > Kamakshya, >

[partly answered] Re: Validator: Validation based on action path and not by form name

2004-03-18 Thread Axel Gross
: > Hi All, > > Is it possible for validation.xml to take action path attribute instead > of form name for putting javascript validation rules for a page? > > I am having a page with lot of buttons, each mapping to a particular > action path. I want to validate the scr

RE: Validator: Validation based on action path and not by form name

2004-03-18 Thread Prasad, Kamakshya
Subject: Re: Validator: Validation based on action path and not by form name Kamakshya, if you use the ValidatorActionForm instead of the ValidatorForm, then you can do this. Adam On 03/18/2004 08:26 AM Prasad, Kamakshya wrote: > Hi All, > > Is it possible for validation.xml to ta

Re: Validator: Validation based on action path and not by form name

2004-03-18 Thread Adam Hardy
Kamakshya, if you use the ValidatorActionForm instead of the ValidatorForm, then you can do this. Adam On 03/18/2004 08:26 AM Prasad, Kamakshya wrote: Hi All, Is it possible for validation.xml to take action path attribute instead of form name for putting javascript validation rules for a

Validator: Validation based on action path and not by form name

2004-03-17 Thread Prasad, Kamakshya
Hi All, Is it possible for validation.xml to take action path attribute instead of form name for putting javascript validation rules for a page? I am having a page with lot of buttons, each mapping to a particular action path. I want to validate the screen elements based on these action paths

Validator: Validation based on action path and not by form name

2004-03-17 Thread Prasad, Kamakshya
Hi All, Is it possible for validation.xml to take action path attribute instead of form name for putting javascript validation rules for a page? I am having a page with lot of buttons, each mapping to a particular action path. I want to validate the screen elements based on these action paths

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 > > > ava.lang.IllegalArgum

Re: validation

2004-03-16 Thread Axel Groß
chüss derweil, Axel On 2004-03-16 at 08:29:11 +0100, Otto, Frank wrote: > Sorry, I use struts 1.1, but commons-validaton is version 1.0.2 > > -Ursprüngliche Nachricht- > Von: Axel Gross [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 16. März 2004 08:22 > An: Struts U

AW: server side date validation

2004-03-16 Thread Andreas Solarik
I guess if one really, really wanted to, one could perform the validation in java using something along the lines of the SimpleDateFormat class. Though I do see the advantage of letting the validator handle the chore for you. Andreas -Ursprüngliche Nachricht- Von: Anderson, James H [IT

AW: validation

2004-03-15 Thread Otto, Frank
Sorry, I use struts 1.1, but commons-validaton is version 1.0.2 -Ursprüngliche Nachricht- Von: Axel Gross [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 16. März 2004 08:22 An: Struts Users Mailing List Betreff: Re: validation hi! I don't if you problem is related to your version, d

Re: validation

2004-03-15 Thread Axel Gross
hi! I don't if you problem is related to your version, do you really need struts 1.0? struts 1.1 you'll find under: http://jakarta.apache.org/site/binindex.cgi On 2004-03-16 at 07:50:22 +0100, Otto, Frank wrote: > Thanks for your answer, but it doesn't function. > >

AW: validation

2004-03-15 Thread Otto, Frank
Thanks for your answer, but it doesn't function. I use struts-validation 1.0.2. Perhaps is this the problem? I don't find a newer version on jakarte site. With nightly build it didn't validate my form. The same proplem I have with struts-config.xml. If I use bundle="alte

RE: server side date validation

2004-03-15 Thread Anderson, James H [IT]
date validation Can anybody give me example code to validate date towards server side? -Jignesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

server side date validation

2004-03-15 Thread Jignesh Patel
Can anybody give me example code to validate date towards server side? -Jignesh - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

AW: SV: Form Validation

2004-03-15 Thread Andreas Solarik
onally, right? Andreas -Ursprungliche Nachricht- Von: Christoph Kutzinski [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. Marz 2004 14:48 An: Struts Users Mailing List Betreff: Re: SV: Form Validation Max Cooper wrote: > If the hacker thinks that 7 character passwords may be allowed, they mi

Re: SV: Form Validation

2004-03-15 Thread Christoph Kutzinski
D]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 5:06 AM Subject: Re: SV: Form Validation Joe Hertz wrote: Check the Bugzilla. I believe it works in the tag, but you won't get a javascript popup. If memory serves, there's a

Re: SV: Form Validation

2004-03-15 Thread Jignesh
Ok Christophe, Guide me what part of validation-rule.xml, I will modify to make it validate clientside. Jignesh Patel Bang Software Technologies Pvt Ltd [EMAIL PROTECTED] (O) 022 –28304761 Ext. 17 022- 28343742 Ext. 17

Re: SV: Form Validation

2004-03-15 Thread Max Cooper
the registration form) to no security consequences. -Max - Original Message - From: "Christoph Kutzinski" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Monday, March 15, 2004 5:06 AM Subject: Re: SV: Form Validation > Joe

Re: SV: Form Validation

2004-03-15 Thread Christoph Kutzinski
ing a front end validation that tells a cracker how long his randomly guessed password attempts must be". What should be the problem with this? You are only telling him, how long they must be AT LEAST. Nothing about how long the can be at most. If you would say, it can be dangerous to expose

Re: SV: Form Validation

2004-03-15 Thread Jignesh Patel
Ok then what is the solution, you mean to say I will handle through back end only. Also in validation-rule.xml what I need to modify. -Jignesh On Monday 15 March 2004 16:32, Joe Hertz wrote: > Check the Bugzilla. I believe it works in the tag, but you > won't get a javascript po

RE: validation

2004-03-15 Thread Shobhana.S, ASDC Chennai
- From: Otto, Frank [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 6:08 PM To: Struts-User (E-Mail) Subject: validation Hi, is there any possibility to use another resource bundle in validaton.xml? Or can I set somewhere which resources validation should use? Regards, Frank

validation

2004-03-15 Thread Otto, Frank
Hi, is there any possibility to use another resource bundle in validaton.xml? Or can I set somewhere which resources validation should use? Regards, Frank

Re: SV: AW: Form Validation

2004-03-15 Thread Jignesh Patel
nde- > Från: Jignesh Patel [mailto:[EMAIL PROTECTED] > Skickat: den 15 mars 2004 12:00 > Till: Struts Users Mailing List; Otto, Frank > Ämne: Re: AW: Form Validation > > R u passing input value in struts-config. > If implement as per mail say it has to work. > > On Monda

SV: AW: Form Validation

2004-03-15 Thread Nina Bertilsdotter
I'm not sure I understand what you mean -Ursprungligt meddelande- Från: Jignesh Patel [mailto:[EMAIL PROTECTED] Skickat: den 15 mars 2004 12:00 Till: Struts Users Mailing List; Otto, Frank Ämne: Re: AW: Form Validation R u passing input value in struts-config. If implement a

Re: SV: Form Validation

2004-03-15 Thread Joe Hertz
Check the Bugzilla. I believe it works in the tag, but you won't get a javascript popup. If memory serves, there's a security concern about using minlength in password fields -- basically the logic goes something like, "Do you really want to be providing a front end validati

RE: Form Validation

2004-03-15 Thread Budi Rostiarso
luding the key and value. happy debugging :) -Original Message- From: Nina Bertilsdotter [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 5:45 PM To: 'Struts Users Mailing List' Subject: SV: Form Validation Sorry, yes, it does extend ValidatorForm : ) -Ursprungligt

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
Yeah, I've tried both. I use my form bean across several actions, that's why I tie the validation to the action instead of the form bean. -Ursprungligt meddelande- Från: Otto, Frank [mailto:[EMAIL PROTECTED] Skickat: den 15 mars 2004 11:54 Till: 'Struts Users Mailing

Re: AW: Form Validation

2004-03-15 Thread Jignesh Patel
ECTED] > Gesendet: Montag, 15. März 2004 11:42 > An: 'Struts Users Mailing List' > Betreff: SV: Form Validation > > > > No, it extends ValidatorActionForm. > > -Ursprungligt meddelande- > Från: Otto, Frank [mailto:[EMAIL PROTECTED] > Skickat: den 15 ma

AW: Form Validation

2004-03-15 Thread Otto, Frank
I use ValidatorForm, but I think it's not the solution. -Ursprüngliche Nachricht- Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. März 2004 11:42 An: 'Struts Users Mailing List' Betreff: SV: Form Validation No, it extends ValidatorActionForm. --

Re: SV: Form Validation

2004-03-15 Thread Jignesh Patel
orm : ) > > -Ursprungligt meddelande- > Från: Otto, Frank [mailto:[EMAIL PROTECTED] > Skickat: den 15 mars 2004 11:41 > Till: 'Struts Users Mailing List' > Ämne: AW: Form Validation > > Does your form class extend the ValidatorForm? > > -Ursprüngliche Nachr

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
Sorry, yes, it does extend ValidatorForm : ) -Ursprungligt meddelande- Från: Otto, Frank [mailto:[EMAIL PROTECTED] Skickat: den 15 mars 2004 11:41 Till: 'Struts Users Mailing List' Ämne: AW: Form Validation Does your form class extend the ValidatorForm? -Ursprüngliche

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
No, it extends ValidatorActionForm. -Ursprungligt meddelande- Från: Otto, Frank [mailto:[EMAIL PROTECTED] Skickat: den 15 mars 2004 11:41 Till: 'Struts Users Mailing List' Ämne: AW: Form Validation Does your form class extend the ValidatorForm? -Ursprüngliche Nachrich

AW: Form Validation

2004-03-15 Thread Otto, Frank
Does your form class extend the ValidatorForm? -Ursprüngliche Nachricht- Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. März 2004 11:39 An: 'Struts Users Mailing List' Betreff: SV: Form Validation Thanks Budi, but that didn't seem to do the tric

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
rs Mailing List Ämne: RE: Form Validation Try putting max arg, because i think range validation must be supplied with min and max (range) value. min

RE: Form Validation

2004-03-15 Thread Budi Rostiarso
Try putting max arg, because i think range validation must be supplied with min and max (range) value. min ${minYear

Re: dtd validation of tld's

2004-03-15 Thread Adam Hardy
ing it has something to do with the DTD specified in the TLD as an http:... and having only intermittent Internet connectivity. The need is to find away around this issue while still using xml validation and not modifying the TLD's from the downloaded distribution. Are you usi

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
Thank you, Frank, I was indeed missing the "validation='true'" but that didn't seem to fix my problem... must be something else; I guess I've got to keep digging. Nina -Ursprungligt meddelande- Från: Otto, Frank [mailto:[EMAIL PROTECTED] Skickat: den 15

AW: Form Validation

2004-03-15 Thread Otto, Frank
Hi Nina, you had to set validation="true" in your action definition (struts-config.xml). Regards, Frank -Ursprungliche Nachricht- Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED] Gesendet: Montag, 15. Marz 2004 11:09 An: 'Struts Users Mailing List' Betreff:

Form Validation

2004-03-15 Thread Nina Bertilsdotter
Hi People, I'm pulling my hair out trying to get form validation to work through the validator, any help will be much appreciated. In this example I'm trying to validate a single field ("year" of type int), should be pretty easy, one might think, but alas, I'm stuck a

Re: urgent:multibox client side validation

2004-03-14 Thread Jignesh Patel
our validator-rules.xml file to see if the required method > actually gets called. BTW, do you have javascript validation working for > other type of form fields? > > > Saul > > - Original Message - > From: Jignesh Patel > To: [EMAIL PROTECTED] > Cc: [EMAIL

Re: urgent:multibox client side validation

2004-03-14 Thread Saul Q Yuan
If you havn't done so, I'd suggest you view souce and see if you have the correct javascript code rendered in you jsp. If you set staticJavascript="true" in your I have tried the code, which is posted by "Yuan" as follows in validator-rule.xml,

Re: dtd validation of tld's

2004-03-14 Thread hanasaki
The need is to find away around this issue while still using xml validation and not modifying the TLD's from the downloaded distribution. Are you using xerces 2.6.1? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: dtd validation of tld's

2004-03-14 Thread Adam Hardy
e DTD specified in the TLD as an http:... and having only intermittent Internet connectivity. The need is to find away around this issue while still using xml validation and not modifying the TLD's from the downloaded distribution. Are you using xerces 2.6.1? -- struts 1.1 + tomcat 5.0.16 +

dtd validation of tld's

2004-03-14 Thread hanasaki
. and having only intermittent Internet connectivity. The need is to find away around this issue while still using xml validation and not modifying the TLD's from the downloaded distribution. Thanks - To unsubscribe, e-ma

urgent:multibox client side validation

2004-03-14 Thread Jignesh Patel
Dear Friends, I have implemented multibox, everything is working fine. But I would like to validate the checkboxes, my purpose is atleast one checkbox will be selected from the user while submitting, if not message will be pop up. I am implementing javascript(client side) validation

Re: upload validation failures are blanking my form values

2004-03-12 Thread Caoilte O'Connor
On Friday 12 March 2004 20:27, you wrote: > Thanks for the reply. Nice to know I'm not alone. I found > a suggested work around that involved using JavaScript to > alter the HTML form's action attribute by appending the > the values you want to remember as parameters. See > http://mail-archives.apa

Re: upload validation failures are blanking my form values

2004-03-12 Thread Caoilte O'Connor
On Friday 12 March 2004 19:43, you wrote: > Greetings, > > I was browsing through the Struts mail lists and found > the thread that you started. I am having the exact same > problem. Do you know of a work around or fix for this > problem? > > TIA, > > Craig user ignorance mate. i filed a bug, htt

RE: Validation failing when connected through Proxy???

2004-03-12 Thread Paul, R. Chip
getting set correctly, but this problem only manifests on a few of our pages. The validation failing is as I suspected just the symptom of the problem - either the parameters aren't making it to the server, or the bean isn't getting populated. This ringing any bells out there? ---

Validation failing when connected through Proxy???

2004-03-11 Thread Paul, R. Chip
When testing our deployed app through a proxy server (clients -> Proxy with SSL, then through firewall to true server), we've run into a problem where in some pages Validation fails for *some* clients. It looks almost as if all the form fields are blanked on submission. The confusing

Re: Problems with custom validation

2004-03-11 Thread Niall Pemberton
arch 11, 2004 12:56 PM Subject: Problems with custom validation > > > Hi! I've created my own pluggable validator but it's not working. These are the > steps I've followed: > > First: I added this to validator-rules.xml > > classname=&qu

Forget it (Problems with custom validation)

2004-03-11 Thread Diego
Sorry people, I was investigating that problem for no less than 2 hours and one minute after I sent the message I saw that I wasn't adding errors (but shoulnd't the validator deny the validation if the method is returning false, anyway?). I solved it adding this line to the validate

Problems with custom validation

2004-03-11 Thread Diego
also have a tag which I've omitted here and the client validation works OK, but the server validation refuses to work, despite of the result returned by validateNif (it never calls the "input" method). The standard validations (email, required, etc.) are working properly, both c

Re: Struts-Validation and Property file

2004-03-11 Thread Niall Pemberton
So in your validation-rules.xml you have something like... In your properties file you define "errors.myRule" In your "MyValidator" class you have something like public static boolean validateMyRule(Object bean,

Struts-Validation and Property file

2004-03-11 Thread Janarthan Sathiamurthy
Hi, I am using Struts validator in my application. I have defined a properties file that has all the error messages for my application. I have mapped this file in my struts-config.xml file. I have created a new rule specific for my application. I have mapped this in my validation-rules.xml

dataPatterString e.g. 01JAN2003 - validation

2004-03-09 Thread bojke
Is there a Date validation option for a date in a format from a subject? (DDMMM e.g. 02JAN2003) Thanks, Bojan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Multiple validation

2004-03-09 Thread Ruben Pardo
Hi, here is the scenario ... i've got 4 different validation depending on 4 different javascript tab, i want to do a validation depending on the tab that you are localized, ie, i want to validate one field if the user is in the tab 1, other if the user are in tab 2 and so on. I defi

validator framework / multibox and javascript validation

2004-03-09 Thread harm
mailinglist archive that this is a known issue with struts 1.1. The advice was to upgrade using a nightly build. I tried to do so, but unfortunatly this does not work with the Tiles framework (which I'm also using in my application). Can somebody tell me how to get this validation work? Below pro

Re: Struts Form Validation

2004-03-08 Thread Niall Pemberton
You can specify a "indexedListProperty" in the validation.xml Niall - Original Message - From: "Rous, Simon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 08, 2004 1:54 PM Subject: Struts Form Validatio

Struts Form Validation

2004-03-08 Thread Rous, Simon
I'm letting the user of my form build up entry fields as they need them - ie : giving form fields ... etc ... How can I use validation.xml to validate these fields when I don't know if a field exists on a page ? --- repeated for each field -

Re: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Niall Pemberton
: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 6:23 PM Subject: Validation help for same Form, multiple pages/tabs I'm using the same [dynamic] ActionForm on all my pages. Which was just *fine* until I wanted to use validation. :( I need se

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
> From: Joe Hertz [mailto:[EMAIL PROTECTED] > What would be the problem with biting the bullet and > implementing validate() > in your ActionForm and calling super.validate(mapping, > request) if it was > appropriate to hit the xml file for the validation rules? I alread

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Pingili, Madhupal
ngili > -Original Message- > From: as as [SMTP:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 2:49 PM > To: Struts Users Mailing List > Subject: RE: Validation help for same Form, multiple pages/tabs > > If possible.could you encose th

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Joe Hertz
Wendy, I'm not getting something (and it's me being dense I'm sure). It sounds to me like you've found yourself in a position where you are pushing the limits of the validation framework. What would be the problem with biting the bullet and implementing validate() in

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread as as
2:00 PM > To: Struts Users Mailing List > Subject: RE: Validation help for same Form, multiple pages/tabs > > Robert wrote: > > Are you using DispatchAction or LookupDispatchAction? > > LookupDispatchAction. And even worse, it's a cookie that controls which > &qu

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Pingili, Madhupal
different actions. It's working great so far. Reddy Pingili > -Original Message- > From: Wendy Smoak [SMTP:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 2:00 PM > To: Struts Users Mailing List > Subject: RE: Validation help for same Form, multiple pages/tabs

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
n set from this HTTP request, * and return an ActionErrors object that encapsulates any * validation errors that have been found. If no errors are found, return * null or an ActionErrors object with no * recorded error messages. * * @param mapping The mapping used

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
Robert wrote: > Are you using DispatchAction or LookupDispatchAction? LookupDispatchAction. And even worse, it's a cookie that controls which "tab" to show, not always a request parameter. I think I may have painted myself into a corner... -Wendy Smoak

RE: Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Robert Taylor
Are you using DispatchAction or LookupDispatchAction? robert > -Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 1:24 PM > To: Struts Users Mailing List > Subject: Validation help for same Form, multiple pages/tabs > >

Validation help for same Form, multiple pages/tabs

2004-03-05 Thread Wendy Smoak
I'm using the same [dynamic] ActionForm on all my pages. Which was just *fine* until I wanted to use validation. :( I need separate validation per "tab" which is essentially a tag in struts-config. I have a Struts-Menu "tab" that has fields for fund, function a

URL validation - anyone using it?

2004-03-05 Thread Adam Hardy
I'm looking at providing URL validation on a page which saves links for users. I put together the latest build of commons-validator (1.1.2) and struts (1.2) to see what the URL validation is like. The class for server-side validation is in place, but the javascript doesn't exist.

dynamic validation

2004-03-01 Thread Bubeník Miroslav
Hi, does anybody have idea, how can I dynamicaly change, which field from form will be validated against validation defined in validation.xml? Which field should be validated will be determined on data from DB or other source Regards miro

Re: Manipulate page validation for ValidatorForm

2004-02-27 Thread Mikael Wikblom
iness exceptions which I bound to exception handlers. I referred to it as "conflict-resolution" where your goal is a successful "commit" of the transaction, but for any conflict, you resolve with a UI page and separate action form to validate user's data. Any input v

RE: Manipulate page validation for ValidatorForm

2004-02-27 Thread Hookom, Jacob
any conflict, you resolve with a UI page and separate action form to validate user's data. Any input validation would be taken care of by each page's ActionForm. ActionForward execute(..) throws Exception { TransactionSession tx = getTransaction(httpSession); tx.setQuanti

Manipulate page validation for ValidatorForm

2004-02-27 Thread Mikael Wikblom
Hi, I have the following problem; the page validation of the ValidatiorForm requires that the pages are ordered (e.g. a wizard-initalization) and performs validation for all pages <= current page. If a page is undefined or 0, validation for all pages is performed. In my application I have

ValidatorActionForm cannot generate javascript validation code

2004-02-26 Thread Julio Cesar De Salvo
It Works great with ValidatorForm but with ValidatorActionForm I can't make it work, this is my code: Struts-config.xml .. ... validation.xml ...

Re: validation error in FormBean, where to redirect next?

2004-02-25 Thread Niall Pemberton
Yes - Original Message - From: "Marco Mistroni" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Wednesday, February 25, 2004 10:51 AM Subject: validation error in FormBean, where to redirect next? > Hi all, >

validation error in FormBean, where to redirect next?

2004-02-25 Thread Marco Mistroni
Hi all, Assume that I have following struts-config.xml Now, I have ALWAYS assumed that if validation fails in the

Re: Validation doubt?

2004-02-24 Thread Niall Pemberton
() method so that if the user is "cancelling" then don't do the validation. I guess something along the lines of... Although I haven't tried it. Niall - Original Message - From: [EMAIL PROTECTED] To: Struts Users Mailing List Sent: Tuesday, February 24,

RE: Validation doubt?

2004-02-24 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > I tried that one, but i couldnt bypass the validation.. > i've an Update page, some of the attributes are mandatory. > onlick of the cancel btn im forwarding it to the home page, > onclick of the cancel btn it va

RE: Validation doubt?

2004-02-24 Thread subramaniam . o
Hi, I tried that one, but i couldnt bypass the validation.. i've an Update page, some of the attributes are mandatory. onlick of the cancel btn im forwarding it to the home page, onclick of the cancel btn it validates the form and gives error. how do i bypass that one. Note:- Im

RE: Validation doubt?

2004-02-24 Thread Vinay Kumar Munikuntla
Use link . Cancel .. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 11:40 AM To: Struts Users Mailing List Subject: RE: Validation doubt? Hi, Thank you for the information. on click of the cancel btn i

RE: Validation doubt?

2004-02-24 Thread subramaniam . o
://www.tcs.com "Angharad Stapleton" <[EMAIL PROTECTED]> 02/24/2004 09:57 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To "Struts Users Mailing List" <[EMAIL PROTECTED]> cc Subject RE: Validation doubt? Have

RE: Validation doubt?

2004-02-24 Thread Angharad Stapleton
: Validation doubt? Hi, Thank you for the information. on click of the cancel btn i want to show the home page. how do i do that? Subramaniam Olaganthan Tata Consultancy Services Plot No. 21 Industrial Estate,, Ambattur Chennai - 600 058,Tamil Nadu India Mailto: [EMAIL PROTECTED

RE: Validation doubt?

2004-02-24 Thread subramaniam . o
Vinay Kumar Munikuntla <[EMAIL PROTECTED]> 02/24/2004 10:00 PM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To 'Struts Users Mailing List' <[EMAIL PROTECTED]> cc [EMAIL PROTECTED] Subject RE: Validation doubt? Don't

RE: Validation doubt?

2004-02-24 Thread Vinay Kumar Munikuntla
Don't submit the form when user clicks on cancel button. This will avoid calling validate method off the form bean. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 24, 2004 11:21 AM To: [EMAIL PROTECTED] Subject: Validation

RE: Validation doubt?

2004-02-24 Thread Angharad Stapleton
Have the submit button has a form property. Then when validating only valid if submit button was hit. e.g. if ((this.getSubmitButton() != null) && (!( this.getSubmitButton().equals(""{ ... validation code } -Original Message- From: [EMAIL PROTECT

Validation doubt?

2004-02-24 Thread subramaniam . o
Hi,         I do not want to validate my form when the user clicks the Cancel button. For your information im not using _javascript_ validation [i.e my doesnt've ] how to do this? Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website: http://www.tcs.comDISCL

Perform date validation only if field required (requiredIf/validWhen)

2004-02-20 Thread Ivan Jensen
Hi, I have three radio buttons in a form, --- o Today o Tomorrow o From this date: [ ] --- I am currently using requiredIf and date validation on the date textarea . The date entry is only required if the correct radio button is selected and the date validation makes sure this is in

Client Side Validation Question

2004-02-20 Thread Juan Carlos Paramá
Hi, I have a little problem with validation. I have a form with a field that show the property de a bean in a session scope. If the field is empty at the load of the page the validation works right, but if the property have any value at the load the validation (required) fail. I think

Question on Validation

2004-02-19 Thread Patrick Cheng
Hi all, I am trying to validate a collection of objects, like: mask ^[0-9]*$ My question is.. I have 5 sets of 'meansAddress', but the error message is NOT able to tell w

Validation

2004-02-18 Thread Patrick Cheng
Hi all, My question is... if my form has a collection of fields called storing multiple email, dynamically added by javascript, how would i define it in validation.xml in a general way, so that it can accomodate any number of email addresses? That is, i probably have hidden fields created as lon

RE: Session Validation

2004-02-15 Thread Andrew Hill
truts Users Mailing List; hhlow Subject: Re: Session Validation I'm not an expert on security but as I understand you have two choices. You can either implement "container managed security" - where the servlet container controls logging on and ensures that only authenticated users ca

  1   2   3   4   5   6   7   8   9   10   >