Client-Side validation

2006-02-07 Thread elif akten
Hi, I try to use client-side validation in struts. but I have a problem. I have a actionform which I want to verify, in my first jsp some fields of the form is shown say username, usersurname,email, and in some other jsp other fields should be checked say gender. address..etc. I could not define

Client Side Validation

2006-03-21 Thread Vinny
Anyone have an example of using client side validation with a DynaValidatorActionForm ? I see no examples in here http://struts.apache.org//struts-doc-1.2.8/userGuide/dev_validator.html and while the javascript tag descrption is thorough: (http://struts.apache.org//struts-doc-1.2.8/userGuide

Client Side Validation

2006-08-01 Thread Chetan Pandey
Hi All: I am trying to do Client-Side Validation for my JSP Form: . . . . But the problem is I only see Server Side Validations no Client Side Validations. This is the Validator I am using which I copied from the Net

Client-side validation

2007-04-17 Thread Veronica Iturrioz
I have a form with client side validation: and an Action with some annotated validations: @Validations( requiredStrings = { @RequiredStringValidator( message = "Required", type = ValidatorType.FIELD,fieldName = "name

Enhanced client side validation

2004-10-07 Thread mike . dunn
We have a requirement to validate (using Javascript) beans whose properties can be of type Map, List, [], or any simple type. Furthermore, Maps, Lists, and []s can be arbitrarily nested. We have found that the validator only supports simple properties (on the client). We modified it last year to

Re: Client Side Validation

2006-03-21 Thread Ted Husted
ax must be very wrong because I'm getting: > ServletException: No form found under 'FooLookupAction' in locale 'en_US' > > I know that it is done one way if you use a normal ActionForm for and > another way > for DynaValidator* . I'm piuzzled as to why u

Re: Client Side Validation

2006-03-21 Thread Laurie Harper
#x27;FooLookupAction' in locale 'en_US' I know that it is done one way if you use a normal ActionForm for and another way for DynaValidator* . I'm piuzzled as to why usage examples on the various permutations of client side validation have not yet slipped into the docs after al

DynaValidatorActionForm client-side validation

2004-04-08 Thread Igor Antonacci
Hi All, I'm working on DynaValidatorActionForm client-side validation but I've some problems about. Everything is working but, as DynaValidatorActionForm maps validation rules with Action path attribute, Struts generates a client side validation method name with a "/" chara

Re: Client-side validation

2008-03-12 Thread Struts2SG
Hi , I wish that you can get some idea about this from the following link, http://struts2issues.blogspot.com/ Struts2 Veronica Iturrioz wrote: > > I have a form with client side validation: > > theme="xhtml"> > > and an Action

Re: Client-side validation

2008-03-12 Thread Dave Newton
--- Struts2SG <[EMAIL PROTECTED]> wrote: > I wish that you can get some idea about this from the following link, > > http://struts2issues.blogspot.com/ If you're going to post other people's answers on your blog it would be polite to properly attribute them. For example, I'm pretty sure "It might

Re: Client Side Validation

2006-08-01 Thread Lixin Chu
do you have something like: onsubmit="validateAttendeeDetailsForm (this);" in ? and form name is not attendeeDetailsForn ?

RE: Client Side Validation

2006-08-01 Thread Chetan Pandey
I have this: Where "validateRequired" comes from the following Javascript code in my validator-rules.xml But no Client-side Validation is occuring -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 0

Re: Client Side Validation

2006-08-02 Thread Romu
vascript generated in the source of your jsp btw . hope it helps 2006/8/2, Chetan Pandey <[EMAIL PROTECTED]>: I have this: Where "validateRequired" comes from the following Javascript code in my validator-rules.xml But no Client-side Validation is

RE: Client Side Validation

2006-08-02 Thread Chetan Pandey
: Re: Client Side Validation your form shoud have been named : attendeeDetailsForm, like bean no caps for first letter . then validateAttendeeDeta > > onsubmit="validateAttendeeDeta > > > > ilsForm (); > > or validateAttendeeDeta > > onsubmit="validateAttendee

Re: Client Side Validation

2006-08-02 Thread Irwan Nurwandi
Users Mailing List Subject: Re: Client Side Validation your form shoud have been named : attendeeDetailsForm, like bean no caps for first letter . then validateAttendeeDeta > > onsubmit="validateAttendeeDeta > > > > ilsForm (); > > or validateAttendeeDeta > > onsub

RE: Client Side Validation

2006-08-03 Thread Chetan Pandey
I have changed the name to attendeeDetailsForm everywhere as you have suggested And have html:form action="/addAttendeeDetails" onsubmit="return validateAttendeeDetailsForm(this)"> But this is not helping me still. I only get Server side validation, no Client Side Valid

client-side validation javascript error

2004-10-26 Thread Jeffrey Ford
Hi, I'm trying to get client-side validation to work using Struts, v. 1.2.2. More specifically, I'm receiving a javascript error while trying to use the 'required' validation rule. The error in IE says: Error: 'required' is undefined When I look at the generated j

Toomany Client-side validation code!!!

2004-08-19 Thread Rajesh
Hai all when we use Struts Validator in client side, it creates too big and many unwanted functions in the client side, is it possible to reduce or copy all javascript functioins into .js file and attach them so client dont want to read too much codes ? any solution there in Struts 1.1 Thanks,

Re: DynaValidatorActionForm client-side validation

2004-04-08 Thread Adam Hardy
naForm but different validation. Perhaps someone actually knows if there is a solution? On 04/08/2004 11:16 AM Igor Antonacci wrote: Hi All, I'm working on DynaValidatorActionForm client-side validation but I've some problems about. Everything is working but, as DynaValidatorActionForm m

RE: DynaValidatorActionForm client-side validation

2004-04-08 Thread Saul Q Yuan
truts Users Mailing List > Subject: Re: DynaValidatorActionForm client-side validation > > > Hmmm, good question. I had this problem, but never managed to > solve it. > I thought I was doing something wrong but I couldn't work it out. > Eventually I changed to DynaVal

RE: DynaValidatorActionForm client-side validation

2004-04-08 Thread Kunal H. Parikh
DynaValidatorForm.getValidationKey returns the mapping NAME! HTH, KP -Original Message- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: Friday, 9 April 2004 06:03 To: 'Struts Users Mailing List' Subject: RE: DynaValidatorActionForm client-side validation Hmmm, I don't seem to have th

Re: DynaValidatorActionForm client-side validation

2004-04-09 Thread Adam Hardy
ge- From: Saul Q Yuan [mailto:[EMAIL PROTECTED] Sent: Friday, 9 April 2004 06:03 To: 'Struts Users Mailing List' Subject: RE: DynaValidatorActionForm client-side validation Hmmm, I don't seem to have that problem. Did you specify method="validateYourActionForm" in additi

Re: DynaValidatorActionForm client-side validation

2004-04-09 Thread Niall Pemberton
DynaValidatorForm, which wasn't a big problem > because there were only 2 or 3 forms where I wanted to use the same > DynaForm but different validation. > > Perhaps someone actually knows if there is a solution? > > > > On 04/08/2004 11:16 AM Igor Antonacci wrote: >

Struts 2 Client-side Validation

2008-02-27 Thread Thaminda Karunanayake
Hi all, Can password confirmation be validated using client side validators in Struts 2 ...? Thanks Thaminda

Client Side Validation with Struts

2008-03-28 Thread Asad Habib
Hello. I am validating data on the client-side using the Javascript onsubmit event handler and this is working just fine. The problem I am having is with trying to prevent the action from being called after the alert window is closed. Is it possible to do this? If so, how? Also, for client side

Struts 2 Client Side Validation

2007-07-12 Thread Néstor Boscán
Hi I'm trying to use Struts 2 with client side validation. I would like to use a theme that does not add any HTML to the form, fields and error messages. I'm working with simple theme but it's not generating the JavaScript code to do the validation and the tag is generation

Datetimepicker and client-side validation

2008-09-11 Thread Kawczynski, David
I am using the datetimepicker on a form with client-side validation enabled. Form submissions with a blank datetime field should result in validation being run against that field. This is not the case -- this field is only validated on the server. No other form field uses the dojo, and they

Client Side Validation Not Working

2008-11-18 Thread Rabin Aryal
Guys, I don't know what I am doing wrong. I am missing the actual validation JavaScript code in the generated html when accessing add_comment.do?blogid=23. I have included the snippet below. addcomment.jsp " struts.xml /blog/addcomment.jsp /blog/addco

client side validation in struts2

2011-02-15 Thread dasariprasad
flect.Method.invoke(Method.java:597) at freemarker.ext.beans.BeansWrapper.invokeMet -- View this message in context: http://old.nabble.com/client-side-validation-in-struts2-tp30931442p30931442.html Sent from the Struts - User mailing list archive at Nabble.com. -

Re: client-side validation javascript error

2004-10-26 Thread Niall Pemberton
ent: Tuesday, October 26, 2004 5:52 PM Subject: client-side validation javascript error > Hi, > > I'm trying to get client-side validation to work using Struts, v. 1.2.2. > More specifically, I'm receiving a javascript error while trying to use the > 'required

Re: Toomany Client-side validation code!!!

2004-08-19 Thread Shinobu Kawai
Hi Rajesh, > when we use Struts Validator in client side, it creates too big and many > unwanted functions in the client side, > > is it possible to reduce or copy all javascript functioins into .js file > and attach them so client dont want to read too much codes ? Take a look at http://s

Re: Toomany Client-side validation code!!!

2004-08-19 Thread Rajesh
Hai you mean dynamicJavascript=false what will happen if i give it. normally html:javascript will create a main function called validate(form) {} will this function writes ? if so then where all the other functions goes ? Rajesh Shinobu Kawai wrote: Hi Rajesh, when we use Struts Validator

Re: Toomany Client-side validation code!!!

2004-08-19 Thread Shinobu Kawai
Hi Rajesh, > you mean dynamicJavascript=false > > what will happen if i give it. > > normally html:javascript will create a main function called > > validate(form) {} > > will this function writes ? if so then where all the other functions goes ? The javascript tag produces javascript i

[SOLVED} RE: DynaValidatorActionForm client-side validation

2004-04-09 Thread Igor Antonacci
Hi, I solved with your advice. Thanks a lot! Igor. > -Original Message- > From: Saul Q Yuan [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 08, 2004 10:03 PM > To: 'Struts Users Mailing List' > Subject: RE: DynaValidatorActionForm client-side validation &

newbie question on client-side validation

2005-03-03 Thread Jennifer Ball
Hello, I am having trouble creating the client-side JavaScript for a custom validator. Basically, the validator checks if the user input matches one of a set of 3 strings. I've written the server-side code but need help with the JavaScript. I have looked at the standard validator-rules.xml fi

Client side validation for radio button

2007-10-11 Thread Mitch Claborn
Using the xhtml theme, client-side validation for radio button is not working. I've tried both "required" and "requiredstring" but I suspect that none will work. The javascript code (from form-close-validation.ftl) does this: function validateForm_

RE: Struts 2 Client-side Validation

2008-02-27 Thread Deepak Kumar
Hello Thaminda, In strus 2 you can validate the forms using javascript. The good thing in strus 2 is that you don't have to write the code for validating the form. Code is automatically generated pease check http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-exam ple.

Re: Client Side Validation with Struts

2008-03-29 Thread Lukasz Lenart
Hi, Could you be more specific, which Struts version? If you use onsubmit event, you should do that like this: onsubmit="JavaScript: return validate();" where validate() has to return true or false. Regards -- Lukasz http://www.linkedin.com/in/lukaszlenart --

Re: Client Side Validation with Struts

2008-03-29 Thread Asad Habib
Hello. I am using Struts 1.3.8. The issue is not one of making the Javascript work (it is working correctly), but rather preventing a Struts action from being called. Is this possible given that the action of a form is a Struts action? - Asad On Sat, Mar 29, 2008 at 6:44 AM, Lukasz Lenart <[EMA

Re: Client Side Validation with Struts

2008-03-31 Thread Lukasz Lenart
> Hello. I am using Struts 1.3.8. The issue is not one of making the > Javascript work (it is working correctly), but rather preventing a > Struts action from being called. Is this possible given that the > action of a form is a Struts action? I'm not sure if I understand you, but all you have

[S2] Problems with client side validation

2007-05-30 Thread Olivier THIERRY
Hi, I try the client side validation with Struts 2. The validation is well done, but I have many problems : - For each datetimepicker field in my form, I have the following Javascript error, which displays in a pop up : "TypeError: row.cells has no properties" - Another pr

RE: Struts 2 Client Side Validation

2007-07-12 Thread Deepak Kumar
HI, Please check http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-exam ple.shtml Thanks -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 1:05 AM To: user@struts.apache.org Subject: Struts 2 Client Side Validation Hi

[S2]: Client-side validation per method

2007-08-09 Thread Veronica Iturrioz
Hi, I'm trying to use client-side validation with annotations in my action methods. But for all methods executes the same javascript validation. I want different validations for different methods. How can I do that? I put @SkipValidation in some methods. thanks, Ver

Re: Datetimepicker and client-side validation

2008-09-12 Thread Gabriel Belingueres
Validation = false; } } 2008/9/11 Kawczynski, David <[EMAIL PROTECTED]>: > I am using the datetimepicker on a form with client-side validation > enabled. > Form submissions with a blank datetime field should result in validation > > being

Re: Client Side Validation Not Working

2008-11-18 Thread Lukasz Lenart
And the server-side validation is working? I think not, name of xml is not as it should be - it should be CommentAction-save_comment-validation.xml Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PR

RE: Client Side Validation Not Working

2008-11-18 Thread Rabin Aryal
Lukasz, Thanks a lot. I changed the action name and then what a silly mistake... Rabin -Original Message- From: Lukasz Lenart [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 18, 2008 10:31 AM To: Struts Users Mailing List Subject: Re: Client Side Validation Not Working And

client side validation on included form

2007-02-21 Thread C. Adams
I have a form that I access via an action on an ajax-ish page. (Form and results are on same page) It's working great, but I can't figure out the validation. The page looks like this now: with the form looking like this: Between and With validation false, it works g

Re: client side validation in struts2

2011-02-15 Thread Chris Mawata
Try changing <%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld" %> to <%@ taglib prefix="s" uri="/struts-tags" %> Chris On Tue, 2011-02-15 at 06:38 -0800, dasariprasad wrote: > in clValid.jsp, i had used input page > <%@ taglib prefix="s" uri="/WEB-INF/struts-tags.tld" %> > > > Strut2's

Client side validation broken when using DynaValidatorActionForm.

2004-11-25 Thread Daffin, Miles (Company IT)
Hi All, Apologies if this one has already been covered (I searched the list). I am using struts 1.1 with one DynaValidatorActionForm for holding data from multiple jsp forms (wizard style reg form). The server side validation works fine but the generated javascript is broken. The name of the

Problem in Client Side Validation in Struts

2004-06-05 Thread Sandip Mante
Dear Sir, I have a problem in Client Side Validation in Struts 1.1.Actually see what is happening and what i have done: I have written all validdation and validation rules invalidator.xml and valation-rule.xml. I have given path (through plug-in tag) in struts-config file. \ I have called it

Re: Client side validation for radio button

2007-10-11 Thread Martin Gainty
in your jsp head tag.. what value have you assigned to theme? M- - Original Message - From: "Mitch Claborn" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Thursday, October 11, 2007 5:38 PM Subject: Client side validation for radio bu

RE: Client side validation for radio button

2007-10-12 Thread Mitch Claborn
In this case it is the xhtml theme. (Isn't specified in the mailto:[EMAIL PROTECTED] Sent: Wednesday, October 11, 2000 5:52 PM To: Struts Users Mailing List Subject: Re: Client side validation for radio button in your jsp head tag.. what value have you assigned to them

How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Hi all, just as title Thanks. Talos

Reg : Client side Validation on Indexed Collection

2007-09-01 Thread kukreja sanjeev
Hi , I am trying to put validations on indexed collection. Is there any way I can have that in validation-.xml file. It would be great if you can pls.throw some light on it. Thanks in advance, Sanjeev - Looking for a deal? Find great pri

[S2] client-side validation error message duplication

2008-09-12 Thread Kawczynski, David
I'm using struts 2.1.2, and the xhtml theme to render a form. When client-side validaiton fails, an error message is placed above the bad input fields. Subsequent submission attempts result in new error messages being ADDED to the UI, but the old messages are never removed. I need to clear out prev

Re: client side validation on included form

2007-02-22 Thread C. Adams
I have found a solution to this. The good news is it is a simple pass-through to the dojo contentpane. changing this: to this: " scriptSeparation="false" executeScripts="true" > fixes the issue. Could the developers add a passthrough to the dojo scriptSeparation property? On 2/21/07

Re: client side validation on included form

2007-02-22 Thread Musachy Barroso
Can you log a Jira ticket with the request? thanks musachy On 2/22/07, C. Adams <[EMAIL PROTECTED]> wrote: I have found a solution to this. The good news is it is a simple pass-through to the dojo contentpane. changing this: to this: " scriptSeparation="false" executeScripts="true"

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: Client side validation broken when using DynaValidatorActionForm.

2004-11-25 Thread David G. Friedman
/jspt ags-jp.html Regards, David -Original Message- From: Daffin, Miles (Company IT) [mailto:[EMAIL PROTECTED] Sent: Thursday, November 25, 2004 11:38 AM To: Struts Users Mailing List Subject: Client side validation broken when using DynaValidatorActionForm. Hi All, Apologies if this one has

RE: Client side validation broken when using DynaValidatorActionForm.

2004-11-26 Thread Daffin, Miles (Company IT)
David, Many thanks. -Miles > -Original Message- > From: David G. Friedman [mailto:[EMAIL PROTECTED] > Sent: 25 November 2004 17:49 > To: Struts Users Mailing List > Subject: RE: Client side validation broken when using > DynaValidatorActionForm. > > Miles,

RE: Problem in Client Side Validation in Struts

2004-06-05 Thread David Friedman
owing any javascript error messages. Regards, David -Original Message- From: Sandip Mante [mailto:[EMAIL PROTECTED] Sent: Saturday, June 05, 2004 12:33 AM To: [EMAIL PROTECTED] Subject: Problem in Client Side Validation in Struts Dear Sir, I have a problem in Client Side Validation in Strut

Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread jpiser
does not work unless I add interceptors to my action like this: /pages/userMgmt/createUser.jsp /pages/userMgmt/createUser.jsp /pages/userMgmt/profile.jsp however, at that point none of my client side validation works anymore in my form in

Re: How to enable the client side validation?

2008-03-26 Thread Nils-Helge Garli Hegvik
http://struts.apache.org/2.x/docs/client-side-validation.html Nils-H On Wed, Mar 26, 2008 at 9:34 AM, Chen Chunwei <[EMAIL PROTECTED]> wrote: > Hi all, > > just as title > > Thanks. > > Talos - To unsubscribe, e-mail: [EMAIL

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
:39 PM Subject: Re: How to enable the client side validation? http://struts.apache.org/2.x/docs/client-side-validation.html Nils-H On Wed, Mar 26, 2008 at 9:34 AM, Chen Chunwei <[EMAIL PROTECTED]> wrote: > Hi all, > &g

Re: How to enable the client side validation?

2008-03-26 Thread Antonio Petrelli
2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > My struts version is 1.1. And I tried to add formName="submitForm" /> in my jsp file which needs validation. But it seems > not working. See: http://struts.apache.org/1.1/userGuide/building_view.html#validator Antonio

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Thanks Antonio As I said, I've already used . Of course, I've alse done the other stuff found in the document you refer to (offline version). But it does not work. Can you give some more details of using client-side validation? Talos - Original Message - From: "A

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Well, the case is that the Javascript code was generated well, but it was not triggered. Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 5:10 PM Subject: Re: How

Re: How to enable the client side validation?

2008-03-26 Thread Antonio Petrelli
2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > Well, the case is that the Javascript code was generated well, but it was > not triggered. Well, that's strange. Can you post, the generated HTML and Javascript code? What browser are you using? Changing browser changes anything? Antonio

Re: How to enable the client side validation?

2008-03-26 Thread Antonio Petrelli
2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > As I said, I've already used . Of course, I've alse done > the other stuff found in the document you refer to (offline version). But it > does not work. What exactly does not work? Give more details, for example, exceptions at startup of the appli

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
olleague. But I wonder know is there any document refer to this? Or it should be a common sense? Talos - Original Message - From: "Antonio Petrelli" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 5:18 PM Subject: Re: How to en

Re: How to enable the client side validation?

2008-03-26 Thread Antonio Petrelli
2008/3/26, Chen Chunwei <[EMAIL PROTECTED]>: > > There's an attribute in named method. You can specify a > name in this attribute such as validateForm. Then specify the onsubmit event > of the actual form with "return validateForm(this);". After all, the > javascript works. > > The above solution

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Sorry for mis-typing. >But I wonder know ... should be But I wanna know... Talos - Original Message - From: "Chen Chunwei" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 26, 2008 5:34 PM Subject: Re: How to enable the client s

Struts 2.0: Ajax based client side validation "onblur"

2008-04-10 Thread goelshek
For Struts 2.0 (NOT 2.1): The documentation for introduction to http://struts.apache.org/2.0.11.1/docs/ajax-client-side-validation.html Ajax Client Side Validation says that "The validation occurs on each onblur event for each form element". The http://struts.apache.org/2.0.11.1

Re: Reg : Client side Validation on Indexed Collection

2007-09-05 Thread Laurie Harper
kukreja sanjeev wrote: Hi , I am trying to put validations on indexed collection. Is there any way I can have that in validation-.xml file. It would be great if you can pls.throw some light on it. Which version of Struts are you using? Struts 1 lets you specify multiple validation fil

Re: [S2] client-side validation error message duplication

2008-09-12 Thread Dave Newton
es all that lives in validation.js, although it's not served from the template directory. If you want to customize yours you need to change the form-validate.ftl template to use the location of your copy of validation.js. (I'm writing a small blurb about this in case my client-side valid

Re: [S2] client-side validation error message duplication

2008-09-12 Thread Pascal Lalonde
If you are using Spring into your projet, this may be related to the beans being singletons, we had this problem in the past, we actually were required to call cleanErrorsAndMessages method at each prepare call. - Pascal Kawczynski, David wrote: I'm using struts 2.1.2, and the xhtml theme to

RE: [S2] client-side validation error message duplication

2008-09-12 Thread Kawczynski, David
--- On Fri, 9/12/08, Kawczynski, David wrote: > I'm using struts 2.1.2, and the xhtml theme to render a > form. When client-side validaiton fails, an error message > is placed above the bad input fields. > Subsequent submission attempts result in new error messages > being ADDED to the UI, but the

Struts 2.1.2 client side validation doesn't get generated

2008-10-28 Thread Adam Ruggles
I'm trying to get struts to spit out the client side validation code and it doesn't seem to be working. The backend validation is working fine but when I use the xhtml theme with the , the script code under the form is not being generated. Looking at the code it looks like it'

controlling error message placement for client side validation

2009-08-22 Thread Mitch Claborn
css_xhtml theme. Using server-side validation, the error message for field validation is placed above the input field. Using client side, the error message is shown below. I prefer the messages above. Is there a way to force the client-side validation to put the messages above the input field

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=

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

Possible client side validation bug in Struts 2.3.15

2013-07-03 Thread Bruno Klava
Hi folks, after upgrading Struts from 2.3.14.3 to 2.3.15 my client side form validation stopped working. More specifically, the code to validate requiredstring is not being generated in the validateForm_xx() functions. Is anybody having the same issue? Tnx in advance, Bruno

Client Side Validation using a pure JSF Only Application

2004-09-28 Thread babloosony
Hi All, There is a pure web application that uses only jsf as model, view, controller. How do we achieve a reusable client-side validations framework likes Struts's validator framework ? Any ideas on how we do a clientside validation in a pure jsf application ? Thanks & Regards, Kumar. ---

Multiple ActionForms on a page - client side validation possible?

2004-04-20 Thread Berke, Wayne [IT]
erver side. However, I seem to be running into problems when trying to activiate client side validation via multiple html:javascript tags. To simplify things, I've only configured two ActionForms each of which has a property that uses the "required" validator. The tags in my JSP (in t

Struts 2: client side validation message kept displaying repeatedly

2008-01-07 Thread Cheng Wei Lee
I enabled client side validation for a form, when the user submits, the validation kicks in and the messages are shown. If the user didn't make any changes and proceed to submit again, the set messages are shown again. The messages kept increasing. Is there a way to clear the old messages b

Re: Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread Laurie Harper
rMgmt/createUser.jsp /pages/userMgmt/createUser.jsp /pages/userMgmt/profile.jsp however, at that point none of my client side validation works anymore in my form in the JSP. Can anyone explain to me why this is? Am I missing something? Probably basicStack doesn't include s

Re: Struts 2.0: Ajax based client side validation "onblur"

2008-04-10 Thread Musachy Barroso
another thread. regards musachy On Thu, Apr 10, 2008 at 2:38 PM, goelshek <[EMAIL PROTECTED]> wrote: > > For Struts 2.0 (NOT 2.1): > > The documentation for introduction to > http://struts.apache.org/2.0.11.1/docs/ajax-client-side-validation.html Ajax > Client Side Validati

struts 2 client side validation with JBoss (portal server)

2007-08-28 Thread Gervai, Tamas (GE Money, consultant)
Hello, I tried to use client side validation on my portal (portlet) with struts 2. It seems to me, that struts 2 just failed to generate client side validation JavaScript. My question is, is this a known bug, known defect or it should not work anyway? It seems just the JavaScript from the end

Re: Struts 2.1.2 client side validation doesn't get generated

2008-10-29 Thread Adam Ruggles
(parameters.performValidation?default(false) == true), but why does this performValidation there? Especially since the form-validate doesn't make the same check and generates the return function. -- View this message in context: http://www.nabble.com/Struts-2.1.2-client-side-validation-doesn%27t-get-gene

Re: Struts 2.1.2 client side validation doesn't get generated

2008-10-29 Thread Adam Ruggles
It looks like this is a Google Guice issue. When I swapped the guice plugin for the spring plugin everything worked as expected. -- View this message in context: http://www.nabble.com/Struts-2.1.2-client-side-validation-doesn%27t-get-generated-tp20221161p20240986.html Sent from the Struts

client side validation does not appear to be working

2008-11-19 Thread vineet semwal
hellos, i am using struts 2.1.2 with codebehind plugin ,i cant make client side validation working with validation annotations in my project though i have tried them succesfully in small examples. i am confused if i am hitting any issue in my configuration in project due to any other plugin. I am

Need help in client side validation in Struts 2.0

2007-04-18 Thread arunabh
hi, If somebody have some information about client side validation in Stutrs2. 0 then send me .I am in a desperate need of the same . thanks Arunabh -- View this message in context: http://www.nabble.com/Need-help-in-client-side-validation-in-Struts-2.0-tf3605223.html#a10072395 Sent from

Re: Possible client side validation bug in Struts 2.3.15

2013-07-03 Thread Maurizio Cucchiara
Hi Bruno, could you provide a code sample? Twitter :http://www.twitter.com/m_cucchiara G+ :https://plus.google.com/107903711540963855921 Linkedin:http://www.linkedin.com/in/mauriziocucchiara VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara Maurizio Cucchia

Re: Possible client side validation bug in Struts 2.3.15

2013-07-04 Thread Bruno Klava
Hi Maurizio, is was generating a minimal example but could not reproduce the bug in it. It must be something else, maybe a customized template/component. tnx anyway ;) Bruno On Wed, Jul 3, 2013 at 4:20 PM, Maurizio Cucchiara wrote: > Hi Bruno, > could you provide a code sample? > > Twitter

Re: Possible client side validation bug in Struts 2.3.15

2013-07-05 Thread Bruno Klava
Now I managed to create a minimal example that reproduces the error (the previous example I was trying was too minimal :) https://github.com/bklava/struts In the example, in the index action/page, there are 2 forms: the difference is that the form 1 submits to the action without setting a method

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/5 Bruno Klava : > As far as I can tell, this difference is due to changes made > in org.apache.struts2.components.Form.getValidators(String name) I would say that now is ok and previously it was a bug ;-) But you are right, that breaks backward compatibility Regards -- Łukasz + 48 606 32

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/10 Lukasz Lenart : > 2013/7/5 Bruno Klava : >> As far as I can tell, this difference is due to changes made >> in org.apache.struts2.components.Form.getValidators(String name) > > I would say that now is ok and previously it was a bug ;-) But you are > right, that breaks backward compatibili

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Alireza Fattahi
Hi, I get these two warnings: 2013-07-10 16:42:45,683  WARN (com.opensymphony.xwork2.interceptor.ParametersInterceptor:56) - Parameter [struts.enableJSONValidation] is on the excludeParams list of patterns! 2013-07-10 16:42:45,683  WARN (com.opensymphony.xwork2.interceptor.ParametersIntercept

Re: Possible client side validation bug in Struts 2.3.15

2013-07-11 Thread Bruno Klava
Issue created: https://issues.apache.org/jira/browse/WW-4139 On Wed, Jul 10, 2013 at 6:18 AM, Lukasz Lenart wrote: > 2013/7/10 Lukasz Lenart : > > 2013/7/5 Bruno Klava : > >> As far as I can tell, this difference is due to changes made > >> in org.apache.struts2.components.Form.getValidators(Str

Re: Possible client side validation bug in Struts 2.3.15

2013-07-11 Thread Lukasz Lenart
Solved, please check with the latest build ... hm ... ale the build are gone :\ https://builds.apache.org/view/S-Z/view/Struts/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ 2013/7/11 Bruno Klava : > Issue created: https://issues.apache.org/jira/browse/WW-4139 > > > On Wed, Jul

  1   2   >