You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2007/12/15 21:25:43 UTC
[jira] Commented: (WICKET-1164) Passing Parameters on a
Bookmarkable Page Link
[ https://issues.apache.org/jira/browse/WICKET-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552136 ]
Igor Vaynberg commented on WICKET-1164:
---------------------------------------
the problem here is that between you calling setresponsepage(mypage, myparams) and the page actually being constructed there is a redirect. so where do we hold on to these pojos between redirects?
it also makes pageparameters work in unexpected ways. if you put a pojo in it may or may not be available, but if you put a primitive in it is always available.
as of right now i am -1 on this unless we can figure out how to make this work consistently, transparently, and in a manner that is expected by users.
> Passing Parameters on a Bookmarkable Page Link
> ----------------------------------------------
>
> Key: WICKET-1164
> URL: https://issues.apache.org/jira/browse/WICKET-1164
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Environment: Any
> Reporter: Flavius
>
> Change the behavior of a bookmarkable page link so that a URL can be explicitly set
> with a redirect to buffer strategy. This would allow bookmarkable URLs to be created,
> but also allow parameters to be passed to the target.
> An example of where this would be useful would be viewing a summary and detail
> page. You want to be able to bookmark the detail page URL. If the user had conducted
> a search and clicked an item in the summary page to view the detail, a reference to the
> summary results could be passed along. When the user returns to the summary,
> the previous results can be repopulated. However, if the detail page is bookmarked,
> information on the search results is not put in the URL, but the link to the detail still is.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.