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

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

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

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

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

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 with some annotated validations: > > @Validations

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

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 button Using the xhtml theme, client-

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"

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

2006-08-03 Thread Chetan Pandey
ation. Thanks. Chetan Pandey -Original Message- From: Irwan Nurwandi [mailto:[EMAIL PROTECTED] Sent: Thursday, August 03, 2006 2:13 PM To: Struts Users Mailing List Subject: Re: Client Side Validation Dear Chetan Look at your bean form definition in your validation.xml if you spe

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-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 Romu
occuring -Original Message- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 10:35 AM To: Struts Users Mailing List Subject: Re: Client Side Validation do you have something like: onsubmit="validateAttendeeDetailsForm (this);&qu

RE: Client Side Validation

2006-08-01 Thread Chetan Pandey
2, 2006 10:35 AM To: Struts Users Mailing List Subject: Re: Client Side Validation do you have something like: onsubmit="validateAttendeeDetailsForm (this);" in ? and form name is not attendeeDetailsForn ? - To

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-03-21 Thread Laurie Harper
Also, you'll need to move the html:javascript tag inside the html:form tag. The reason you're getting an error looking up the form bean is because it only exists within the scope of html:form tag. Note that this requirement is generally true for form-based tag in the html taglib. L. Ted Huste

Re: Client Side Validation

2006-03-21 Thread Ted Husted
The MailReader application for 1.3 uses DynaValidatorForm's. You could change those to DynaValidatorActionForm to test the syntax changes. * http://svn.apache.org/dist/struts/apps/v1.3.0/ HTH, Ted. On 3/21/06, Vinny <[EMAIL PROTECTED]> wrote: > Anyone have an example of using client > side vali

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
Miles, Validation based on actions has that slash-in-the-name related problem. You can specify a name for the validation method using the html:javascript attribute method="...". Just be sure to change your html:form's onsubmit to invoke that new method name. For example: Just use the name "

Re: client-side validation javascript error

2004-10-26 Thread Niall Pemberton
Version 1.2.2 of Struts was withdrawn because of problems. The current "ga" quality release of Struts is Version 1.2.4 http://struts.apache.org/acquiring.html Niall - Original Message - From: "Jeffrey Ford" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 26, 2004 5:52

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
Hi, Download the sources from this site http://horstmann.com/corejsf/ In ch12 you can find examples for generating the client side javascript code for performing the client side validations. Regards, KP -Original Message- From: babloosony [mailto:[EMAIL PROTECTED] Sent: Wednesday, Sept

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+JSF the same way you