[
https://issues.apache.org/jira/browse/WICKET-1534?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589834#action_12589834
]
Erik van Oosten commented on WICKET-1534:
-----------------------------------------
After a small investigation I found that a
CompoundRequestTargetUrlCodingStrategy is indeed possible.
However, it would not really work well unless WebRequestCodingStrategy is
changed such that the IRequestTargetUrlCodingStrategy#matches methods are
executed outside a synchronized block.
In my application I have to access the database in the matches methods.
(Although the data is heavily cached, I can not afford to have all requests to
stand still while the database is accessed for one page.)
I'll try to make new patches, but if someone else is quicker I would welcome
that :)
> Allow multiple URL coding strategies on the same mount path
> -----------------------------------------------------------
>
> Key: WICKET-1534
> URL: https://issues.apache.org/jira/browse/WICKET-1534
> Project: Wicket
> Issue Type: New Feature
> Components: wicket
> Affects Versions: 1.3.3
> Reporter: Erik van Oosten
> Fix For: 1.4-M1
>
> Attachments: VersatileWebRequestCodingStrategy.java
>
>
> It is currently not possible to mount multiple URL coding strategies on the
> same mount path. However, in combination with method #matches(String urlPath)
> this would be quite easy to accomplish in a backward compatible way.
> Please find attached a class that can be used instead of
> WebRequestCodingStrategy.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.