[
https://issues.apache.org/jira/browse/WICKET-1114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Johan Compagner closed WICKET-1114.
-----------------------------------
Resolution: Duplicate
Assignee: Johan Compagner
https://issues.apache.org/jira/browse/WICKET-605
> StatelessForm does not include PageParameters in callback URL
> -------------------------------------------------------------
>
> Key: WICKET-1114
> URL: https://issues.apache.org/jira/browse/WICKET-1114
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3.0-beta4
> Reporter: John Patterson
> Assignee: Johan Compagner
>
> A stateless form does not include the page parameters in the callback URL. I
> think this code from RequestCycle should use the parameters from the page.
> Form parameters will then be added to those already defined.
> public final CharSequence urlFor(final Component component,
> final RequestListenerInterface listener)
> {
> // Get Page holding component and mark it as stateful.
> final Page page = component.getPage();
> final IRequestTarget target;
> if (listener != IRedirectListener.INTERFACE &&
> component.isStateless() &&
> page.isBookmarkable())
> {
> target = new
> BookmarkableListenerInterfaceRequestTarget(page.getPageMapName(), page
> .getClass(), new PageParameters(),
> component, listener);
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.