Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-08 Thread BarryDev
Turns out the dwr servlet is lazily loaded and I needed to add 1. BarryDev wrote: > > The ServerContextFactory.get() only works if dwr has been already called > from a dwr initiated thread, otherwise it returns null. > -- View this message in context: http://www.nabble.com/-T5--Getting-DWR

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-07 Thread BarryDev
The ServerContextFactory.get() only works if dwr has been already called from a dwr initiated thread, otherwise it returns null. BarryDev wrote: > > Got the reverse ajax method working. An interesting gotcha if trying to > trigger a dwr reverse ajax call from a tapestry thread you need to get

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-07 Thread BarryDev
Howard Lewis Ship wrote: > > Ooops. I'll check a fix in for that with some other outstanding > changes (no JIRA issue necessary). > > Thanks Howard, Got the reverse ajax method working. An interesting gotcha if trying to trigger a dwr reverse ajax call from a tapestry thread you need to g

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread Howard Lewis Ship
Ooops. I'll check a fix in for that with some other outstanding changes (no JIRA issue necessary). On Thu, Nov 6, 2008 at 6:47 PM, BarryDev <[EMAIL PROTECTED]> wrote: > > > > Thiago H. de Paula Figueiredo wrote: >> >> Em Thu, 06 Nov 2008 11:29:30 -0300, BarryDev <[EMAIL PROTECTED]> >> escreveu: >

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread BarryDev
Thiago H. de Paula Figueiredo wrote: > > Em Thu, 06 Nov 2008 11:29:30 -0300, BarryDev <[EMAIL PROTECTED]> > escreveu: > > It should be named AppModule. > > Thanks actually I had it in AppModule but the the problem was I had an Collection in my method signature instead of a Configuration.

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread Thiago H. de Paula Figueiredo
Em Thu, 06 Nov 2008 11:29:30 -0300, BarryDev <[EMAIL PROTECTED]> escreveu: I've added this method to my AppSupport.java class (created from the archetype), It should be named AppModule. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor Consultor, desen

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread BarryDev
Thanks this makes a lot more sense. Also my above example wasn't working like magic, was getting errors tried to load assets :). I've reverted back and I'm attempted to get the configuration to work. I've added this method to my AppSupport.java class (created from the archetype), public stati

Re: [T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread Thiago H. de Paula Figueiredo
Em Thu, 06 Nov 2008 10:46:51 -0300, BarryDev <[EMAIL PROTECTED]> escreveu: app /app/* And it all works like magic. But you don't need to do that. Take a look at the end of this page: http://tapestry.apache.org/tapestry5/guide/conf.html. You can make Tape

[T5] Getting DWR to work with tapestry's filter mapping

2008-11-06 Thread BarryDev
Hey everyone, Just integrated direct web remoting into my tapestry app. Found one gotcha that I thought might be worth sharing. If you start the maven quickstart archetype your filter mapping will be: app /* When you try to add the servlet mapping for dwr d