Rather than firing new threads for each ajax
operation, wouldn't it be nice that wicket itself
handles each ajax operation in separate threads.
Or there must be some mechanism to allow user to abort
the request.

Anyway i will stick to your idea for now.
--- Johan Compagner <[EMAIL PROTECTED]> wrote:

> just fire off a new thread or runnable (using a
> threadpool)
> and then "connect"  that thread to a session so that
> you can poll for it
> when it is finished.
> Then you also can say, this takes to long and set a
> boolean so that the
> worker thread does do a terminate as soon as
> possible
> 
> johan
> 
> 
> On 1/24/07, Prashant Khanal <[EMAIL PROTECTED]>
> wrote:
> >
> > How to use that in a wicket. Can u explain it a
> bit
> > more.
> > --- Nino Wael <[EMAIL PROTECTED]> wrote:
> >
> > > Why not use a worker thread?
> > >
> > > -----Original Message-----
> > > From: [EMAIL PROTECTED]
> > >
> [mailto:[EMAIL PROTECTED]
> > > On Behalf Of Prashant Khanal
> > > Sent: 23. januar 2007 04:41
> > > To: wicket-user@lists.sourceforge.net
> > > Subject: Re: [Wicket-user] how to abort the
> > > xmlhttprequest
> > >
> > > Ok the main problem is that i want to include
> some
> > > timeout mechanism for ajax operation and to
> abort
> > > the
> > > request in case it takes considerable time.
> > > As can be done with XMLHttpRequest using
> setTimeOut,
> > > is there any way that i can achive this in
> wicket.
> > >
> > > So the main reason to cancel is for those ajax
> > > operation that takes awful long time.
> > >
> > > --- Nino Wael <[EMAIL PROTECTED]> wrote:
> > >
> > > > Why do you need to cancel it?
> > > >
> > > >
> > > > -----Original Message-----
> > > > From:
> [EMAIL PROTECTED]
> > > >
> [mailto:[EMAIL PROTECTED]
> > > > On Behalf Of Prashant Khanal
> > > > Sent: 22. januar 2007 12:09
> > > > To: wicket-user@lists.sourceforge.net
> > > > Subject: [Wicket-user] how to abort the
> > > > xmlhttprequest
> > > >
> > > > Hello all,
> > > > Is there any way to abort the xmlhttprequest
> in
> > > > wicket. As XMLHttpRequest object has got
> abort()
> > > > method to abort the request. Can it be used in
> > > > wicket.
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
____________________________________________________________________________________
> > > > We won't tell. Get more on shows you hate to
> love
> > > > (and love to hate): Yahoo! TV's Guilty
> Pleasures
> > > > list.
> > > > http://tv.yahoo.com/collections/265
> > > >
> > > >
> > >
> >
>
-------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future
> of
> > > IT
> > > > Join SourceForge.net's Techsay panel and
> you'll
> > > get
> > > > the chance to share your
> > > > opinions on IT & business topics through brief
> > > > surveys - and earn cash
> > > >
> > >
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > > >
> > >
> >
>
-------------------------------------------------------------------------
> > > > Take Surveys. Earn Cash. Influence the Future
> of
> > > IT
> > > > Join SourceForge.net's Techsay panel and
> you'll
> > > get
> > > > the chance to share your
> > > > opinions on IT & business topics through brief
> > > > surveys - and earn cash
> > > >
> > >
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > >
> _______________________________________________
> > > > Wicket-user mailing list
> > > > Wicket-user@lists.sourceforge.net
> > > >
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
____________________________________________________________________________________
> > > Don't get soaked.  Take a quick peak at the
> forecast
> > > with the Yahoo! Search weather shortcut.
> > >
> http://tools.search.yahoo.com/shortcuts/#loc_weather
> > >
> > >
> >
>
-------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of
> IT
> > > Join SourceForge.net's Techsay panel and you'll
> get
> > > the chance to share your
> > > opinions on IT & business topics through brief
> > > surveys - and earn cash
> > >
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> > >
> >
>
-------------------------------------------------------------------------
> > > Take Surveys. Earn Cash. Influence the Future of
> IT
> > > Join SourceForge.net's Techsay panel and you'll
> get
> > > the chance to share your
> > > opinions on IT & business topics through brief
> > > surveys - and earn cash
> > >
> >
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > > _______________________________________________
> > > Wicket-user mailing list
> > > Wicket-user@lists.sourceforge.net
> > >
> >
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> > >
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Never miss an email again!
> > Yahoo! Toolbar alerts you the instant new Mail
> arrives.
> 
=== message truncated ===>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get
> the chance to share your
> opinions on IT & business topics through brief
> surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>
_______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
>
https://lists.sourceforge.net/lists/listinfo/wicket-user
> 



 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to