Yes perhaps I wasnt very clear Person won't fire the event, but wont work with beansbindings either. So you replace it with an extended version of Person, PersonWithPropertySupport which handles the events. Its the difference between a POJO and a bound JavaBean.
No to say you couldn't do it with a Person proxy (that fires change events). But it worth remebering the current ELProperty support is somewhat of a stopgap until Properties become a language level construct in JDK7. Hopefully it'll be compatible with whats needed for beansbindings. Although I'm not sure theres anybody on both JSRs dotting the i's and crossing the t's here. Is anyone active on beansbindings? |