Dear Wicket gurus,
Suppose I have two Wicket page, let's say page A and B,
with the following simple navigation rule A -- B using something like
A. setResponsePage( new B() )
At compiles time A know B , but B does not know A.
It there a way to get - at runtime - from page B the reference to
Why do you want to avoid this?
If you're going to be using the previous page in your new page (for
example, to provide a link back to it) then you need a reference to it.
You may as well pass this in the constructor.
Alastair
Paolo Di Tommaso wrote:
Yes, but I would to avoid this,
Fabio Fioretti wrote:
On 8/3/07, Al Maw [EMAIL PROTECTED] wrote:
If you're going to be using the previous page in your new page (for
example, to provide a link back to it) then you need a reference to it.
You may as well pass this in the constructor.
But is it the only way to do this really?