Yes, but I would to avoid this, basically I'm looking for a way to discover
dinamically the calling wicket page instance (if exists ..)


Thanks, Paolo


On 8/3/07, Gerolf Seitz <[EMAIL PROTECTED]> wrote:
>
> you could have a constructor B(Page referrer)
> and pass the referrer page as a parameter like:
> this.setResponsePage(new B(this));
>
> hth,
>   gerolf
>
> On 8/3/07, Paolo Di Tommaso <[EMAIL PROTECTED]> wrote:
> >
> > 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 caller
> A
> > page instance?
> >
> > Basically I'm trying to implement something like the HTTP referer
> > mechanism.
> >
> >
> > Any ideas ?
> >
> >
> >
> > Thanks, Paolo
> >
>

Reply via email to