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_? form name=LoginForm field property=userno depends=required arg0 key=caption.wusernono/ /field /form

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

2004-03-25 Thread ruben
=caption.wusernono/ /field /form - 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

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 have the error

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: formset form name=MarketAddressForm field property=provStateId

Validation Question with Indexed Properties

2004-03-21 Thread Craig Tataryn
Hi, I have the following definition in my validation.xml file: formset form name=MarketAddressForm field property=provStateId indexedListProperty=address depends=required

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 date. A simple date

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

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

2004-03-18 Thread Prasad, Kamakshya
: 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, 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

[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 screen elements based

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

2004-03-18 Thread Axel Groß
path=/resolveAsset Regards 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, if you use

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: field property=date depends=required,date arg0 key=myForm.date

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 ? thanks for your reply

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

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

Re: validation

2004-03-16 Thread Axel Groß
-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 Users Mailing List Betreff: Re: validation hi! I

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

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 and I can't get it to work. I'm

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 Hi People

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 mars 2004 11:13 Till: 'Struts

Re: dtd validation of tld's

2004-03-15 Thread Adam Hardy
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 using xerces 2.6.1

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. arg1 name=intRange key=${var:min} resource=false/ arg2 name=intRange key=${var:max} resource=false/ var var

SV: Form Validation

2004-03-15 Thread Nina Bertilsdotter
: RE: Form Validation Try putting max arg, because i think range validation must be supplied with min and max (range) value. arg1 name=intRange key=${var:min} resource=false/ arg2 name=intRange key=${var:max} resource=false/ var

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 trick either. When

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 Nachricht- Von

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 Nachricht

Re: SV: Form Validation

2004-03-15 Thread Jignesh Patel
: ) -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 Nachricht- Von: Nina Bertilsdotter [mailto:[EMAIL PROTECTED

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. -Ursprungligt

Re: AW: Form Validation

2004-03-15 Thread Jignesh Patel
, 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 mars 2004 11:41 Till: 'Struts Users Mailing List' Ämne: AW: Form Validation

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 List' Ämne: AW

RE: Form Validation

2004-03-15 Thread Budi Rostiarso
Validation 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

Re: SV: Form Validation

2004-03-15 Thread Joe Hertz
Check the Bugzilla. I believe it works in the html:errors 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 validation

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 as per

Re: SV: AW: Form Validation

2004-03-15 Thread 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 Monday 15 March 2004 16:23, Otto, Frank wrote: I use ValidatorForm

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: validation

2004-03-15 Thread Shobhana.S, ASDC Chennai
.. Shobhana -Original Message- 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

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 html:errors tag, but you won't get a javascript popup

Re: SV: Form Validation

2004-03-15 Thread Christoph Kutzinski
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 the maxlength

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 Hertz wrote: Check the Bugzilla. I believe

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 Christoph Kutzinski
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 html:errors tag, but you won't get a javascript popup. If memory serves, there's a security concern about using minlength in password

AW: SV: Form Validation

2004-03-15 Thread Andreas Solarik
-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 might waste a considerable amount

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]

RE: server side date validation

2004-03-15 Thread Anderson, James H [IT]
/field ... /form /formset -Original Message- From: Jignesh Patel [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 2:04 PM To: Struts Users Mailing List Subject: server side date validation Can anybody give me example code to validate date towards server side

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=alternate in my action

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. I use struts-validation 1.0.2

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, do you

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

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-mail: [EMAIL

Re: dtd validation of tld's

2004-03-14 Thread Adam Hardy
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 + java 1.4.2

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 additional

Re: urgent:multibox client side validation

2004-03-14 Thread Saul Q Yuan
-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 PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED

Re: urgent:multibox client side validation

2004-03-14 Thread Jignesh Patel
-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 PROTECTED] ; [EMAIL PROTECTED] ; [EMAIL PROTECTED

RE: Validation failing when connected through Proxy???

2004-03-12 Thread Paul, R. Chip
not be 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? -Original

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,

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

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

Re: Struts-Validation and Property file

2004-03-11 Thread Niall Pemberton
So in your validation-rules.xml you have something like... validator name=myValidatorRule classname=myPackage.MyValidator method=validateMyRule methodParams=java.lang.Object, org.apache.commons.validator.ValidatorAction

Problems with custom validation

2004-03-11 Thread Diego
true or false correctly, but the validator seems to omit the result and always thinks the value is OK. By the way, I also have a javascript 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

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 validateNif method

Re: Problems with custom validation

2004-03-11 Thread Niall Pemberton
: 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 validator name=nif classname=com.pruebas.MTValidations method=validateNif

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 part

validator framework / multibox and javascript validation

2004-03-09 Thread harm
on the 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

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 define

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]

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 : logic:iterate id=trade name=requestForm property=tradeColl indexId=ctr html-el:text property=tradeQuantity[${trade}] / /logic:iterate giving form fields ... input type=text name=tradeQuantity[0] input type=text

Re: Struts Form Validation

2004-03-08 Thread Niall Pemberton
PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 08, 2004 1:54 PM Subject: Struts Form Validation I'm letting the user of my form build up entry fields as they need them - ie : logic:iterate id=trade name=requestForm property=tradeColl indexId=ctr html-el:text property=tradeQuantity[${trade

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. It works

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 forward tag in struts-config. I have a Struts-Menu tab that has fields for fund, function and cost center, which

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 I'm using the same

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
this HTTP request, * and return an codeActionErrors/code object that encapsulates any * validation errors that have been found. If no errors are found, return * codenull/code or an codeActionErrors/code object with no * recorded error messages. * * @param mapping The mapping

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

2004-03-05 Thread Pingili, Madhupal
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 Robert wrote: Are you using

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

2004-03-05 Thread as as
: 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 tab to show, not always a request parameter. I think I may have painted myself into a corner

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 your ActionForm

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

2004-03-05 Thread Pingili, Madhupal
- Hope this helps. Reddy Pingili -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

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 already do that, to step around

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

2004-03-05 Thread Niall Pemberton
. Niall - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: 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

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

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

RE: Manipulate page validation for ValidatorForm

2004-02-27 Thread Hookom, Jacob
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.setQuantity(new Integer(form.getQuantity())); tx.commit() return mapping.findForward

Re: Manipulate page validation for ValidatorForm

2004-02-27 Thread Mikael Wikblom
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 validation would be taken care of by each page's ActionForm. ActionForward

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 .. action path=/saveProyectoVersiones type=org.itechnology.actions.SaveProyectoVersionesAction

validation error in FormBean, where to redirect next?

2004-02-25 Thread Marco Mistroni
that if validation fails in the ReceiveLIneForm bean, I should be redirected to the input page, which is receiveLine.jsp Is my assumption correct? Regards] Marco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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, Assume that I have following struts-config.xml action

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 html:_javascript_ formname=someform] how to do this? Subramaniam Olaganthan Tata Consultancy Services Mailto: [EMAIL PROTECTED] Website

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 PROTECTED] [mailto:[EMAIL

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 doubt

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 submit the form when user clicks on cancel button

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
://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 the submit button has a form property. Then when validating only

RE: Validation doubt?

2004-02-24 Thread Vinay Kumar Munikuntla
Use link html:link page=/homepage.do . Cancel .. /html:link -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

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 using

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 validates the form and gives

Re: Validation doubt?

2004-02-24 Thread Niall Pemberton
to do what it does so that validations are not done or put your own check in the forms validate() method so that if the user is cancelling then don't do the validation. I guess something along the lines of... html:image property=org.apache.struts.taglib.html.CANCEL onclick=bCancel=true

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 html:text 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

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

Question on Validation

2004-02-19 Thread Patrick Cheng
Hi all, I am trying to validate a collection of objects, like: field property=meansAddress indexedListProperty=value.notifications depends=mask,required var var-namemask/var-name var-value^[0-9]*$/var-value

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

Re: client-side validation not working

2004-02-15 Thread Niall Pemberton
James, In your validation configuration file you have not set the date pattern variable - there are two forms of it - datePattern and datePatternStrict. formset form name=ActivityViewForm field property=starting depends=date arg0 key

  1   2   3   4   5   6   7   8   9   10   >