Either you include the first element in the CFCs (in a centralized way for
all),
or you add a result handler in ActionScript and add a first element in the
result handler,
or you extend the ComboBox to automatically add a first element.
 
There are always many ways to do something, 
it's just up to you to evaluate which solution seems the best suited and the
most maintainable.
 
 

-----Original Message-----
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of stephen50232
Sent: dinsdag 12 december 2006 14:54
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Default value for combo boxes



--- In [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com,
Van De Velde Hans
<[EMAIL PROTECTED]> wrote:
>
> Usually, I just add a first element in the dataProvider of the ComboBox.
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
[mailto:[EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com]
On
> Behalf Of stephen50232
> Sent: dinsdag 12 december 2006 12:48
> To: [EMAIL PROTECTED] <mailto:flexcoders%40yahoogroups.com> ups.com
> Subject: [flexcoders] Default value for combo boxes
> 
> 
> 
> HI,
> 
> Is there a property for the combo box component for a default value;
> for example I want to insert "Please select..." in the top row of my
> data bound combo boxes, which I thought would be a standard thing to
> do, but I can't see the property you set for this default value.
> Can anyone point me in the right direction?
> 
> Thanks
> 
> Stephen
>
How do you do that? My data provider is the event.result from a call
to a CFC method.



 

Reply via email to