Greetings, Wicket Wizards,

I am continuing my delightful acclimatization to Wicket, and would
appreciate a couple of quick hints regarding the following:

(1) My webapp makes several requests to back-end services. This could take
up to a couple of minutes under certain circumstances.  It appears that
Wicket times out a page request after one minute. (?)  How do I tell Wicket
to wait longer?  I did some googling and found the
IRequestCycleSettings.setTimeout(Duration) method, but the documentation did
not make me confident that I'd found the right thing.  

If that is the right method to call, how do I obtain the instance to invoke
the setTimeout method on?  Any other timeout issues I should be aware of? 

(2) Since certain of my pages make a series of back-end service requests
before responding, it would be cool if I could have a kind of "status" pane
that tells the user how far along the webapp is.  Given that Wicket tends to
make hard things easy, I'm fantasizing that I could create some kind of
Ajax-y pane that refreshes itself periodically with the contents of a String
that I keep in my session instance.  Then, as my internal page processing
code works through the backend requests, the code can just update that
string and it will be displayed to the user.  

Is that possible?  Any pointers to classes/code I could look at to orient
myself? 

Thanks so much!
Cheers,
Philip Johnson 
-- 
View this message in context: 
http://www.nabble.com/Request-for-hints%3A-Long-duration-requests--ajax-%27status%27-line-tp16830536p16830536.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to