SV: SV: [Shale] commons client side validation not working inside a dataList

2006-03-29 Thread Hermod Opstvedt
] commons client side validation not working inside a dataList Why would that be needed? The s:commonsValidator tag should render Javascript referencing the actual rendered ID of the component it's attached to. I haven't played much with validators, much less validators for components inside

Re: SV: [Shale] commons client side validation not working inside a dataList

2006-03-29 Thread Laurie Harper
t. Hermod -Opprinnelig melding- Fra: Paul Devine [mailto:[EMAIL PROTECTED] Sendt: 29. mars 2006 22:47 Til: user@struts.apache.org Emne: [Shale] commons client side validation not working inside a dataList I tried using the commons validation features of Shale. The application is using Myfaces 1

Re: [Shale] commons client side validation not working inside a dataList

2006-03-29 Thread Paul Devine
t;[EMAIL PROTECTED]> wrote: > > Hi > > Did I hear forceId? - You need to use this attribute to force the name to > be > what you want. > > Hermod > > > -Opprinnelig melding- > Fra: Paul Devine [mailto:[EMAIL PROTECTED] > Sendt: 29. mars 2006 22:47 > Ti

SV: [Shale] commons client side validation not working inside a dataList

2006-03-29 Thread Hermod Opstvedt
Hi Did I hear forceId? - You need to use this attribute to force the name to be what you want. Hermod -Opprinnelig melding- Fra: Paul Devine [mailto:[EMAIL PROTECTED] Sendt: 29. mars 2006 22:47 Til: user@struts.apache.org Emne: [Shale] commons client side validation not working inside

[Shale] commons client side validation not working inside a dataList

2006-03-29 Thread Paul Devine
I tried using the commons validation features of Shale. The application is using Myfaces 1.1.1. The validation javascript is being written back to the browser. The server side validation is working fine but a javascript `field error occurs during the . However there is a problem with the client

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

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

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

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

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

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

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

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

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 using a pure JSF Only Application

2004-09-29 Thread Duncan Mills
Check out the Oracle Faces components set which you can get an Early Access version of from: http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/index.html This implemenation has client side validators built-in Regards Duncan Mills babloosony wrote: Hi All, There i

RE: Client Side Validation using a pure JSF Only Application

2004-09-28 Thread Prasad, Kamakshya
, September 29, 2004 3:27 PM To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Client Side Validation using a pure JSF Only Application 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

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

Re: client side validation using struts in a jsf+struts integrated application

2004-09-26 Thread Craig McClanahan
On Fri, 24 Sep 2004 11:38:56 +0530, babloosony <[EMAIL PROTECTED]> wrote: > Hi All, > > How do I do client side validation(using struts) in jsf+struts > integrated application which uses jsf-struts libary provided by > CraigMc. ? You enable client side validation with Struts

client side validation using struts in a jsf+struts integrated application

2004-09-23 Thread babloosony
Hi All, How do I do client side validation(using struts) in jsf+struts integrated application which uses jsf-struts libary provided by CraigMc. ? Thanks & Regards, Kumar. - To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: Validation problem - form still submits after client-side validation fails.

2004-09-21 Thread James Mitchell
k="document.forms[0].Dispatch.value='Save';document.forms[0].submit(); > > > " src="/images/btn_primary_action_save.gif" align="right" > > onmouseover="src='/images/btn_primary_action_save_roll.gif'" > >

RE: Validation problem - form still submits after client-side validation fails.

2004-09-20 Thread David G. Friedman
Brian, To answer your question: > Both the client-side and the server-side validation > are executing instead of just the client-side. Set your action in struts-config.xml to validate="false". Your html:javascript will still work for the client-side validation but NOTHING wil

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

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

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

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: Multiple ActionForms on a page - client side validation possible?

2004-04-20 Thread Niall Pemberton
http://issues.apache.org/bugzilla/show_bug.cgi?id=17667 try the latest nightly build. Niall - Original Message - From: "Berke, Wayne [IT]" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 20, 2004 5:26 PM Subject: Multiple ActionForms on a page -

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

[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 &

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

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

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

<    1   2