You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Andrea Del Bene <an...@gmail.com> on 2013/03/05 22:40:02 UTC
Another question on stateless/bookmarkable pages
Hi,
I still have a little doubt about stateless and bookmarkable pages. if i
have understood well a stateless page must respect the following
requirements:
-all its children components and behaviors must be stateless
-the page must be instantiated with a constructor with no argument
or with a single PageParameters argument.
That said, is it right to state that a bookmarkable page is also a
stateless page? And the vice versa? I mean, does a stateless page always
have a bookmarkable URL when it is rendered?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Another question on stateless/bookmarkable pages
Posted by Igor Vaynberg <ig...@gmail.com>.
a bookmarkable page is a page that can be instantiated via a url -
meaning it has a default constructor or one that takes a
PageParameters object.
a stateful page can or can not be bookmarkable.
a stateless page must be bookmarkable.
-igor
On Tue, Mar 5, 2013 at 1:40 PM, Andrea Del Bene <an...@gmail.com> wrote:
> Hi,
>
> I still have a little doubt about stateless and bookmarkable pages. if i
> have understood well a stateless page must respect the following
> requirements:
> -all its children components and behaviors must be stateless
> -the page must be instantiated with a constructor with no argument or
> with a single PageParameters argument.
>
> That said, is it right to state that a bookmarkable page is also a stateless
> page? And the vice versa? I mean, does a stateless page always have a
> bookmarkable URL when it is rendered?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org