Re: Another question on stateless/bookmarkable pages

2013-03-05 Thread Igor Vaynberg
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  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-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>

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



Another question on stateless/bookmarkable pages

2013-03-05 Thread Andrea Del Bene

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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org