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

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

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 re

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) 2) and the following form declaration: Moreover I have en

[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

[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. ... function required() { this[0] = new

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

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

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: Struts Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread cacodemon79
m. 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 is: RegistrazioneUt

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 Validator Framework: client-side validation problem with submitting buttons

2008-06-23 Thread Laurie Harper
m is submitted but I can't see any 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 val

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

2008-06-23 Thread cacodemon79
form is submitted but I can't see any >> javascript alerts. >> >> I can't understand where is the problem. >> >> I hope you can help me. >> >> Thanks. >> >> >> >> cacodemon79 wrote: >>> Hi, I'm using Str

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
emon79 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) 2) and the following form declaration: Moreover I ha

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

2008-06-24 Thread cacodemon79
esult is the same. The form is submitted but I can't see any >>>> javascript alerts. >>>> >>>> I can't understand where is the problem. >>>> >>>> I hope you can help me. >>>> >>>> Thanks. >>>&

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

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 hav

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: arg="#{msgs.validate_s_id}"/> arg="#{msgs.validate_s_id}" /> I now get when I submit a float. java.lang.NullPointerException at org.apache.shale.validator.CommonsValidator.validate(CommonsVa

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: > > > arg="#{msgs.validate_s_id}"/> > arg="#{msgs.validate_s_id}" /> > > >java.lang.NullPointerException >at >org.apache.shale.validator.Co

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 f

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

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

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 unsubscr

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 PROTEC

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

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 Gary VanMatre
stvedt 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:[EM

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

2006-03-29 Thread Paul Devine
SP and, if possible, copy/paste the > > rendered HTML as well, in a Bugzilla ticket so the issue gets tracked? > > > > L. > > > > Hermod Opstvedt wrote: > > > Hi > > > > > > Did I hear forceId? - You need to use this attribute to force the nam

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

2006-03-29 Thread Gary VanMatre
gt; > > > L. > > > > > > Hermod Opstvedt wrote: > > > > Hi > > > > > > > > Did I hear forceId? - You need to use this attribute to force the name > > to be > > > > what you want. > > > > > &g

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

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

2007-07-24 Thread Max Pimm
heers 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 (wit

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

2006-05-19 Thread Chaudhary, Harsh
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 - To

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

<    1   2