This content has been marked as final.
Show 2 replies
-
1. Re: Post-injection hook (or how to avoid injection races?)
michaelcourcy Aug 5, 2007 11:41 AM (in response to thatrichard)I can't see why you need a setTitle method if the title is already provided by the person object.
-
2. Re: Post-injection hook (or how to avoid injection races?)
thatrichard Aug 5, 2007 12:13 PM (in response to thatrichard)Hi Michael
I need the setTitle method because the title needs to be modified before being set. (I tried to indicate this with //modify the title.)
Ultimately, I'm trying to support a combobox with an "other" field. In the full class, the values of the combobox and "other" textfield are bound to titleProxy and otherTitleProxy. In the "updateTitle" method, I examine these two values and set the person's title accordingly.
That's why I don't simply bind to #{person.title}.
Richard