You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/09/05 17:16:09 UTC
[jira] [Commented] (WICKET-4028) Improve
PageInstanceMapper#getCompatibilityScore() to return higher value if the
request starts with 'wicket/page'
[ https://issues.apache.org/jira/browse/WICKET-4028?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13097172#comment-13097172 ]
Martin Grigorov commented on WICKET-4028:
-----------------------------------------
The same is valid for BookmarkableMapper and its 'wicket/bookmarkable' prefix of the urls.
> Improve PageInstanceMapper#getCompatibilityScore() to return higher value if the request starts with 'wicket/page'
> ------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4028
> URL: https://issues.apache.org/jira/browse/WICKET-4028
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.5-RC7
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 1.5.1
>
>
> org.apache.wicket.request.mapper.PageInstanceMapper.getCompatibilityScore(Request) currently returns 0 to give users mappers a chance but requests to 'wicket/page?...' are really requests to PIM and there is no need to execute all other mappers #mapRequest(Url).
> If user app wants to handle requests to 'wicket/page' then it should override getCompatibilityScore() and return the same or higher value than PIM.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira