[
https://issues.apache.org/jira/browse/WICKET-5084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13597284#comment-13597284
]
Andrei Badea commented on WICKET-5084:
--------------------------------------
I have just been hit by another manifestation of this: when a
BookmarkablePageLink is rendered for a broadcast, the URL looks like
./bookmarkable/com.example.Page. The browser processes this in the context of
the URL in the location bar, which is .../wicket/bookmarkable/com.example.Page,
so clicking the link results in a CNFE.
The link uses Component.urlFor(Class<C>, PageParameters), which does not try to
use BookmarkableListenerInterfaceRequestHandler.
> ClassNotFoundException with Atmosphere on Bookmarkable pages
> ------------------------------------------------------------
>
> Key: WICKET-5084
> URL: https://issues.apache.org/jira/browse/WICKET-5084
> Project: Wicket
> Issue Type: Bug
> Components: wicket, wicket-atmosphere
> Affects Versions: 6.6.0
> Reporter: Vojtěch Krása
> Assignee: Emond Papegaaij
>
> https://github.com/krasa/wicket-atmosphere-quickstart
> run, go to second page, click on link.
> from some reason, it makes requests to
> http://localhost:8080/wicket/bookmarkable/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-ver-1362607904693.js
>
> instead of:
> http://localhost:8080/wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-ver-1362607904693.js
>
> =>java.lang.ClassNotFoundException: page
> I noticed few things:
> 1) Form cannot be updated, crashes on NPE
> 2) ugly crash when updated component has not setOutputMarkupId(true);
> 3) otherwise it seems to work
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira