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 > 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. Adamsen wrote: > > 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 >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >