You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/12/01 21:03:44 UTC

[jira] Commented: (WICKET-1965) Remove final from MarkupCache#clear()

    [ https://issues.apache.org/jira/browse/WICKET-1965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12652134#action_12652134 ] 

Timo Rantalaiho commented on WICKET-1965:
-----------------------------------------

Are you sure that it's best to reuse MarkupCache by extending it rather than delegating to it?

I mean that you could have 

public class FooMarkupCache implements IMarkupCache {
    private MarkupCache delegateCache = new MarkupCache(...
...

Thanks for the interesting-looking blog post too!

> Remove final from MarkupCache#clear()
> -------------------------------------
>
>                 Key: WICKET-1965
>                 URL: https://issues.apache.org/jira/browse/WICKET-1965
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4-RC1
>            Reporter: Jan Kriesten
>            Priority: Minor
>             Fix For: 1.3.6
>
>
> When extending MarkupCache to hook inother MarkupLoader for certain components, I'd like to be able to delegate a call to clearing the cache to this other markup loader.
> To be able to do so, I need to have the final removed from MarkupCache.
> Use case: http://www.footprint.de/fcc/2008/11/some-wicket-scala/ (To delegate the clear to FreeMarker/Velocity e.g.)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.