You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2016/12/04 09:55:58 UTC

[jira] [Commented] (WICKET-6291) PropertyResolver.destroy for specifc getter/setter

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

Sven Meier commented on WICKET-6291:
------------------------------------

Have you tried using your own IPropertyLocator?

You can set it with PropertyResolver#setLocator(Application, IPropertyLocator) - it could be similar to CachingPropertyLocator but with additional eviction methods.

> PropertyResolver.destroy for specifc getter/setter
> --------------------------------------------------
>
>                 Key: WICKET-6291
>                 URL: https://issues.apache.org/jira/browse/WICKET-6291
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 8.0.0-M2
>            Reporter: Socheat KHAUV
>
> I am using wicket for CMS, and wicket pages is updated during runtime for both html file and java file, and java file is compile on the fly, PropertyResolver cache will be out of date when a new java file is compiled and loaded, lucky PropertyResolver.destroy is provided, but it clean all setters and getters, it would be nice to a destroy method just to clean a specific setter or getter for a specific class.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)