Re: Possible client side validation bug in Struts 2.3.15

2013-07-12 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 bkl...@gmail.com: Issue created: https://issues.apache.org/jira/browse/WW-4139

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 lukaszlen...@apache.orgwrote: 2013/7/10 Lukasz Lenart lukaszlen...@apache.org: 2013/7/5 Bruno Klava bkl...@gmail.com: As far as I can tell, this difference is due to changes made

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/5 Bruno Klava bkl...@gmail.com: 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 --

Re: Possible client side validation bug in Struts 2.3.15

2013-07-10 Thread Lukasz Lenart
2013/7/10 Lukasz Lenart lukaszlen...@apache.org: 2013/7/5 Bruno Klava bkl...@gmail.com: 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,

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

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-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 mcucchi...@apache.orgwrote: Hi Bruno, could you provide a code

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

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

Struts Validator Framework: client-side validation problem

2011-09-02 Thread RajasekharReddy
to nbsp; html:link href=SignUp.jspSignUp/html:link /strong/embr /center /body /html:html -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html Sent from the Struts - User mailing

Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Dave Newton
-- View this message in context: http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts Validator Framework: client-side validation problem

2011-09-02 Thread Brian Thompson
/html:link /strong/embr /center /body /html:html -- View this message in context: http://struts.1045723.n5.nabble.com/Struts-Validator-Framework-client-side-validation-problem-with-submitting-buttons-tp3481073p4761399.html Sent from the Struts - User mailing list archive at Nabble.com

client side validation in struts2

2011-02-15 Thread dasariprasad
=show client-Side validation/ /s:form /center /body /html in struts.xml package name=htcstruts extends=struts-default action name=ClientValid class=htcstruts.ClientValidAction result name=success /clResult.jsp /result result name=input

Re: client side validation in struts2

2011-02-15 Thread Chris Mawata
label=Service Name: emptyOption=true list={'DrivingLicence','ElectricityBill', 'WaterBill','InsurancePremium'} name=service / s:submit align=center value=show client-Side validation/ /s:form /center /body /html in struts.xml package name=htcstruts

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

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

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 s:form action=save_comment method=POST validate=true s:actionerror /

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

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

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

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

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 s:head /, the script code under the form is not being generated. Looking at the code it looks like it's failing

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 old

Re: Datetimepicker and client-side validation

2008-09-12 Thread Gabriel Belingueres
)) { addError(field, error); errors = true; #if validator.shortCircuitcontinueValidation = false;/#if } } /#if 2008/9/11 Kawczynski, David [EMAIL PROTECTED]: I am using the datetimepicker on a form with client-side

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

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-24 Thread cacodemon79
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: RegistrazioneUtenteForm. In my jsp page I have 2 buttons: 1) html:link href

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
. 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: RegistrazioneUtenteForm. In my jsp page I have 2 buttons: 1) html:link href

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

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

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
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 validation. The form name I have to validate

Re: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread 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: RegistrazioneUtenteForm. In my jsp page I have 2 buttons: 1) html:link href=javascript:submitRegistrazioneUtenteForm

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 Laurie Harper
(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) html:link href=javascript:submitRegistrazioneUtenteForm('registrazioneUtenteForm')bean:message key='form.submit

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) html:link href=javascript:submitRegistrazioneUtenteForm

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/docs/ajax

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 to

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

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

How to enable the client side validation?

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

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
: Wednesday, March 26, 2008 4: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, just as title Thanks. Talos

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
Thanks Antonio As I said, I've already used html:javascript. 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: Antonio

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
the client side validation? 2008/3/26, Chen Chunwei [EMAIL PROTECTED]: As I said, I've already used html:javascript. 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

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 html:javascript. 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

Re: How to enable the client side validation?

2008-03-26 Thread Chen Chunwei
the client side validation? 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

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

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 user@struts.apache.org Sent: Wednesday, March 26, 2008 5:34 PM Subject: Re: How to enable the client side validation

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: s:form validate=true action=myAction namespace=/ theme=xhtml and an Action with some

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 have

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

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

Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread jpiser
/result result name=create/pages/userMgmt/createUser.jsp/result result name=profile/pages/userMgmt/profile.jsp/result /action 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

Re: Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread Laurie Harper
/result /action 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 some of the interceptors that need to be there for client side validation to work

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 before

RE: Client side validation for radio button

2007-10-12 Thread Mitch Claborn
To: Struts Users Mailing List Subject: Re: Client side validation for radio button in your jsp head tag.. s:head theme=?/ what value have you assigned to theme? M- - Original Message - From: Mitch Claborn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Thursday

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_Question() { form

Re: Client side validation for radio button

2007-10-11 Thread Martin Gainty
in your jsp head tag.. s:head theme=?/ what value have you assigned to theme? M- - Original Message - From: Mitch Claborn [EMAIL PROTECTED] To: 'Struts Users Mailing List' user@struts.apache.org Sent: Thursday, October 11, 2007 5:38 PM Subject: Client side validation for radio button

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

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-action.xml file. It would be great if you can pls.throw some light on it. Thanks in advance, Sanjeev - Looking for a deal? Find

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 client side validation with JBoss (portal server)

2007-08-28 Thread Nils-Helge Garli
Client side validation is not currently supported in portlets. You might get it to work, but there are unresolved issues with escaping/namespaces etc of javascript function names and variables. You can register it as a JIRA issue, and hopefully we'll be able to resolve it in a future release

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

Re: [S2] Client side validation, hidden fields and clearErrorMessages not working in firefox

2007-07-24 Thread Max Pimm
Theo maxmil wrote: I'm using 2.0.8 and using client side validation which its almost working perfectly. Unfortunately the only obstacle is that i can't put hidden fields in my form. The validation works correctly the problem is that the second time i validate the same form (without sending

How to do Server/Client Side Validation with a model object that has a list

2007-07-20 Thread Néstor Boscán
Hi I have a model object thas has a list containing a model object. How do I configure my Action-validator.xml file to validate each model inside the list? Regards, Néstor Boscán

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 s:fielderror/ tag is generation ulli

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

Re: [S2] Client side validation, hidden fields and clearErrorMessages not working in firefox

2007-07-10 Thread Theo Platt
Thanks Max, I've just been looking at exactly the same area and I can replicate the same error. It works fine in IE but fails in firefox. I think you should enter it in JIRA. Cheers Theo maxmil wrote: I'm using 2.0.8 and using client side validation which its almost working perfectly

[S2] Client side validation, hidden fields and clearErrorMessages not working in firefox

2007-07-05 Thread Max Pimm
I'm using 2.0.8 and using client side validation which its almost working perfectly. Unfortunately the only obstacle is that i can't put hidden fields in my form. The validation works correctly the problem is that the second time i validate the same form (without sending it to the server

[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 problem with datetimepicker

Need help in client side validation in Struts 2.0

2007-04-19 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: Need help in client side validation in Struts 2.0

2007-04-19 Thread Laurie Harper
arunabh wrote: 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 Well, you could start with the documentation: http://struts.apache.org/2.x/docs/validation.html http://struts.apache.org/2.x

Client-side validation

2007-04-17 Thread Veronica Iturrioz
I have a form with client side validation: s:form validate=true action=myAction namespace=/ theme=xhtml and an Action with some annotated validations: @Validations( requiredStrings = { @RequiredStringValidator( message = Required, type = ValidatorType.FIELD

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: s:div theme=ajax href=PersonByAge_input.action executeScripts=true / to this: div dojoType=ContentPane href=s:url action=PersonByAge_input / scriptSeparation=false

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: s:div theme=ajax href=PersonByAge_input.action executeScripts=true /

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: s:div theme=ajax href=PersonByAge_input.action executeScripts=true / s:div id=resultBox theme=ajax / with

Re: Client Side Validation

2006-08-03 Thread Irwan Nurwandi
/ /html:form But the Code only does Server Side Validation. Am I missing naything pls. Thanks. Chetan Pandey -Original Message- From: Romu [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 3:28 PM To: Struts Users Mailing List Subject: Re: Client Side Validation your form shoud have

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 Validation. Thanks. Chetan

Re: Client Side Validation

2006-08-02 Thread Romu
/validator But no Client-side Validation is 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

RE: Client Side Validation

2006-08-02 Thread Chetan Pandey
-Original Message- From: Romu [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 02, 2006 3:28 PM To: Struts 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

Client Side Validation

2006-08-01 Thread Chetan Pandey
Hi All: I am trying to do Client-Side Validation for my JSP Form: html:javascript formName=AttendeeDetailsForm/ html:errors/ html:form action=/addAttendeeDetails . . . . /html:form But the problem is I only see Server Side Validations no Client Side Validations

Re: Client Side Validation

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

RE: Client Side Validation

2006-08-01 Thread Chetan Pandey
, org.apache.commons.validator.Validator, javax.servlet.http.HttpServletRequest msg=errors.required javascript![CDATA[ function validateRequired(form) { } ]] /javascript /validator But no Client-side Validation is occuring -Original

is there any way to customize the client side validation popup window

2006-05-19 Thread Lixin Chu
Hi All, would like to know if there is any way to customize the client side validation popup window ? i am using struts client side validator. thanks lixin

RE: is there any way to customize the client side validation popup window

2006-05-19 Thread Chaudhary, Harsh
: is there any way to customize the client side validation popup window Hi All, would like to know if there is any way to customize the client side validation popup window ? i am using struts client side validator. thanks lixin

[Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Hi: When I use the commonsValidator for required on the client side, the name of the component is not being picked up and the alert says null is required. This happens with both h:inputText and h:selectOneListbox, the only two I have tried. h:inputText id=s_id size=16 value=#{su_menu.s_id}

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Gary VanMatre
From: Mark Shifman [EMAIL PROTECTED] Hi: When I use the commonsValidator for required on the client side, the name of the component is not being picked up and the alert says null is required. This happens with both h:inputText and h:selectOneListbox, the only two I have tried.

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Thanks Gary: I am now getting a much more insidious exception thrown. I using the following: h:inputText id=s_id size=16 value=#{su_menu.s_id} s:commonsValidator type=required server=true client=true arg=#{msgs.validate_s_id}/ s:commonsValidator type=float server=true client=true

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Gary VanMatre
From: Mark Shifman [EMAIL PROTECTED] Thanks Gary: I am now getting a much more insidious exception thrown. I using the following: h:inputText id=s_id size=16 value=#{su_menu.s_id} s:commonsValidator type=required server=true client=true arg=#{msgs.validate_s_id}/

Re: [Shale] commons client side validation not picking up component name

2006-03-30 Thread Mark Shifman
Thanks!! I will submit a bug ticket tomorrow. Looking at the validator-rules.xml it looks like a double validator has been completely omitted. mas Gary VanMatre wrote: From: Mark Shifman [EMAIL PROTECTED] Thanks Gary: I am now getting a much more insidious exception thrown. I using the

[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

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

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

2006-03-29 Thread Paul Devine
: [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.1.1. The validation javascript is being written back to the browser. The server side validation is working fine but a javascript

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

2006-03-29 Thread Laurie Harper
-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.1.1

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 dataLists

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

2006-03-29 Thread Gary VanMatre
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 a dataList I tried using the commons validation features

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

2006-03-29 Thread Paul Devine
-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

  1   2   >