i havent look at the code but the fix could be something like that you don't
push
the page after construction on the request stack because if you do that then
you will overwrite
the page that was pushed in the constructor of that page..

So are there really landing 2 pages on the request stack?

johan


On 2/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:

at least if in devel mode you should log a warning if you detect this. or
do you not detect its in a constructor...you just push a new target?

-igor


On 2/19/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> On 2/19/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> > sure, but does it abort the page or do you end up with an extra page
> in the
> > pagemap?
>
> No, it doesn't abort the request. If you want to do that you need to
> use that exception. So while it typically doesn't make sense to call
> setResponsePage in a constructor, it is not *wrong* nor should Wicket
> - like we did - ignore it altogether.
>
> Eelco
>
> -------------------------------------------------------------------------
>
> 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 IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------------------------
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 IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
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 IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to