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 > > <servlet> > <servlet-name>dwr-invoker</servlet-name> > > <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class> > <init-param> > <param-name>activeReverseAjaxEnabled</param-name> > <param-value>true</param-value> > </init-param> > <init-param> > <param-name>debug</param-name> > <param-value>true</param-value> > </init-param> > <init-param> > <param-name>maxWaitAfterWrite</param-name> > <param-value>-1</param-value> > </init-param> > <load-on-startup>1</load-on-startup> > </servlet> > > <servlet-mapping> > <servlet-name>dwr-invoker</servlet-name> > <url-pattern>/dwr/*</url-pattern> > </servlet-mapping> > > added the following to the module class: > > public static void contributeIgnoredPathsFilter(Configuration<String> > configuration) { > configuration.add("/dwr/.*"); > } > > Now, Im trying to run a simple test but not sure how to handle the dwr.xml, > specifically, what to use as creator? > > <allow> > <create creator="?" > > > </create> > </allow> > > Has anyone got a working example with tapestry that can be looked at? > > Appreciate any help. > > Thanks > > ..kace > > > >