why generate hybrid URL for stateless page?

2011-09-13 Thread Kent Tong
Hi, In 1.5 I found that even if a page is stateless, Wicket still generates hybrid URLs (with PageInfo) for stateless links/forms. This is done in AbstractBookmarkableMapper (see below). Any idea why? Thanks! if (requestHandler instanceof BookmarkableListenerInterfaceRequestHandler) {

Re: why generate hybrid URL for stateless page?

2011-09-13 Thread Martin Grigorov
Hi Kent, Indeed the URL is hybrid but only the component info is actually used. Since the page is stateless the page is not stored and the next request recreates a new instance of this page class and uses the component info (e.g. ILinkListener-form-link) to find the link and execute its onClick