RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-10 Thread Battershall, Jeff
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, July 10, 2008 12:59 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? In my coding

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-10 Thread Alex Harui
metadata. But now I've got it working right. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Thursday, July 10, 2008 12:59 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Alex Harui
Popups have to float over everything so they are parented by SM and not the CB or the app. If you dispatch the event off the owner it will go to the CB and bubble up from there From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, July 09, 2008 1:47 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Popups

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, July 09, 2008 1:47 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Alex Harui
Of Battershall, Jeff Sent: Wednesday, July 09, 2008 11:22 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? Seriously Alex, I have been tearing my hair out over this. When I trace owner from within my

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Battershall, Jeff
Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, July 09, 2008 6:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? It wasn't clear whether

Re: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Josh McDonald
I have to agree on this. Bubbling custom-dispatched events is a bad idea when you don't have to do it - you could argue that it breaks encapsulation, and it definitely creates noise and excess work for the VM. I try to only use it to announce business events, for example CreateNewUserEvent, or

RE: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY?????

2008-07-09 Thread Alex Harui
practices way to approach this sort of problem. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui Sent: Wednesday, July 09, 2008 6:00 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Custom Events

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, December 21, 2007 4:18 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer DominiqueÂ’s approach is the correct one. The Flex framework calls the set data() method

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Tracy Spratt
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Saturday, December 22, 2007 12:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Is there anything available in set data that will point to the whole DG

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
example. Tracy - From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Saturday, December 22, 2007 12:02 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Is there anything

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Alex Harui
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Saturday, December 22, 2007 9:46 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Yes, listData.owner does point to the DG in my change event handler. But when I trace(listData.owner.dataProvider

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
22, 2007 9:46 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Yes, listData.owner does point to the DG in my change event handler. But when I trace(listData.owner.dataProvider) expecting to see an XML data (and that's what I want) I get

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Alex Harui
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Saturday, December 22, 2007 3:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Not sure I understand. I am using Flex 3 Beta. I am trying to get DG's complete XML

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
PROTECTED] On Behalf Of mark goldin Sent: Saturday, December 22, 2007 3:46 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ComboBox ItemRenderer Not sure I understand. I am using Flex 3 Beta. I am trying to get DG's complete XML in Combo's change event but can't

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Dominique Bessette - Halsema
Here is the code for the itemRenderer for a combobox i made. The dataProvider is xml. ?xml version=1.0 encoding=utf-8? mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; rowCount=2 labelField=@name dataProvider={weemcStatus} change=onSelectionChange(event) mx:Script ![CDATA[

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread mark goldin
Not sure I understand about ownerData. Is it a hard coded dataProvider name for DG? I am working on a generic solution, I can't use hard coded names. Sorry, if I am misunderstanding your solution. Dominique Bessette - Halsema [EMAIL PROTECTED] wrote:Here is the code for the

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread mark goldin
Aha, I see. Let me make sure I understand. ownerData is defined in set method. That means it's set as many times as many rows are in the DG, right? But why can't I talk directly to the dataProvider of my DG? Or using a private var is the direct way? Dominique Bessette - Halsema [EMAIL

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread mark goldin
No, that's not what I meant. I mean without using any ids, names, and etc. Something like other environments have: parent. Why can't I after I got a reference to an itemRenderer simply go up on an object chain to get to DG and then talk to its dataProvider:

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Dominique Bessette - Halsema
you can talk to anything in your parentApplication by doing *parentApplication.whatever id name you gave the dataprovider* the variable parentApplication is a set flex variable that get's all the data in the main app. ** On 12/21/07, mark goldin [EMAIL PROTECTED] wrote: Aha, I see.

RE: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Tracy Spratt
to update the item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Friday, December 21, 2007 1:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ComboBox ItemRenderer No, that's not what I meant

RE: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Alex Harui
that is behind it. Use that reference to update the item. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of mark goldin Sent: Friday, December 21, 2007 1:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] ComboBox ItemRenderer

RE: [flexcoders] Combobox ItemRenderer is now working as expected

2007-11-14 Thread Alex Harui
Are you getting binding warnings? Try XML(data)[EMAIL PROTECTED] From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of srikanth_reddy_007 Sent: Wednesday, November 14, 2007 8:08 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] ComboBox ItemRenderer Selected Value

2007-10-29 Thread Alex Harui
http://blogs.adobe.com/aharui/2007/04/icons_in_combobox.html From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of riaengineer Sent: Monday, October 29, 2007 7:07 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox ItemRenderer

Re: [flexcoders] ComboBox ItemRenderer Issues

2007-05-30 Thread Rich Tretola
Yep, I stumbled across your sample. Thanks, but I need them to load at run time. I have a workaround in place. Rich On 5/29/07, Alex Harui [EMAIL PROTECTED] wrote: Itemrenderers are not used in the text portion ComboBox itself, just the dropdown. You can use labelFunction to change what

RE: [flexcoders] ComboBox ItemRenderer Issues

2007-05-29 Thread Alex Harui
Itemrenderers are not used in the text portion ComboBox itself, just the dropdown. You can use labelFunction to change what the text portion displays or subclass. Check out the Icons In ComboBox example on my blog (blogs.adobe.com/aharui) From: