-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
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
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
: 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
-
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
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
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
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
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
: 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
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
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
@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
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
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
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
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[
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
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
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:
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.
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
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
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]
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
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
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:
27 matches
Mail list logo