Re: URLs with page id and Component.isVersioned

2011-11-21 Thread Igor Vaynberg
make your page stateless and it will not have the page id in the url.

-igor

On Sun, Nov 20, 2011 at 2:27 PM, hok ivanvasi...@gmail.com wrote:
 Hello,
 this issue has been discussed previously
 (http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-td3816663.html).
 If it is safe for a page not to keep it's versions (for exapmle if the whole
 state is in the page paramgers) the page id in the url is not needed
 anymore. Also, as discussed, this will be good for SEO and for Google
 Analytics.
 Is it possible for the page URLs not to include page id if a
 Page.isVersioned() returns false? As far as I can understand, currently, if
 this method returns false a new page will be created every time (even if
 back button is pressed). This will give an easy way for removing page ids
 from the URL when they are not needed. Thanks.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/URLs-with-page-id-and-Component-isVersioned-tp4089805p4089805.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 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



URLs with page id and Component.isVersioned

2011-11-20 Thread hok
Hello,
this issue has been discussed previously
(http://apache-wicket.1842946.n4.nabble.com/Stateful-pages-without-page-Id-in-the-url-td3816663.html).
If it is safe for a page not to keep it's versions (for exapmle if the whole
state is in the page paramgers) the page id in the url is not needed
anymore. Also, as discussed, this will be good for SEO and for Google
Analytics.
Is it possible for the page URLs not to include page id if a
Page.isVersioned() returns false? As far as I can understand, currently, if
this method returns false a new page will be created every time (even if
back button is pressed). This will give an easy way for removing page ids
from the URL when they are not needed. Thanks.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/URLs-with-page-id-and-Component-isVersioned-tp4089805p4089805.html
Sent from the Users forum mailing list archive at Nabble.com.

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