[
https://issues.apache.org/jira/browse/WICKET-3925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-3925.
-------------------------------------
Resolution: Invalid
It is a problem with your JavaScript integration.
Particularly:
Wicket.Event.add(window, "domready", function(event) {
$j('#link1').cluetip({cluetipClass: 'jtip',arrows: true,dropShadow:
true,hoverIntent: false,activation: 'click',sticky: true,width:
'200px',mouseOutClose: true,closePosition: 'title',closeText: '<img
src="/js/cluetip-1.0.6/images/cross.png" alt="" />'});;});
Wicket produces a url for bookmarkable page like like :
/wicket/bookmarkable/com.example.SomePage.
Clicking on this it renders the same page but this time Wicket believes the
user is at /wicket/bookmarkable and thus the relative url looks like
"com.example.SomeOtherPage". The problem comes from the JS listener on the link
which intercepts the click and loads the response in the same page (HomePage)
and thus the produced url is invalid because the base url is still '/', not
'/wicket/bookmarkable/'.
> BookmarkablePageLink does not produce bookmarkable URLs
> -------------------------------------------------------
>
> Key: WICKET-3925
> URL: https://issues.apache.org/jira/browse/WICKET-3925
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC5.1
> Reporter: Konstantin Ignatyev
> Attachments: w-1.5-bookmarkable.tgz
>
>
> I have matrix component used on the list view and it produces URL-s like this
> one
> http://localhost:8080/wicket/bookmarkable/wsite_impl.components.inv.MatrixPopupPage?category=1&bt=simple&bv=2008&pname=year
> those urls are used by cluetip jquery plugin to open pop up page, and that
> works fine.
> However the page in turn contains the same component and now it produces
> different URL:
> http://localhost:8080/wsite_impl.components.inv.MatrixPopupPage?category=2&bt=int_limits&bvmin=47255&bvmax=47655&pname=price
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira