[
https://issues.apache.org/jira/browse/WICKET-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462408
]
Eelco Hillenius commented on WICKET-86:
---------------------------------------
what is the status? This bug has been untouched for 1.5 months... unable to
reproduce?
> Stateless components everywhere breaks existing applications
> ------------------------------------------------------------
>
> Key: WICKET-86
> URL: https://issues.apache.org/jira/browse/WICKET-86
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3
> Reporter: Martijn Dashorst
> Assigned To: Johan Compagner
>
> In our application we just upgraded to 1.3, and the stateless components
> break urls on bookmarkable pages.
> These are url's generated on a DataView#Item, using
> component.urlFor(ILinkListener.INTERFACE);
> CharSequence urlForLink = LinkItem.this.urlFor(ILinkListener.INTERFACE);
> return "javascript:location.href='" + urlForLink + "';";
> Wicket 1.3:
> javascript:location.href='/vocus/app?wicket:bookmarkablePage=:nl.topicus.iridium.web.gui.leerling.LeerlingZoekenPage&wicket:interface=:2:leerlingen:3::ILinkListener';
> Wicket 1.2:
> javascript:location.href='/vocus/app?wicket:interface=:3:leerlingen:3::ILinkListener';
> The 1.3 version doesn't work for paged requests. The default of setting the
> components to stateless breaks in this case our application.
> The workaround for this particular component is to override
> 'getStatelessHint()' and return false in it. However we are afraid more
> components will break silently.
> In the logs we see:
> 11:39:45,103 [http-8080-Processor24] INFO
> wicket.request.compound.DefaultRequestTargetResolverStrategy.resolveListenerInterfaceTarget(DefaultRequestTargetResolverStrategy.java:304)
> : component not enabled or visible, redirecting to calling page, component:
> null
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira