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 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Cool; glad you got it working. Dave On Mon, Jun 27, 2011 at 8:37 AM, Maithily wrote: > Oh! yes, thanks for pointing that out. It works smoothly. > Apologies for the silly mistake. > > Regards, > Maithily. > > On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > >> From http://struts.apache.org

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Oh! yes, thanks for pointing that out. It works smoothly. Apologies for the silly mistake. Regards, Maithily. On Mon, Jun 27, 2011 at 6:03 PM, Dave Newton wrote: > From http://struts.apache.org/1.2.4/userGuide/dev_validator.html > > * minlength - validate input data isn't less than a specified

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
>From http://struts.apache.org/1.2.4/userGuide/dev_validator.html * minlength - validate input data isn't less than a specified minimum length. Requires a minlength variable. minlength3 So, it's a colon there. Dave On Mon, Jun 27, 2011 at 8:31 AM, Maithily

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Yeah, it renders as you have said. I have declared the var as per the struts validator documents. minlength 6 I also tried this configuring it like this -

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
Oh, you're saying that the error message *renders* as "... less than ${var.minlength} characters"? What happens when you declare the var as ${var:minlength} as in the docs? Dave On Mon, Jun 27, 2011 at 8:17 AM, Maithily wrote: > Thanks  for the reply Dave. > > The default error message configur

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Thanks for the reply Dave. The default error message configured as follows errors.minlength={0} can not be less than {1} characters. Regards, Maithily On Mon, Jun 27, 2011 at 4:30 PM, Dave Newton wrote: > {1} like the default message. > > Dave > On Jun 27, 2011 3:14 AM, "Maithily" wrote: >

Re: Struts 1.2.4 validator framework.

2011-06-27 Thread Dave Newton
{1} like the default message. Dave On Jun 27, 2011 3:14 AM, "Maithily" wrote: > Hi, > > I am new to this mailing list and am facing a problem using the "minlength" > field validation provided by the Struts Validation Framework. > Struts version - 1.2.4 > Application Server - Apache Tomcat (5.5)

Struts 1.2.4 validator framework.

2011-06-27 Thread Maithily
Hi, I am new to this mailing list and am facing a problem using the "minlength" field validation provided by the Struts Validation Framework. Struts version - 1.2.4 Application Server - Apache Tomcat (5.5) I have configured the following in my validation.xml file -

URGENT : Unable to retain request Attributes after the validator framework thraws an Error...

2009-04-12 Thread JigarGohil
ution for this. Thanx in advance... Jigar -- View this message in context: http://www.nabble.com/URGENT-%3A--Unable-to-retain-request-Attributes-after-the-validator-framework-thraws-an-Error...-tp23011346p23011346.html Sent from the Struts - User mailing list archive

Re: How to make validator framework call the input method

2008-10-15 Thread Dave Newton
--- On Wed, 10/15/08, Néstor Boscán wrote: > But the prepare method will be called if a validation error > happens or not. If a validation error happens I want to load the combo > data, but if not I don't need to load that data. You can also use prepareXxx, where Xxx is the method name. But if yo

Re: How to make validator framework call the input method

2008-10-15 Thread Néstor Boscán
gt; 2008/10/14 Néstor Boscán <[EMAIL PROTECTED]>: > > I'm using the validator frame in Struts 2.0.11.2. When the validator > > framework fails I need to call the input method to load some combo data. > But > > the validator framework automatically calls the input res

Re: How to make validator framework call the input method

2008-10-14 Thread Lukasz Lenart
2008/10/14 Néstor Boscán <[EMAIL PROTECTED]>: > I'm using the validator frame in Struts 2.0.11.2. When the validator > framework fails I need to call the input method to load some combo data. But > the validator framework automatically calls the input result. If I chain >

How to make validator framework call the input method

2008-10-14 Thread Néstor Boscán
Hi I'm using the validator frame in Struts 2.0.11.2. When the validator framework fails I need to call the input method to load some combo data. But the validator framework automatically calls the input result. If I chain that input result with the input method I loose the fieldError

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

Re: [S2] Validator Framework

2008-06-23 Thread Lukasz Lenart
Hi, Struts2 use XWork Validation Framework, so you can use it http://www.opensymphony.com/xwork/wikidocs/Validation%20Framework.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

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

[S2] Validator Framework

2008-06-19 Thread Hoying, Ken
I would like to use the Struts2 validation classes "outside" of Struts2. What I would like to do specifically is use the UrlValidator to test a string to determine if it is a URL and if it is create the link and if not just display the value. I would like to use the validator for this since we us

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

Customizing error message in validator framework

2008-01-08 Thread Kavita Mehta
Hi, I want to access value of property "a" while giving an error message for value of property "b". e.g. my error message should be " For value , value is not in the range ". where both and are different properties, Is there any way that I can do that ? Thanks, Kavita

Re: [S2] validator framework

2007-12-21 Thread Dave Newton
--- Adam Hardy <[EMAIL PROTECTED]> wrote: > - is there a way to have all the validation in one config file rather > than having one config file per Action class? AFAICT the validation files are looked up the same way the resource files are; for example I just added a superclass to one of my actio

[S2] validator framework

2007-12-21 Thread Adam Hardy
Hi Folks, just slogging my way up the learning curve of XWorks Validation with that 'here we go again' feeling, and it occurred to me that I might be able to plug in the old commons-validator more quickly. XWorks's Struts2 validation framework is probably not that bad and of course commons-v

RE: Exception while using validator framework

2007-06-01 Thread Fei Fei
OH.. you can referrence this web page to fix your problem: http://www.junlu.com/msg/200341.html _ With Windows Live Hotmail, you can personalize your inbox with your favorite color. www.windowslive-hotmail.com/learnmore/personalize

Re: Exception while using validator framework

2007-06-01 Thread Fitzwilliam . Aaron
Guess you used the wrong version of the "commons-validator.jar". Luck. Fitzwilliam -- 北半球的狗几月份掉毛?

Re: Exception while using validator framework

2007-06-01 Thread Fitzwilliam . Aaron
Tell me those things: 1. struts' version u r using; 2. DOCTYPE of both validation.xml and validation-rules.xml -- 北半球的狗几月份掉毛?

RE: Exception while using validator framework

2007-06-01 Thread bhanuprakash.singh
Sir I have removed the old one and put the new one -Original Message- From: Oguz Kologlu [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 2:00 PM To: Struts Users Mailing List Subject: Re: Exception while using validator framework also make sure you delete the old one. Oz On 01

Re: Exception while using validator framework

2007-06-01 Thread Oguz Kologlu
iginal Message- From: Fei Fei [mailto:[EMAIL PROTECTED] Sent: Friday, June 01, 2007 12:34 PM To: Struts Users Mailing List Subject: RE: Exception while using validator framework update your commons-validator.jar file,it is an old version, - A Fei -> Subject: Exception while using validator

RE: Exception while using validator framework

2007-06-01 Thread bhanuprakash.singh
: Struts Users Mailing List Subject: RE: Exception while using validator framework update your commons-validator.jar file,it is an old version, - A Fei -> Subject: Exception while using validator framework> Date: Fri, 1 Jun 2007 12:22:45 +0530> From: [EMAIL PROTECTED]> To: user@strut

RE: Exception while using validator framework

2007-06-01 Thread Fei Fei
update your commons-validator.jar file,it is an old version, - A Fei -> Subject: Exception while using validator framework> Date: Fri, 1 Jun 2007 12:22:45 +0530> From: [EMAIL PROTECTED]> To: user@struts.apache.org> > > Hi all,> > > > I have created a sample s

RE: Exception while using validator framework

2007-06-01 Thread bhanuprakash.singh
validator framework > > 19:57:00,515 ERROR [ActionServlet] Unable to initialize Struts > ActionServlet due to an unexpected exception or error thrown, so marking > the servlet as unavailable. Most likely, this is due to an incorrect or > missing library dependency. > > java.l

Re: Exception while using validator framework

2007-05-31 Thread wang huan
19:57:00,515 ERROR [ActionServlet] Unable to initialize Struts ActionServlet due to an unexpected exception or error thrown, so marking the servlet as unavailable. Most likely, this is due to an incorrect or missing library dependency. java.lang.NoSuchMethodError: org.apache.commons.validator.V

Exception while using validator framework

2007-05-31 Thread bhanuprakash.singh
Hi all, I have created a sample struts application Im trying to make use of the validator framework The steps which i have carried out are 1 .I have included validation.xml and validation-rules.xml in WEB-INF 2 .then in struts-config.xml i have included the required

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 h

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 h

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: Validator Framework 1.29

2006-12-20 Thread nagesh.kumar
Use this -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday, December 21, 2006 9:16 AM To: Struts Users Mailing List Subject: Re: Validator Framework 1.29 On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: &

Re: Validator Framework 1.29

2006-12-20 Thread Niall Pemberton
On 12/20/06, Jim Reynolds <[EMAIL PROTECTED]> wrote: Hello, I am having some issues with getting the messages from the validator framework from showing. Actually, I have some old code like this: that used to work,

Validator Framework 1.29

2006-12-20 Thread Jim Reynolds
Hello, I am having some issues with getting the messages from the validator framework from showing. Actually, I have some old code like this: that used to work, before upgrading to 1.29. I am getting this error: "ccording to T

Re: Validator FrameWork

2006-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Thomas wrote: > Thank u, > it works great :-) No problem. > I have : > > > > May I ask u, dear Christopher, what's the difference of it with what u have > done : > > key="error.unmatched.password.confirm" /> > I'm not s

Re: Validator FrameWork

2006-12-08 Thread Thomas Thomas
Thank u, it works great :-) I have : May I ask u, dear Christopher, what's the difference of it with what u have done :

Re: Validator FrameWork

2006-12-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, Thomas Thomas wrote: > (*this* == password) > > But it still doesn't work This is exactly what I have in my setup, and it works like a charm: test (

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Instead of : (passwordCheck == password) I put : (*this* == password) But it still doesn't work

Re: Validator FrameWork

2006-12-07 Thread Thomas Thomas
Dear Sean, thank u for your precious support. I added this : test (passwordCheck == password) But it's not working :-(

RE: Validator FrameWork

2006-12-07 Thread O'Shea, Sean
TED] Sent: Thursday, December 07, 2006 3:05 PM To: Struts Users Mailing List Subject: Validator FrameWork Hi, I'm using Validator Framework with Struts, Here I want to validate a registration form. I want to add a field property passwordCheck, (the user needs to enters his password twice : the

Validator FrameWork

2006-12-07 Thread Thomas Thomas
Hi, I'm using Validator Framework with Struts, Here I want to validate a registration form. I want to add a field property passwordCheck, (the user needs to enters his password twice : the first password will be in property password, the second in passwordCheck) I want to check if val

Re: Using tiles and validator framework

2006-12-07 Thread Deep Blue
, Deep Blue <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll > component, which user can submit the vote. > Commons validator framework is used to validate the poll submission. > When the validation faile

Re: Using tiles and validator framework

2006-12-07 Thread Niall Pemberton
On 12/5/06, Deep Blue <[EMAIL PROTECTED]> wrote: Hi, I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll component, which user can submit the vote. Commons validator framework is used to validate the poll submission. When the validation failed on the tiles com

Using tiles and validator framework

2006-12-05 Thread Deep Blue
Hi, I'm using tiles component in my .jsp page (eg. main.jsp). It is a poll component, which user can submit the vote. Commons validator framework is used to validate the poll submission. When the validation failed on the tiles component, the tiles component's jsp (e.g. poll.jsp)

Re: Validator Framework problem

2006-11-30 Thread Niall Pemberton
On 11/28/06, Thomas Thomas <[EMAIL PROTECTED]> wrote: Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validato

Re: Validator Framework problem

2006-11-30 Thread Thomas Thomas
Nobody can help me ? No-one has *Any* idea ?

Validator Framework problem

2006-11-28 Thread Thomas Thomas
Hi, since I added a constraint for the length with minlength, I have the following errror : 28-nov.-2006 21:31:33 org.apache.struts.validator.DynaValidatorForm validate GRAVE: org.apache.struts.util.StrutsValidator org.apache.commons.validator.ValidatorException: org.apache.struts.util.StrutsVali

Re: struts tiles and validator framework

2006-11-07 Thread Antonio Petrelli
. The problem comes when i am trying to use Struts client side validator framework along with the combination of tiles + JSF. In the validator framework - validation.xml file will require a form name and then all the fields and their respective validations. Will this mean that if there are 40 diff

Re: struts tiles and validator framework

2006-11-07 Thread Madhav Bhargava
ng to use Struts client side validator framework along with the combination of tiles + JSF. In the validator framework - validation.xml file will require a form name and then all the fields and their respective validations. Will this mean that if there are 40 different forms that use the same layout

Re: struts tiles and validator framework

2006-11-06 Thread Antonio Petrelli
Madhav Bhargava ha scritto: Since i am using struts tiles there is always going to be one form. How can i then use these 2 together? Wait a moment, what's the connection between Tiles and the use of only one form? That's not true. Probably you wanted to say that you have one form and the fiel

struts tiles and validator framework

2006-11-06 Thread Madhav Bhargava
Hi All, I am using struts tiles for laying out all the pages. I am wondering how i can use struts client validator framework with struts tiles. The validation.xml file requires form name and then within the form tag we define the individual fields along with the respective validations. Since i

Re: validator framework

2006-10-23 Thread Laurie Harper
Yariel Ramos Moreno wrote: How can I validate a form field to accept numbers from 1 to 99 or an underscore (_) using the validator framework. The application is in Struts 1.1. If you didn't have the requirement to accept underscore, intRange would be what you were looking for. With

Re: validator framework

2006-10-20 Thread Sócrates Medina
this could help you. On 10/20/06, Yariel Ramos Moreno <[EMAIL PROTECTED]> wrote: Hi, How can I validate a form field to accept numbers from 1 to 99 or an underscore (_) using the validator framework. The application is in Struts 1.1. Best Regards. _

validator framework

2006-10-20 Thread Yariel Ramos Moreno
Hi, How can I validate a form field to accept numbers from 1 to 99 or an underscore (_) using the validator framework. The application is in Struts 1.1. Best Regards. __ XIII Convención Científica de Ingeniería y Arquitectura 28/noviembre al 1/diciembre

Re: Validator framework javascript error messages

2006-10-16 Thread Laurie Harper
Puneet Lakhina wrote: Hi, I have the following key value pair in ApplicationResource.properties required = {0} is required. I used this when I was doing only server side validation, to display a list of error messages when some validation failed. Now Im using the to do the same thing on clien

Validator framework javascript error messages

2006-10-10 Thread Puneet Lakhina
Hi, I have the following key value pair in ApplicationResource.properties required = {0} is required. I used this when I was doing only server side validation, to display a list of error messages when some validation failed. Now Im using the to do the same thing on client side also. But my pro

Re: Problem with validator framework in LookupDispatchAction

2006-10-10 Thread Laurie Harper
the requiredIf validation with a hidden field to check the pressed button (ask for the pressed button and if the value is 1 (Update) then validate, else (value 2 for Restore) don't do anything). If the value in the field is not an integer, the validator framework triggers an exception no m

Problem with validator framework in LookupDispatchAction

2006-10-09 Thread Yariel Ramos Moreno
a hidden field to check the pressed button (ask for the pressed button and if the value is 1 (Update) then validate, else (value 2 for Restore) don't do anything). If the value in the field is not an integer, the validator framework triggers an exception no matter which button were pr

Validate a multiple html:select with validator framework

2006-09-28 Thread Heidy Gutiérrez Guzmán
I have a multiple html:select and i need to validate it with validator framework. The attribute in the ActionForm is an array of strings. private String[] subtemas= new String[]{} The validation that i'm using is required.This validation works with others form fields This is the co

exists any way to know when validator framework turn on?

2006-09-28 Thread yamilka vallejo ramos
Hi Do exists any way to know when validator framework turn on? I think i could ask by a var in the session or something like that. Thanks for any help you could give me

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Heidy Gutiérrez Guzmán
ect i can validate with validator framework. The second type is an htm:select wich input is a list of Enumerations --- With this second html:select, i can not validate. The field in the ValidatorForm is private String proceso; Thanks On 9/25/06, Wendy Smoak <[EMAIL PROTECTED

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Wendy Smoak
On 9/25/06, Laurie Harper <[EMAIL PROTECTED]> wrote: You said your form property was of type 'Long'. By default, a null input value will be turned into 0, so the required validator rule will think the property has a value. Good catch, Laurie! I completely missed the type... probably didn't re

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Laurie Harper
t; wrote: > > Hi > > I need to validate an html:select with validator framework > > This is the code that i have > > > > > --- > > "nombre"> > > > > I need have a default value that is " ---" , but i need validate that thi

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Heidy Gutiérrez Guzmán
--- (*Chris*) On 9/25/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: > > Hi > > I need to validate an html:select with validator framework > > This is the code that i have > > > > > --- > > "nombre"> > > > > I

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Chris Pratt
According to your code, the default value is the String "null", not ---. You might want to try setting that to an empty value, e.g. --- (*Chris*) On 9/25/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: Hi I need to validate an html:select with validator framework

Re: Validate an hmt:select with validator framework

2006-09-25 Thread Wendy Smoak
On 9/25/06, Heidy Gutiérrez Guzmán <[EMAIL PROTECTED]> wrote: I need to validate an html:select with validator framework --- I tried to use the required validation, but that does'nt work, i think because the html:select have the "---" default value More likely it

Validate an hmt:select with validator framework

2006-09-25 Thread Heidy Gutiérrez Guzmán
Hi I need to validate an html:select with validator framework This is the code that i have --- I need have a default value that is " ---" , but i need validate that this value does'nt selected. The code in the Validator form is private Long categoria; I tried to u

RE: Problems with validator framework

2006-09-13 Thread Strachan, Paul
___ From: Heidy Gutiérrez Guzmán [mailto:[EMAIL PROTECTED] Sent: Wed 13/09/2006 11:13 PM To: user@struts.apache.org Subject: Problems with validator framework Hi I need to validate a form with fields wich data type is "int" and "float" The validation that i use is "

Problems with validator framework

2006-09-13 Thread Heidy Gutiérrez Guzmán
Hi I need to validate a form with fields wich data type is "int" and "float" The validation that i use is "required", but that doesn't work. The fields are initilialized with default values (o for int types) and (0.0for float types). Whit string data types, validator works fine. If somebody w

Re: Validator FRamework

2006-09-07 Thread Laurie Harper
sheetal wrote: Thanks for the help.. Yesterday I tried and it worked... But the problem now is that its message string is not coming... I had made an entry for it in applicationresoUrces.properties... BUT STILL IT'S UNABLE TO PICK IT FROM THERE.. What message string? How are you specifying it?

Re: validator framework

2006-09-07 Thread Laurie Harper
Gomathi wrote: Hai, Is the validator framework is only for dynavalidatorform? I am using actionform using validator framework.Its not working fine how? You need to derive your form beans from ValidatorActionForm, not just ActionForm. DynaValidatorForm extends ValidatorForm, so that should be

validator framework

2006-09-07 Thread Gomathi
Hai, Is the validator framework is only for dynavalidatorform? I am using actionform using validator framework.Its not working fine how? Kindly regards Gomes

Re: Validator FRamework

2006-09-05 Thread sheetal
Laurie Harper wrote: sheetal wrote: Hi All, I had problem.. I am trying to implement client side validation using Validator FRamework. I have added validator-rules.xml, and validation.xml, in my web -inf file. And made following entry in validation.xml

Re: Validator FRamework

2006-09-05 Thread Laurie Harper
sheetal wrote: Hi All, I had problem.. I am trying to implement client side validation using Validator FRamework. I have added validator-rules.xml, and validation.xml, in my web -inf file. And made following entry in validation.xml

Re: Validator FRamework

2006-09-05 Thread Jorge Martín Cuervo
9 de 2006 a las 10:48, sheetal escribió: > > > Hi All, > > I had problem.. > > I am trying to implement client side validation using Validator FRamework. > > I have added validator-rules.xml, and validation.xml, in my web -inf file

Re: Validator FRamework

2006-09-05 Thread Jorge Martín Cuervo
hi why you use com.hns.nme.frontend.apps.cmdexecution.form.SelectCommandForm instead java.lang.String in form-bean type? El mar, 05 de 09 de 2006 a las 10:48, sheetal escribió: > Hi All, > I had problem.. > I am trying to implement client side validation using Validator FRamework.

Validator FRamework

2006-09-05 Thread sheetal
Hi All, I had problem.. I am trying to implement client side validation using Validator FRamework. I have added validator-rules.xml, and validation.xml, in my web -inf file. And made following entry in validation.xml

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

Struts 1.2 and the Validator Framework, how does this work ? continue

2006-08-26 Thread Ingimar Erlingsson
thanks for the reply. I am not yet used to this mailing list, sorry for that, I probably could have continued this question in the same thread - but not knowing how to do that. Niall you are probably right, that I should upgrade. Using Exadel and it's support for Struts, it only says struts 1.2 s

  1   2   3   >