[
https://issues.apache.org/jira/browse/WICKET-5778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227728#comment-14227728
]
ASF subversion and git services commented on WICKET-5778:
---------------------------------------------------------
Commit 5e0752602cb96ef3786e4e15acabbe12e4e0df28 in wicket's branch
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=5e07526 ]
WICKET-5778 Pass the IModifiable to the IChangeListener in ModificationWatcher
Introduce temporary interface IChangeListener2 that can be used when one needs
the changed object as a parameter
> Pass the IModifiable to the IChangeListener in ModificationWatcher
> ------------------------------------------------------------------
>
> Key: WICKET-5778
> URL: https://issues.apache.org/jira/browse/WICKET-5778
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 6.18.0, 7.0.0-M4
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Priority: Minor
>
> It would be nice if the modified IModifiable is passed as a parameter to
> IChangeListener's #onChange() method. This way a listener may react only on
> specific modifications.
> For example the application may cast the IModifiable to FileResourceStream
> and do something only for Less resources.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)