that assumes I have access to the view, eh?  Using Cairngorm here. In my case I have a result set in hand in a command, I assign it to a arraycollection in my model.  The List is bound to this variable in the model, it gets updated and populated no issue.  Now I want to set the selectedIndex to 0, also bound to a variable in the model, and have the change event fire on its own.  Seems setting the selectedIndex programmatically does not fire any events. 

DK

On 8/3/06, Doug Lowder <[EMAIL PROTECTED]> wrote:
If you need the entire event, I guess you could call dispatchEvent()
with your own event object.  What I usually do instead is have the
event handler call a function that takes the object as input, e.g.
change="onSelectionChanged( event.target)", in which case I can always
call onSelectionChanged(theListObject) anytime selectedIndex changes
in script.


--- In [email protected] , "Douglas Knudsen"
<[EMAIL PROTECTED]> wrote:
>
> Ok, I'm stuck on this.  How to set the selctedIndex on say a List
and have
> it fire the change event?
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to