-
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
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
examples on the
various permutations
of client side validation have not yet slipped into the docs after all
these years.
Thanks in advance.
Vinny
--
Ghetto Java: http://www.ghettojava.com
-
To unsubscribe, e-mail: [EMAIL
on the
various permutations
of client side validation have not yet slipped into the docs after all
these years.
Thanks in advance.
Vinny
--
Ghetto Java: http://www.ghettojava.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED
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
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
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,
Validation based on actions has
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
=
548445
http://homepage2.nifty.com/ymagic/struts/OtherTranslate/StrutsValidator/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
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 javascript, this is indeed true
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' validation rule. The error in IE says:
Error: 'required' is undefined
When I
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
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.
, 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
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
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+JSF the same way you do
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
/btn_primary_action_save_roll.gif'
onmouseout=src='/images/btn_primary_action_save.gif'/
The roll-over images works, and the enter key works but it looks like
the
form still gets submitted after client-side validation fails. Does
anyone
know how to prevent that and still maintain
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,
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
Hai
you mean dynamicJavascript=false
what will happen if i give it.
normally html:javascript will create a main function called
validateformname(form) {}
will this function writes ? if so then where all the other functions goes ?
Rajesh
Shinobu Kawai wrote:
Hi Rajesh,
when we use Struts
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
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 Struts 1.1
. 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 the HTML head) look like
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 - client side validation
the 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 that problem. Did
]
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 addition to:
formName=/yourActionPath in your html:javascript tag? If so, the js
PROTECTED]
Sent: Thursday, April 08, 2004 8:02 PM
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 DynaValidatorForm, which
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
Hmmm, I don't seem to have
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 / character.
It is because
101 - 130 of 130 matches
Mail list logo