I wasn't aware of an overwrite attribute, but no, it's not set. As far as throwing errors, I don't disagree, but Unity did not. It added a note to the debug information saying, "no listener doSomeThing found in someController!"
Starting from scratch, I like the current behavior but *IF* backwards compatibility is not honored, it would be good to know it in advance. Brian On Thursday, November 1, 2012 4:40:26 AM UTC-7, Dan Wilson - [email protected] wrote: > > Are you saying Unity would not fail if a controller was configured in the > XML to listen for a message broadcast? > > It's one thing to broadcast a message no controller is listening for. I > know we don't (shouldn't) throw an error for that. But defining a message > listener on a controller definition with a function that does not exist > seems like a programmer error, no? > > Is there a business case where you want to define messages on controllers, > but not have the function work? Or are you merely pointing out an > inconsistency? > > Either way, I appreciate it, I just need to know what (if anything) to do > on my end. > > DW > > > On Thu, Nov 1, 2012 at 3:10 AM, Brian G <[email protected] <javascript:> > > wrote: > >> Also different: if an event-handler broadcasts a message to a controller >> function that is not defined, it throws an error rather than silently >> ignoring it. >> >> >> >> On Wednesday, October 31, 2012 11:59:16 PM UTC-7, Brian G wrote: >>> >>> Am learning the hard way that the order which values are set is not the >>> same in 3.2 as compared to Unity. >>> >>> For example, if I have a URL value foo=bar And I have in my >>> eventhandler: >>> >>> <value name="foo" value="snafu" /> >>> >>> In Unity, the URL value "bar" took precedence over the default "snafu" >>> set in the eventhandler. In 3.2, the eventhandler value overrides the URL. >>> >>> Another thing for the migration wiki... :-\ >>> >>> >>> -- >> Model-Glue Sites: >> Home Page: http://www.model-glue.com >> Documentation: http://docs.model-glue.com >> Bug Tracker: http://bugs.model-glue.com >> Blog: http://www.model-glue.com/blog >> >> You received this message because you are subscribed to the Google >> Groups "model-glue" group. >> To post to this group, send email to [email protected]<javascript:> >> To unsubscribe from this group, send email to >> [email protected] <javascript:> >> For more options, visit this group at >> http://groups.google.com/group/model-glue?hl=en >> > > > > -- > Plutarch - "The mind is not a vessel to be filled but a fire to be > kindled." > -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/model-glue?hl=en
