You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Ryan Sonnek <ry...@gmail.com> on 2007/04/29 23:10:21 UTC

What is ScriptaculousRequestTarget?

http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-scriptaculous/src/java/org/wicketstuff/scriptaculous/ScriptaculousRequestTarget.java?revision=2024&view=markup

I have been backporting features from the 2.0 branch to the new trunk
and came across this very odd class.  Why was this added?  It looks to
be locking on the session to stream output back to the user.  seems
like this would prevent multiple "asynchronous" ajax requests?  also,
this really doesn't seem relevant to the scriptaculous project...

any ideas on who/why this was added?

Re: What is ScriptaculousRequestTarget?

Posted by Johan Compagner <jc...@gmail.com>.
somebody made a copy of the ResourceStreamRequestTarget ...


On 4/30/07, Eelco Hillenius <ee...@gmail.com> wrote:
>
>
> http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-scriptaculous/src/java/org/wicketstuff/scriptaculous/ScriptaculousRequestTarget.java?revision=2024&view=markup
> >
> > I have been backporting features from the 2.0 branch to the new trunk
> > and came across this very odd class.  Why was this added?  It looks to
> > be locking on the session to stream output back to the user.  seems
> > like this would prevent multiple "asynchronous" ajax requests?  also,
> > this really doesn't seem relevant to the scriptaculous project...
> >
> > any ideas on who/why this was added?
>
> I don't know. It says Johan is the author. Anyway, getLock isn't used
> anymore in Wicket 1.3. Unfortunately, we can't break 'hard' as many
> request target implementations implement the interface directly. But
> it's not actually locking on the session.
>
> Eelco
>

Re: What is ScriptaculousRequestTarget?

Posted by Eelco Hillenius <ee...@gmail.com>.
http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicket-contrib-scriptaculous/src/java/org/wicketstuff/scriptaculous/ScriptaculousRequestTarget.java?revision=2024&view=markup
>
> I have been backporting features from the 2.0 branch to the new trunk
> and came across this very odd class.  Why was this added?  It looks to
> be locking on the session to stream output back to the user.  seems
> like this would prevent multiple "asynchronous" ajax requests?  also,
> this really doesn't seem relevant to the scriptaculous project...
>
> any ideas on who/why this was added?

I don't know. It says Johan is the author. Anyway, getLock isn't used
anymore in Wicket 1.3. Unfortunately, we can't break 'hard' as many
request target implementations implement the interface directly. But
it's not actually locking on the session.

Eelco