Ok, in my (brand new) github at [1] I tried to reimplement the thing,
refactoring the EmptyItemComboBox code into an IList implementation as
suggested by Alex.
I also quickly adapted the same simple test app that I attached to the
stackoverflow response to see the class in action [2].
[1]
https:
@Alex didn't know that MX components received this kind of upgrades in
the 4.x branch, I thought they were in "maintenance mode" (exluding
the work on spark skins for halo).
2012/4/10 Cosma Colanicchia :
> The EmptyItemComboBox class posted by David Coleman looks similar to
> some code I posted y
The EmptyItemComboBox class posted by David Coleman looks similar to
some code I posted years ago on StackOverflow [1]. I added some
explanation and a snippet of code showing its usage there.
I'm not particularly proud of this code, but didn't managed to find a
better way. The behavior approach se
On 4/10/12 12:17 PM, "Jeffry Houser" wrote:
> I gave it a selectedValue property, a valueField property, and a
> valueFunction property; similar--in concept--to how the selectedItem,
> labelField, and labelFunction work.
>
> Really the code is just a layer of abstraction for a loop. If I
On 4/10/2012 2:59 PM, Dany Dhondt wrote:
Hi,
Now there's a discussion about the comboBox, I'd like to address an issue.
Sorry in advance if it had been addressed already.
Using the component, one can set the selectedIndex or the selectedItem
properties. There's no way to set a 'selectedValue'
Hi,
Now there's a discussion about the comboBox, I'd like to address an issue.
Sorry in advance if it had been addressed already.
Using the component, one can set the selectedIndex or the selectedItem
properties. There's no way to set a 'selectedValue' property.
I've solved this by using a cust
On 4/10/2012 1:30 PM, John Cunliffe wrote:
Great thinking. Personally I would love seeing something like the flexlib
library being revived. Anybody else?
John
I'm not sure about FlexLib; since most of those components were
pre-spark. However, I think there is a lot of potential to create S
On 4/10/12 10:59 AM, "David Coleman" wrote:
>
> Wow, what a great idea... maybe we can merge both of our ideas into a single
> better component!
>
Possibly. In theory, you can grab code off my blog and just use it,
although the licensing is not explicit. I've been planning to get a ruling
Wow, what a great idea... maybe we can merge both of our ideas into a single
better component!
> From: aha...@adobe.com
> To: flex-dev@incubator.apache.org
> Date: Tue, 10 Apr 2012 10:56:33 -0700
> Subject: Re: combo box
>
>
>
>
> On 4/10/12 10:45
On 4/10/12 10:45 AM, "David Coleman" wrote:
>
> sure give me a few days to dedicate some time to this example, I'm up to my
> eyeballs in work for the next 48 or so!
>
> my github user is davidcoleman007 and I'll share something asap!
>
Interesting. Several years back I proposed doing thi
sure give me a few days to dedicate some time to this example, I'm up to my
eyeballs in work for the next 48 or so!
my github user is davidcoleman007 and I'll share something asap!
> From: f...@tink.ws
> To: flex-dev@incubator.apache.org
> Subject: Re: combo box
> Date:
On 10 Apr 2012, at 18:40, David Coleman wrote:
Yes and no. with this you can set the actual emptyItemValue to be
whatever you want. For instance if you have some complex set of
dto's etc, you can set the emptyItemValue to be an actual object and
have it be able to work more seamlessly w
a few edge cases
where you might want to distinguish the empty item by some value other than -1,
but still represent the selectedIndex as -1 for compatibility with the
framework.
> Date: Tue, 10 Apr 2012 10:36:09 -0700
> Subject: Re: combo box
> From: s9tpep...@apache.org
On Tue, Apr 10, 2012 at 10:32 AM, David Coleman <
david_coleman_...@hotmail.com> wrote:
>
> h it seems the listsrv ate my file. :-(
>
> here, I'll paste it in. And BTW: it is for spark.
>
> ...
Hey David,
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/
On Tue, Apr 10, 2012 at 10:30 AM, John Cunliffe wrote:
> Great thinking. Personally I would love seeing something like the flexlib
> library being revived. Anybody else?
> John
Honestly, I'd rather see the developers of those components start to
contribute components to the Apache Flex SDK. ;)
mLabel():String {
return _emptyItemLabel;
}
public function set emptyItemLabel(value:String):void {
_emptyItemLabel = value;
_emptyItem.label = value;
clearEmptyItem();
addEmptyItem();
//LogObj(emptyItem);
}
}
}
>
On Tue, Apr 10, 2012 at 10:23 AM, David Coleman <
david_coleman_...@hotmail.com> wrote:
> Hi everyone. Mike's most recent mail (mentioning that ComboBoxes have
> changed nearly every other release) made remember something that i have had
> sitting around in my personal files for some time. It i
Great thinking. Personally I would love seeing something like the flexlib
library being revived. Anybody else?
John
On Tue, Apr 10, 2012 at 7:23 PM, David Coleman <
david_coleman_...@hotmail.com> wrote:
> Hi everyone. Mike's most recent mail (mentioning that ComboBoxes have
> changed nearly eve
18 matches
Mail list logo