Hi Simon!
This does seem to me to be a reasonable feature for tomahawk, perhaps called t:valueChangeNotifier or as you say a phase attribute on a t:valueChangeListener. Having a phase is a little odd, though, as the ValueChangeListener declares that it throws AbortProcessingException (ie can report a validation failure) but this has no meaning after the model update phase.

I also have code that needs to handle value-change stuff at the model level: I must get a list of all changed rows in a table which contains input fields. Fortunately in my case I can do the necessary processing (adding rows to a set) during the validation phase, but I imagine that needing to know about changes to the model after model update isn't unusual.

I added a proposal for such a valueChangeNotifier to JIRA - MYFACES-864

Maybe you can have a look at it?


Thanks!
Mario

Reply via email to