Off the top of my head, when you instantiate a PropertyChangeEvent instead
of an Event, the constructor is expecting more useful information about what
field changed and when that information is missing / invalid the requisite
bindings don't fire. But when the binding handlers get a generic event of
name PropertyChangeEvent.PROPERTY_CHANGE, they just assume the entire object
has been updated and update all bindings to that object.

All just a guess tho ;-)

-Josh

On Mon, Jun 30, 2008 at 11:48 AM, Aaron Miller <
[EMAIL PROTECTED]> wrote:

>  Hello,
>
> when I do this:
>
> dispatchEvent( new PropertyChangeEvent(PropertyChangeEvent.PROPERTY_CHANGE)
> );
>
> My bindings do not execute.
>
>
> When I do this:
>
> dispatchEvent( new Event('propertyChange') );
>
> They do (using default binding with no meta data specified).
>
>
> What is what is the PropertyChangeEvent.PROPERTY_CHANGE event used for if
> not for binding?
>
>
> Thanks for any input!
> ~Aaron
>
>
>
> 
>



-- 
"Therefore, send not to know For whom the bell tolls. It tolls for thee."

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]

Reply via email to