Hi guys, I have a custom component which is basically an Accordion
where every pane contains a TileList which uses a ComboBox for the item
renderer. In the Accordion, I have an array which will hold the data from
the selected ComboBoxes (each ComboBox has a unique integer in its data
property). My problem is I basically have too many options for how to get
the data into the Array when a ComboBox is clicked. Presently, I have a
listener in the Accordion which listens for the “click” event from
the ComboBox to bubble up, but it also captures other clicks which I don’t
want, so it seems I have to filter the events by the type of the event target.
I am also exploring the option of dispatching a custom event from the ComboBox,
but that seems like it may be overkill for what I want to achieve. So, I
thought I’d see what you all have to say about it. What do you
think is the best approach for this sort of thing? -tom -- 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
YAHOO! GROUPS LINKS
__,_._,___ |