Where is the demoReply tag in your html ?
Have you tried to launch the DWR test tool to check that it works before
integrating it in your pages ?
Stephane
kace a écrit :
> I ended up with the following in my page class to get the scripts added:
>
> void setupRender() {
>
> renderSuppo
I ended up with the following in my page class to get the scripts added:
void setupRender() {
renderSupport.addScriptLink(request.getContextPath()+
"/dwr/engine.js");
renderSupport.addScriptLink(request.getContextPath()+
"/dwr/util.js");
renderSupport.addScriptLink(re
Nope, that doesnt work :( it takes me to my page class and then starts to
look for the js from that reference point ( I think)
Caused by: java.lang.RuntimeException: Unable to locate asset
'context:dwr/engine.js' (the file does not exist).
Thanks
..kace
--
View this message in context:
http:
Change that to @IncludeJavaScriptLibrariy("context:/dwr/engine.js")
kace wrote:
Looking to get the javascript files injected for dwr into my page but having
difficulty with the @IncludeJavaScriptLibrary("/dwr/engine.js")
Using that tells it to look for the js files where the page class is but I
Looking to get the javascript files injected for dwr into my page but having
difficulty with the @IncludeJavaScriptLibrary("/dwr/engine.js")
Using that tells it to look for the js files where the page class is but I
am needing it to look at http://myapp/dwr/engine.js
Thanks,
..kace
--
Vi
What would I have to do differently in order to use Spring as the glue?
--
View this message in context:
http://www.nabble.com/DWR-with-T5-tp22249541p22249913.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
I've integrated DWR in my application and even in several libraries.
The simplest way seems to use Spring as the glue ...
So you can use Spring as the creator.
Stephane
kace a écrit :
> Hi fellas,
>
> I am looking to integrate Tapestry 5 with DWR 3-RC1.
>
> Added the following to web.xml
>
>