Re: Javascript in T5.0.3

2007-10-02 Thread jblier
OK issue fixed. My JS files are in src/main/webapp/js/ however the message "Unable to resolve page 'js/effects' to a known page name." simply means "file not found". Meaning that some JS files were looking to other JS files that I forgot to add. Thanks for the help. Josh Canfield-2 wrote: > >

Re: Javascript in T5.0.3

2007-10-01 Thread Josh Canfield
Where are you putting your js file? Are you trying to dynamically generate the js? I've been sticking my static js files here: src/main/webapp/js/ and referencing them directly using

Re: Javascript in T5.0.3

2007-10-01 Thread jblier
gt; > - tap 5.0.4 - > @Inject > @Path("...") > private Asset getCalendarJS(); > > - tap 5.0.3 - > @Inject("...") > private Asset getCalendarJS(); > > > Cheers , > Alex > -- View th

Re: Javascript in T5.0.3

2007-04-11 Thread Alexandru Dragomir
By now , as already mentioned several times , javascript support in tap 5 is not yet fully implemented. Till then , the way to go is using OutputRaw (i think.. ) for dinamic javascript and adding JS file links for static jsvascript. For dinamic javascript it will be changed probably but can't sa

Re: Javascript in T5.0.3

2007-04-11 Thread Daniel Drasin
If i read this, you're dumping the body of the script into the page via a OutputRaw. (I can't see the actual content of the code on the java side w/o decompiling the class file, right?) I'm also thinking that this isn't quite 5.0.3 since u'r using t:type="OutputRaw" rather than the OutputRaw t

Re: Javascript in T5.0.3

2007-04-11 Thread Alexandru Dragomir
You might want to use this datepicker component http://code.google.com/p/tapestry5-jscalendar/ And you can also look into it for an example of how to include javascript. Cheers , Alex On 4/11/07, Daniel Drasin <[EMAIL PROTECTED]> wrote: Can anyone point me to an example or how-to for includi

Javascript in T5.0.3

2007-04-11 Thread Daniel Drasin
Can anyone point me to an example or how-to for including/using javascription in T5.0.3? (like i want to drop a datepicker in...) Thanks in advance, Dan Daniel Drasin [EMAIL PROTECTED] 8612 Long Meadow Ct (c) 614 330 7795Columbia, MD 21045 (c)