wicket-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Timo Rantalaiho (JIRA)" <j...@apache.org>
Subject [jira] Commented: (WICKET-1965) Remove final from MarkupCache#clear()
Date Mon, 01 Dec 2008 20:03:44 GMT

    [ 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

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.

View raw message