Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Brian Thompson
I'm not familiar with the tag; does that auto-include the script defining the validateForm() function? If not, I'd suggest a missing

Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Dave Newton
quot; uri="/WEB-INF/struts-bean.tld" %> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 > Transitional//EN"> > > > > LoginPage > > > > > > > > > > > > > > > > > > > > Click here to   href=

Struts Validator Framework: client-side validation problem

2011-09-02 Thread RajasekharReddy
/DTD HTML 4.01 Transitional//EN"> LoginPage > Click here to   SignUp > -- View this message in context: http://struts.1045723.n5

Re: Struts Validator Framework: problem with Custom Validator

2008-06-26 Thread cacodemon79
core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) >

Re: Struts Validator Framework: problem with Custom Validator

2008-06-25 Thread cacodemon79
na.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > at > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > at > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) > at > org.apache.coyote.http11.Http

Struts Validator Framework: problem with Custom Validator

2008-06-24 Thread cacodemon79
ariables had the correct value submitted through the form. Moreover, I'm not sure that Resources.getActionMessage(request, va, field) method in my custom validator class is correct. This method is deprecated and I don't know how to replace it. I can't understand where is the pro

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-24 Thread cacodemon79
t; cacodemon79 wrote: >>>> No suggestions? :( >>>> >>>> I also tried to use >>>> document.registrazioneUtenteForm.submit()") >>>> instead of >>>> eval("document."+nomeForm+".submit()") >>>> but the r

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
ied to use document.registrazioneUtenteForm.submit()") instead of eval("document."+nomeForm+".submit()") but the result is the same. The form is submitted but I can't see any javascript alerts. I can't understand where is the problem. I hope you can help me. Thanks. cacod

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
Hi, 2008/6/23 cacodemon79 <[EMAIL PROTECTED]>: > > Bingo! > Now it works! > Thanks a lot. > However i can't understand why the onsubmit handler is not triggered by the > submit() function! > Maybe it depends on Web Browser, did you try with others? Regards -- Lukasz http://www.lenart.org.pl/

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
form is submitted but I can't see any >> javascript alerts. >> >> I can't understand where is the problem. >> >> I hope you can help me. >> >> Thanks. >> >> >> >> cacodemon79 wrote: >>> Hi, I'm using Str

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
m is submitted but I can't see any javascript alerts. I can't understand where is the problem. I hope you can help me. Thanks. cacodemon79 wrote: Hi, I'm using Struts Validator Framework (Struts 1.3). Server-side validation works well. The problem is in client-side val

Re: [struts] Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
> A beta version of firebug does work with 3.0 : > http://getfirebug.com/releases/index.html Thanks! -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

Re: [struts] Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Dale Newfield
Lukasz Lenart wrote: Maybe you should install Firebug for Firefox (not working with 3.0) and debug the JavaScript? A beta version of firebug does work with 3.0 : http://getfirebug.com/releases/index.html -Dale - To unsubscr

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Lukasz Lenart
Hi, Maybe you should install Firebug for Firefox (not working with 3.0) and debug the JavaScript? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
m. I hope you can help me. Thanks. cacodemon79 wrote: > > Hi, I'm using Struts Validator Framework (Struts 1.3). > Server-side validation works well. > The problem is in client-side validation. > > The form name I have to validate is: RegistrazioneUt

Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-21 Thread cacodemon79
Hi, I'm using Struts Validator Framework (Struts 1.3). Server-side validation works well. The problem is in client-side validation. The form name I have to validate is: RegistrazioneUtenteForm. In my jsp page I have 2 buttons: 1) 2) and the following form declaration: Moreover I have en

RE: Struts validator framework

2008-05-15 Thread Givler, Eric
--Original Message- From: Zhang, Larry (L.) [mailto:[EMAIL PROTECTED] Sent: Thu 5/15/2008 6:14 PM To: Struts Users Mailing List Cc: Subject: Struts validator framework Say if I have two text fields, one label is Please

Struts validator framework

2008-05-15 Thread Zhang, Larry (L.)
Say if I have two text fields, one label is Please enter name:, and the other label is Please enter SSN:. In struts validator framework, if I need to validate these two fields using required validator, is there any way to relate the field label to the message? Or does struts validator support

Re: Using Struts Validator framework

2007-03-19 Thread Dave Newton
--- "Kaushal, Anubhav" wrote: > The user input is taken and then corresponding > record is fetched from the database. Depending on > the query result, I need to display appropriate > message to the user. How can I achieve this? It's not clear to me what this has to do with the Validator framewor

Using Struts Validator framework

2007-03-19 Thread Kaushal, Anubhav
I am using Struts Validator framework and DynaActionForm for performing form data validations. The user input is taken and then corresponding record is fetched from the database. Depending on the query result, I need to display appropriate message to the user. How can I achieve this? It will be

Re: Using Struts Validator framework

2007-03-18 Thread Dave Newton
--- "Kaushal, Anubhav" wrote: > The user input is taken and then corresponding > record is fetched from the database. Depending on > the query result, I need to display appropriate > message to the user. How can I achieve this? It's not clear to me what this has to do with the Validator framewor

Using Struts Validator framework

2007-03-18 Thread Kaushal, Anubhav
Hi, I am using Struts Validator framework and DynaActionForm for performing form data validations. The user input is taken and then corresponding record is fetched from the database. Depending on the query result, I need to display appropriate message to the user. How can I achieve this ? It

Re: Regarding Struts validator Framework

2006-08-29 Thread Srinivas_Biragoni
In the jsp code u givenonsubmit="return validateCustomerForm(this); but in validator-user.xml the form name is custForm, so replace that with onsubmit="return validateCustForm(this); Thanks, Srinivas. L

Re: Regarding Struts validator Framework

2006-08-29 Thread Wendy Smoak
On 8/29/06, Lakshmi Saritha <[EMAIL PROTECTED]> wrote: Please clear me why the message is not coming from properties file. Is the error in properties file or validator-rules.xml or some other. Try adding an tag to your CustomerDetails JSP, I don't see it there. -- Wendy ---

Regarding Struts validator Framework

2006-08-29 Thread Lakshmi Saritha
Hello everybody, I'm new to Java. I'm working on Struts now. I got this application from one struts PDF. I've one jsp for customer details as follows: CustomerDetails.jsp: <%@ page contentType="text/html;charset=UTF-8" language="java"%> <%@ taglib uri="/WEB-INF/struts-html.tl

any help ?? Fwd: html:multibox validation using Struts Validator framework

2006-04-24 Thread HSS STANLEY
any help on this??? Date: Fri, 21 Apr 2006 11:00:34 -0700 (PDT) From: <[EMAIL PROTECTED]> Subject: html:multibox validation using Struts Validator framework To: user@struts.apache.org Hi I am trying to do a client side validation for html: multibox tag. I need to do clien

html:multibox validation using Struts Validator framework

2006-04-21 Thread HSS STANLEY
Hi I am trying to do a client side validation for html: multibox tag. I need to do client side validation if all the boxes are checked, before submitting the request. I tried using the "depends=required" rules in the validator-rules.xml. I see the JavaScript code in my jsp when I t

html:multibox validation using Struts Validator framework

2006-04-21 Thread HSS STANLEY
Hi I am trying to do a client side validation for html: multibox tag. I need to do client side validation if all the boxes are checked, before submitting the request. I tried using the "depends=required" rules in the validator-rules.xml. I see the JavaScript code in my jsp when I try

html:multibox validation using Struts Validator framework

2006-04-20 Thread Stanley, Hazel
Hi I am trying to do a client side validation for html: multibox tag. I need to check if all the boxes are checked, before submitting the request. I tried using the required rules in the validator-rules.xml. I see the JavaScript code in my jsp when I try to view source but I'm not getti

RE: Struts Validator Framework

2005-08-29 Thread Ashutosh Satyam
iling List Subject: RE: Struts Validator Framework Hi Hubert, Thanks for your response. It worked the way you told by using dot delimiters to point out the nested object. On the same lines, I have one more question. How do I validate an array of objects. This is my class stru

RE: Struts Validator Framework

2005-08-25 Thread Ashutosh Satyam
[mailto:[EMAIL PROTECTED] Sent: Thu 8/25/2005 1:36 AM To: Struts Users Mailing List Cc: Subject: Re: Struts Validator Framework I've never used Validator outside of Struts, but I do know I've successfully referenced nested

Re: Struts Validator Framework

2005-08-24 Thread Hubert Rabago
I've never used Validator outside of Struts, but I do know I've successfully referenced nested elements while validating, by using dot notation. In your case, you can refer to fields "a", "b", "obj.i, "obj.j", "obj.obj.k". Hubert On 8/24/05, Ashutosh Satyam <[EMAIL PROTECTED]> wrote: > Hi, > I a

Struts Validator Framework

2005-08-24 Thread Ashutosh Satyam
Hi, I am using the Struts Validator(Commons Validator) outside the Struts framework, to do validation. I would like to know how to validate an object when it has objects nested within it, and I need to validate the fields in those nested objects, too. Precisely I intend to achieve the followin

Re: Validate French Input Character using Struts Validator Framework

2005-03-15 Thread Joe Germuska
At 4:20 PM -0800 3/15/05, John Smith wrote: I have one question regarding to struts validation for French input characters. I have some input fields in the form to accept the French character input, such as Street name, person's name, In struts's validation.xml file, I have defined the followi

Validate French Input Character using Struts Validator Framework

2005-03-15 Thread John Smith
I have one question regarding to struts validation for French input characters. I have some input fields in the form to accept the French character input, such as Street name, person's name, In struts's validation.xml file, I have defined the following rule: streetName |^\w+$ pers

struts Validator framework -URGENT Pls...

2004-12-18 Thread runa choudhary
Hi All Its very urgent for me.I am struck on this point at a very critical point of my project. I am using Validator framework of struts 1.1 In Validator.xml file for my mask variable i am using regular expression so as the string to accept alphanum+special char-.,-,",\s .nowI want my regular ex

RE: Need guidance in struts validator framework

2004-09-07 Thread Jim Barrows
> -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 3:02 PM > To: Struts Users Mailing List > Subject: RE: Need guidance in struts validator framework > > > It is 1.1 I was afraid you's say that. Y

RE: Need guidance in struts validator framework

2004-09-07 Thread Udaya Prakash
It is 1.1 Jim Barrows <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 2:52 PM > To: [EMAIL PROTECTED] > Subject: Need guidance in struts validator framework > >

RE: Need guidance in struts validator framework

2004-09-07 Thread Jim Barrows
> -Original Message- > From: Udaya Prakash [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 07, 2004 2:52 PM > To: [EMAIL PROTECTED] > Subject: Need guidance in struts validator framework > > > Hi, > > I am having a Dynavalidatorform and it has two

Need guidance in struts validator framework

2004-09-07 Thread Udaya Prakash
Hi, I am having a Dynavalidatorform and it has two properties A and B. I need to check for the following conditions Both should be equal to zero or Both should be greater than zero. Can u just me how it can be done in a declarative way using the struts validator framework

Re: Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Erik Weber
You might find the examples on Rick Reumann's site helpful. http://www.reumann.net/do/struts/main Erik Ronald B wrote: Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U __

Help : Server Side Validation + Client Side using Struts Validator Framework (beginner)

2004-08-27 Thread Ronald B
Hello, I has been quite some time that I have been introduced to STRUTS. (beginner) Could any help write server side code. Thank U Yahoo! India Matrimony: Find your life partner online Go to: http://yahoo.shaadi

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
s of the Struts-Faces integration library include two versions of the standard Struts example application -- one with Tiles and one without. Both of them use the Struts validator framework in conjunction with page that use JavaServer Faces components. Your best bet is to examine the sources in

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
List Subject: Re: Plugin struts validator framework to JSF On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > HI, > > Thanks a lot for the information. > I was looking through the examples of Struts-faces integration library. > What I found wa

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Fri, 13 Aug 2004 14:51:25 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > HI, > > Thanks a lot for the information. > I was looking through the examples of Struts-faces integration library. > What I found was in the backing bean method a url with query string > parameters is created to di

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
); } Thanks and Regards, KP -Original Message- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 12:37 AM To: Struts Users Mailing List Subject: Re: Plugin struts validator framework to JSF On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya &

Re: Plugin struts validator framework to JSF

2004-08-12 Thread Craig McClanahan
On Thu, 12 Aug 2004 20:46:33 +0900, Prasad, Kamakshya <[EMAIL PROTECTED]> wrote: > Hi All, > > Is it possible to plugin struts validator framework to Javaserver faces > web framework? Yes, if you use the Struts-Faces integration library -- currently available in nightly bui

RE: Plugin struts validator framework to JSF

2004-08-12 Thread Matthias Wessendorf
; From: Prasad, Kamakshya [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 12, 2004 1:47 PM > To: Struts Users Mailing List > Subject: Plugin struts validator framework to JSF > > > Hi All, > > Is it possible to plugin struts validator framework to > Javaserver faces web

Plugin struts validator framework to JSF

2004-08-12 Thread Prasad, Kamakshya
Hi All, Is it possible to plugin struts validator framework to Javaserver faces web framework? Are there any examples available in the net? Kindly advice me on this. KP - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread Eric Noel
On 5/3/2004 10:29 PM, [EMAIL PROTECTED] wrote: Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03

RE: Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread salgado.pc
Yes. Extend the DynaValidator override the validate method validate(...) { ActionErrors errors = super.validate(...); // do your stuff if (...) { errors.add(...); } return errors; } Pedro Salgado On 04/05/03 9:40, "Eric Noel" <[EMAIL PROTECTED]> wrote

Mixed Struts Validator Framework and ValidationForm

2004-05-03 Thread Eric Noel
Is it possible to use both Strut's Validator Framework for some fields and validate other fields using my own validation via ActionForm class. If yes, can someone site an example. - To unsubscribe, e-mail: [EMAIL PROTECTED] For