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

2008-07-10 Thread Alex Harui
event 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 ItemRende

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

2008-07-10 Thread Battershall, Jeff
t. 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 c

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

2008-07-09 Thread Alex Harui
rch of the best 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 ItemRendere

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 Battershall, 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 only go to SystemManager - WHY? It wasn'

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

2008-07-09 Thread Alex Harui
D] On Behalf 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

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

2008-07-09 Thread Battershall, Jeff
Jeff -Original Message- 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 Ev

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 Alex Harui
TECTED] On Behalf Of Battershall, Jeff Sent: Wednesday, July 09, 2008 10:23 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox ItemRenderer Custom Events only go to SystemManager - WHY? I've been remiss in addressing my less-than-perfect understanding of Events and e

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

2008-07-09 Thread Battershall, Jeff
I've been remiss in addressing my less-than-perfect understanding of Events and event bubbling. My custom itemRenderer needs to fire a custom event. I've spent the last day trying to get it to bubble up from my custom itemRenderer to the ComboBox, but no dice. If I add an eventListener in my Combo

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
turday, 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 find a way of doing this

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Alex Harui
o:[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 in Combo's change event but can't f

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
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) expecting to see an XML data (and that&#x

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Alex Harui
flexcoders@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.da

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
Dominique’s 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

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread Tracy Spratt
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 available in set data that will point to the who

RE: [flexcoders] ComboBox ItemRenderer

2007-12-22 Thread mark goldin
From: 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()

RE: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Alex Harui
: [flexcoders] ComboBox ItemRenderer Dominique's approach is the correct one. The Flex framework calls the set data() method on every renderer anytime the underlying data changes. This is because renderers are recycled. So your renderer always has a reference to the dataProvider item th

RE: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Tracy Spratt
ce 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 wh

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: itemRenderer.parent.parent.gd.dat

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Dominique Bessette - Halsema
you can talk to anything in your parentApplication by doing *parentApplication.* 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. Let me make sure I understand. > ownerDa

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 PROTEC

Re: [flexcoders] ComboBox ItemRenderer

2007-12-21 Thread Dominique Bessette - Halsema
ownerdata is a variable that is set to the DG's row data. *ownerData = value as XML;* ** get's the row data. sorry i should have commented it more On 12/21/07, mark goldin <[EMAIL PROTECTED]> wrote: > > Not sure I understand about ownerData. Is it a hard coded dataProvider > name for DG? I a

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 itemRe

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. http://www.adobe.com/2006/mxml"; rowCount="2" labelField="@name" dataProvider="{weemcStatus}" change="onSelectionChange(event)"> On 12/20/07, mark goldin <[EMAIL PROTECTED]> wrote: > >

[flexcoders] ComboBox ItemRenderer

2007-12-21 Thread mark goldin
I am using a Combobox as an itemRenderer for one of columns in a DG. I have managed to intercept "change" event of the combobox. But what do I do to store new value from Combo into DG's dataProvider for the following data save to the server? What is an actual design pattern for that? Tha

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

2007-11-14 Thread Alex Harui
] Combobox ItemRenderer is now working as expected Can some one rectify my problem -- I have a ItemRenderer for combobox FilterListRenderer.mxml http://www.adobe.com/2006/mxml <http://www.adobe.com/2006/mxml> " width="100%" height="20" paddingLeft="0" padding

[flexcoders] Combobox ItemRenderer is now working as expected

2007-11-14 Thread srikanth_reddy_007
Can some one rectify my problem -- I have a ItemRenderer for combobox FilterListRenderer.mxml http://www.adobe.com/2006/mxml"; width="100%" height="20" paddingLeft="0" paddingRight="0" paddingTop="0" paddingBottom="0" initialize="init()" enabled="{data.enabled}">

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

[flexcoders] ComboBox ItemRenderer Selected Value

2007-10-29 Thread riaengineer
I'm familiar with using itemRenderer for a combobox, pretty straight forward. My question is IS IT POSSIBLE to have the 'selected' value displayed trough an itemRenderer as well. I have a combobox whose itemRenderer show an image per item in the drop down. HOWEVER when the user selects an item (

Re: [flexcoders] ComboBox ItemRenderer Issues

2007-05-30 Thread Rich Tretola
coders@yahoogroups.com *Subject:* [flexcoders] ComboBox ItemRenderer Issues I am using an ItemRenderer for a ComboBox component and all is well in the dropdown however, the selected item always shows the object definition and not the ItemRenderer. Has anyone else run into this? The same ItemRe

RE: [flexcoders] ComboBox ItemRenderer Issues

2007-05-29 Thread Alex Harui
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rich Tretola Sent: Tuesday, May 29, 2007 6:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ComboBox ItemRenderer Issues I am using an ItemRenderer for a ComboBox component and all is well in the dropdown however, the selected item

[flexcoders] ComboBox itemRenderer scrolling Bug?

2006-06-20 Thread Brendan Meutzner
Sorry if this is a repost, but i didn't see it showing up after being posted this morning.. Hi All, I came across some funky behaviour when using a ComboBox as an itemRenderer for a DataGrid. I've posted the issue at http://www.visualconcepts.ca/flex2/comboboxrenderer/Tester.html. To rep