[
https://issues.apache.org/jira/browse/WICKET-3925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13070608#comment-13070608
]
Martin Grigorov commented on WICKET-3925:
-----------------------------------------
W works with relative paths because this is the sane solution in production.
In production most of the java web apps are behind a proxy/balancer and often
mod_rewrite is involved. It is proved that absolute urls are problematic in
such setup.
For your case you'll need ExternalLink with url generated with
org.apache.wicket.request.UrlRenderer.renderFullUrl(Url relativeUrl). To get
UrlRenderer: org.apache.wicket.request.cycle.RequestCycle.getUrlRenderer().
Please move the discussion to users@ mailing list.
> 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