You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/27 16:15:13 UTC

[jira] [Commented] (WICKET-5778) Pass the IModifiable to the IChangeListener in ModificationWatcher

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

ASF subversion and git services commented on WICKET-5778:
---------------------------------------------------------

Commit 4bec79ffc44b0a39471cf6c026cf6017ca21caf4 in wicket's branch refs/heads/wicket-6.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=4bec79f ]

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

(cherry picked from commit 2637c1243d061f5d99f0cf10cd3b547359ced187)


> 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)