Re: [T5]How to make indentical validation on the client side.

2008-08-19 Thread zack.manning
} >>>> } >>>> the constraintValue is just the id of the password field,how can i get >>>> the >>>> password field's real value in a validator? >>>> >>>> /luna >>> ---

Re: [T5]How to make indentical validation on the client side.

2008-08-19 Thread Filip S. Adamsen
Well, he could. But then he wouldn't get all the advantages of using the proper validation system. -Filip On 2008-08-19 22:19, zack.manning wrote: Maybe I'm missing something but why cant you just create a mixin with this functionality instead of using a validator? Zack Filip S. Adamsen wro

Re: [T5]How to make indentical validation on the client side.

2008-08-19 Thread zack.manning
password field,how can i get >> the >> password field's real value in a validator? >> >> /luna > > ----------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] >

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Filip S. Adamsen
Looking further into this, it doesn't even seem to be possible... Not as far as I can tell, anyhow. But then it's late here. Anyone else? -Filip On 2008-08-19 04:36, luna_guo wrote: Filip S. Adamsen-2 wrote: Hi, This should get you started: http://wiki.apache.org/tapestry/Tapestry5HowToAd

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread luna_guo
7;s real value in a validator? /luna -- View this message in context: http://www.nabble.com/-T5-How-to-make-indentical-validation-on-the-client-side.-tp19027077p19043422.html Sent from the Tapestry - User mailing list archive at Nabble.com. --

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Filip S. Adamsen
There really should be a configuration point to add validation scripts to - or a way for each individual validator to include a script... -Filip On 2008-08-18 22:43, Geoff Callender wrote: So in other words there isn't a better way yet. Are there any thoughts on how this may be improved in fut

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Geoff Callender
So in other words there isn't a better way yet. Are there any thoughts on how this may be improved in future? On 18/08/2008, at 11:49 PM, Davor Hrg wrote: you can use @IncludeJavaScriptLibrary annotation in your page or in a component Davor Hrg On Mon, Aug 18, 2008 at 3:44 PM, Geoff Callend

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Davor Hrg
you can use @IncludeJavaScriptLibrary annotation in your page or in a component Davor Hrg On Mon, Aug 18, 2008 at 3:44 PM, Geoff Callender < [EMAIL PROTECTED]> wrote: > The problem with that How To is this line: > >"This javascript file needs to be included in all pages/components > wher

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Geoff Callender
The problem with that How To is this line: "This javascript file needs to be included in all pages/components where the new validator is to be used (Is there a better way?)" So, is there a better way? Can we "contribute" javascript to the app? Geoff On 18/08/2008, at 10:50 PM, Filip S. Ad

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Filip S. Adamsen
Hi, This should get you started: http://wiki.apache.org/tapestry/Tapestry5HowToAddValidators -Filip On 2008-08-18 09:39, luna_guo wrote: Confirm password checking is so common. It should happen on the client side,right? So,what should i do ? /luna --

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread luna_guo
. It's just use to make sure user hnows what he typed. But in some case,the javascript don't work well. It will be a problem,so i'll also do the check on the server. I just want to use client side check to save user's time. /luna -- View this message in context: http://www.nab

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Olivier Jacquet
Client side checking is just a convenience. Everything should be checked on the server side as well for people without javascript or just malicious people sending their own data to the server. Having said that, I'm not advanced enough to explain how you add a custom javascript validator.

Re: [T5]How to make indentical validation on the client side.

2008-08-18 Thread Stephane Decleire
I'm not sure at all that the password checking should be done on the client side for security reason Stephane luna_guo a écrit : Confirm password checking is so common. It should happen on the client side,right? So,what should i do ? /luna

[T5]How to make indentical validation on the client side.

2008-08-18 Thread luna_guo
Confirm password checking is so common. It should happen on the client side,right? So,what should i do ? /luna -- View this message in context: http://www.nabble.com/-T5-How-to-make-indentical-validation-on-the-client-side.-tp19027077p19027077.html Sent from the Tapestry - User mailing list