[
https://issues.apache.org/jira/browse/WICKET-5778?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-5778.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.19.0
7.0.0-M5
Introduced IChangeListener2 interface because API breaks are not allowed in 6.x.
We should removed the old IChangeListener class in 8.x and rename the new one.
> 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
> Fix For: 7.0.0-M5, 6.19.0
>
>
> 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)