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]> 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]
> 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
>



-- 
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

Reply via email to