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
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
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
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:
>
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.
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
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
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
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