Re: Create WebPage inside a TimerTask Class

2008-06-09 Thread Fabien D.
Hi, thank you for tour help... This is a very strange behavior. I have tried to display this page, so I have created a link to this page, and everything is good, I have my Page, and it enters into the constructor. I have tried to put this timer class into a WebPage put, unfortunately it does'nt

Re: Create WebPage inside a TimerTask Class

2008-06-09 Thread Igor Vaynberg
you should use wickettester to do this...that will create all the proper threadlocal mocks you need. -igor On Mon, Jun 9, 2008 at 12:48 AM, Fabien D. [EMAIL PROTECTED] wrote: Hi, thank you for tour help... This is a very strange behavior. I have tried to display this page, so I have

Re: Create WebPage inside a TimerTask Class

2008-06-08 Thread Eelco Hillenius
You'll need to set the whole thread up like you would regularly do when you want to construct and render a Wicket page in a separate thread. After that, it should just work. If it doesn't even execute your log statement, I suspect something else is wrong. Do you have a stack trace to share? Eelco