You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Thomas Màder <th...@ecofin.ch> on 2007/07/30 11:41:21 UTC

Bug in Page(PageParameters) constructor?

Hi guys, 

In 1.3.0 beta 2, one of the Page constructors reads like so:



	protected Page(final PageParameters parameters)
	{
		super(null);
	}

Note that this will not cause init() to be called. This in turn causes all
such pages to have the numeric id 0. Does this look like a bug or is there
something I'm missing?
-- 
View this message in context: http://www.nabble.com/Bug-in-Page%28PageParameters%29-constructor--tf4168916.html#a11860588
Sent from the Wicket Users New mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Bug in Page(PageParameters) constructor?

Posted by MK Tan <mk...@gmail.com>.
On 7/30/07, Thomas Màder <th...@ecofin.ch> wrote:
>
>
> Hi guys,
>
> In 1.3.0 beta 2, one of the Page constructors reads like so:
>
>
>
>         protected Page(final PageParameters parameters)
>         {
>                 super(null);
>         }
>
> Note that this will not cause init() to be called. This in turn causes all
> such pages to have the numeric id 0. Does this look like a bug or is there
> something I'm missing?


Take a look at:

http://www.nabble.com/evil-Page%28params%29-bug-in-1.3.0-xxx-p11788270.html



--
> View this message in context:
> http://www.nabble.com/Bug-in-Page%28PageParameters%29-constructor--tf4168916.html#a11860588
> Sent from the Wicket Users New mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>