Re: Spectrum UI components

2022-02-28 Thread Roman Isitua
So that I am clear about what you said. By cherry pick you mean take what you just did on the royale spectrum source and apply it locally (on my pc) on the spectrum 0.9.8 source ? In other words what do you mean by cherry pick ? On Mon, 28 Feb 2022, 10:14 Harbs, wrote: > Spectrum Menus are a bi

Re: Spectrum UI components

2022-02-28 Thread Harbs
Spectrum Menus are a bit non-standard when it comes to data. It expects an IMenuItem. If it’s a plain object, the text is set to the label or text property of the object and the rest of the menu properties are inferred as well. The original object is *replaced* with a MenuItem if the original is

Re: Spectrum UI components

2022-02-28 Thread Roman Isitua
Is there a label property ? That allows us to specify the field in our data object to be used ? Also, How can we access this latest change ? We are using spectrum based on royale 0.9.8 with this commit id "024b730" In other words we are not on version 0.9.9-snapshot? On Mon, 28 Feb 2022, 0

Re: Spectrum UI components

2022-02-28 Thread Harbs
> How can I use an arrayList of data objects instead ? > The spectrum combobox also doesn't have a change attribute. How do you > execute an event on selecting from the list. It looks like we forgot to add Event metadata for that. Fixed. https://github.com/unhurdle/spectrum-royale/commit/a53c

Re: Spectrum UI components

2022-02-26 Thread Timothy Tokmang Wang
The spectrum combobox also doesn't have a change attribute. How do you execute an event on selecting from the list. On Sun, Feb 27, 2022 at 12:28 AM Roman Isitua wrote: > How can I populate a spectrum combo box dynamically ? I intend to use an > array list of data objects ? > > For spectrum List

Re: Spectrum UI components

2022-02-26 Thread Roman Isitua
How can I populate a spectrum combo box dynamically ? I intend to use an array list of data objects ? For spectrum List (sp:List) the following can be used >From the royale spectrum show case the code snippet was used.

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
Understood. Thanks. On Wed, Jan 12, 2022 at 5:14 PM Harbs wrote: > > > On Jan 12, 2022, at 6:08 PM, Roman Isitua wrote: > > What is the purpose of ? since it was no > longer necessary > > > It’s necessary in Royale Basic to use ArrayLists. > > In Spectrum, there’s a default ListModel which c

Re: Spectrum UI components

2022-01-12 Thread Harbs
> On Jan 12, 2022, at 6:08 PM, Roman Isitua wrote: > > What is the purpose of ? since it was no > longer necessary It’s necessary in Royale Basic to use ArrayLists. In Spectrum, there’s a default ListModel which correctly handles both both Array and ArrayList data. > > Also, another

Re: Spectrum UI components

2022-01-12 Thread Harbs
t; ActionScript: >>>>> addBead(new ArrayListSelectionModel()); >>>>> addBead(new DataItemRendererFactoryForArrayList()); >>>>>

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
gt;>>> On Jan 12, 2022, at 2:44 PM, Roman Isitua >>>> wrote: >>>> >>>> How can this be ap

Re: Spectrum UI components

2022-01-12 Thread Harbs
>>>>> >>>>> >>>>> ActionScript: >>>>> addBead(new ArrayListSelectionModel()); >>>>> addBead(new DataItemRendererFactoryForArrayList()); >>>>> >>>>>>

Re: Spectrum UI components

2022-01-12 Thread Harbs
et say for example on an sp:List ? As a bead ? >>>>> >>>>> Let's say I want to use arrayList as data provider. >>>>> >>>>

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
;> >>> On Wed, 12 Jan 2022, 13:41 Harbs, wrote: >>> >>>> Yes.The default IDataProviderItemRendererMapper is >>>> DataItemRendererFactoryForArrayData. >>>>

Re: Spectrum UI components

2022-01-12 Thread Harbs
i...@gmail.com>> wrote: >>>> Yes.The default IDataProviderItemRendererMapper is >>>> DataItemRendererFactoryForArrayData. >>>> >>>> If you are using collections you should use >>>> DataItemRendererFactoryForArrayList

Re: Spectrum UI components

2022-01-12 Thread Harbs
se >>>> DataItemRendererFactoryForArrayList or >>>> DataItemRendererFactoryForCollectionView instead. >>>> >>>> HTH, >>>> Harbs >>>> >>>>> On Jan 12, 2022, at 1:35 PM,

Re: Spectrum UI components

2022-01-12 Thread Harbs
omanisi...@gmail.com>> wrote: >>>> >>>> Hence the reason, I need to confirm from Harbs the array data type that is >>>> supported in spectrum. >>>> >>&

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
>> >> >> On Tue, 11 Jan 2022, 21:33 Maria Jose Esteve, wrote: >> >>> Hi, >>> >>> From what I see in the "ListModel.as" code it allows Object, IArray and >>> IArrayList. >>&g

Re: Spectrum UI components

2022-01-12 Thread Harbs
array data type that is >>> supported in spectrum. >>> >>> >>> >>> On Tue, 11 Jan 2022, 21:33 Maria Jose Esteve, >> <mailto:mjest...@iest.com>> wrote: >>> Hi, >>> >>> From what I see in the "ListModel.as" code i

Re: Spectrum UI components

2022-01-12 Thread Harbs
; >> >> >> Hiedra >> >> >> >> De: Roman Isitua mailto:romanisi...@gmail.com>> >> E

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
> >> >> *De:* Roman Isitua >> *Enviado el:* martes, 11 de enero de 2022 20:40 >> *Para:* users@royale.apache.org >> *Asunto:* Re: Spectrum UI components >> >> >> >> It is now displaying. The issue was not related to the sp:List as I >

Re: Spectrum UI components

2022-01-12 Thread Harbs
uot; code it allows Object, IArray and > IArrayList. > > > > Hiedra > > > > De: Roman Isitua mailto:romanisi...@gmail.com>> > Enviado el: martes, 11 de enero de 2022 20:40 > Para: users@royale.apache.org <mailto:users@royale.apache.org> > Asunto: Re: Sp

Re: Spectrum UI components

2022-01-12 Thread Roman Isitua
Hiedra > > > > *De:* Roman Isitua > *Enviado el:* martes, 11 de enero de 2022 20:40 > *Para:* users@royale.apache.org > *Asunto:* Re: Spectrum UI components > > > > It is now displaying

RE: Spectrum UI components

2022-01-11 Thread Maria Jose Esteve
Hi, From what I see in the "ListModel.as" code it allows Object, IArray and IArrayList. Hiedra De: Roman Isitua Enviado el: martes, 11 de enero de 2022 20:40 Para: users@royale.apache.org Asunto: Re: Spectrum UI components It is now displaying. The issue was not related to the sp

Re: Spectrum UI components

2022-01-11 Thread Roman Isitua
It is now displaying. The issue was not related to the sp:List as I initially thought. I changed the parent component from flex container to group. Though that had nothing to do with the issue I was having. My current que

Re: Spectrum UI components

2022-01-11 Thread Roman Isitua
Hi, I am trying to populate my first List for some reason it is not being populated. Here is my code snippet. I have the following questions 1. what is the expected data provider ? Array, or org.apache.royale.collections.ArrayList

Re: Spectrum UI components

2022-01-08 Thread Harbs
Use a > On Jan 8, 2022, at 4:34 PM, Roman Isitua wrote: > > Hi Harbs, > > I am trying to create a login form. How do I hide the password in > > > > could it be that it does not support password hiding ? Do I have to resort > to using royale basic text field ?

Spectrum UI components

2022-01-08 Thread Roman Isitua
Hi Harbs, I am trying to create a login form. How do I hide the password in could it be that it does not support password hiding ? Do I have to resort to using royale basic text field ?