Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-02-08 Thread Carfield Yim
A very old question but only get time to fix now. And found that the problem only occur at startPage(final Page page) but not startPage(final ITestPageSource source) , so I change all test to this method. Most work ok, just have one get the other exception java.lang.IllegalArgumentException:

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-09 Thread Johan Compagner
yes or see whats different with the code i posted and patch your tester. On 1/6/07, Carfield Yim [EMAIL PROTECTED] wrote: but it can be that it is purely 1.3 So I need to wait for version 1.3 you mean? - Take Surveys.

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
On 12/28/06, Carfield Yim [EMAIL PROTECTED] wrote: On 12/27/06, Johan Compagner [EMAIL PROTECTED] wrote: which version of wicket is that? That should be fixed. Wicket 1.2.3, may be I should upgrade to 1.2.4 Just upgrade to 1.2.4 and this problem is still there. And I've double verify that

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Johan Compagner
this is currently the code: public final Page startPage(final Page page) { setHomePage(DummyHomePage.class); processRequestCycle(page); Page last = getLastRenderedPage(); createRequestCycle(); this line should make sure that the touch works...

Re: [Wicket-user] When will RequestCycle.detach() being called?

2007-01-05 Thread Carfield Yim
but it can be that it is purely 1.3 So I need to wait for version 1.3 you mean? - 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

[Wicket-user] When will RequestCycle.detach() being called?

2006-12-27 Thread Carfield Yim
I just get another exception from the unit test, this is kind of strangle that complaint about No RequestCycle available: wicket.WicketRuntimeException: Can not set the attribute. No RequestCycle available at wicket.Session.setAttribute(Session.java:933) at

Re: [Wicket-user] When will RequestCycle.detach() being called?

2006-12-27 Thread Johan Compagner
which version of wicket is that? That should be fixed. And it is not strange becuase in that startPage we did call touch on the page/session after the complete processRequestcycle was called. johan On 12/27/06, Carfield Yim [EMAIL PROTECTED] wrote: I just get another exception from the unit

Re: [Wicket-user] When will RequestCycle.detach() being called?

2006-12-27 Thread Carfield Yim
On 12/27/06, Johan Compagner [EMAIL PROTECTED] wrote: which version of wicket is that? That should be fixed. Wicket 1.2.3, may be I should upgrade to 1.2.4 And it is not strange becuase in that startPage we did call touch on the page/session Strangle is I have several other unit test of