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: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 question

is Array data type the only collection class that is supported in spectrum ?


On Tue, Jan 11, 2022 at 6:30 PM Roman Isitua 
mailto:romanisi...@gmail.com>> wrote:
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 ?
I have tried both none of them works.

2.  Did I register data binding correctly ?
The above ui is wrapped by a FlexContainer.

my data source is supposed to be an arrayList of data transfer objects 
(MenuItemDTO) with get set functions for each field.



On Sat, Jan 8, 2022 at 5:47 PM Harbs 
mailto:harbs.li...@gmail.com>> wrote:
Use a 

> On Jan 8, 2022, at 4:34 PM, Roman Isitua 
> mailto:romanisi...@gmail.com>> 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 ?


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 question

is Array data type the only collection class that is supported in spectrum
?


On Tue, Jan 11, 2022 at 6:30 PM Roman Isitua  wrote:

> Hi,
>
> I am trying to populate my first List  for some reason it is not
> being populated. Here is my code snippet.
>
> 
> 
> 
>
>
>
>   
>
>   
>"{newMenuItemList}"
>   labelField="description" change="onSelectMenu(event)"/>
>   
>  
>   
>
>
> I have the following questions
> 1. what is the expected data provider ? Array,
> or org.apache.royale.collections.ArrayList ?
> I have tried both none of them works.
>
> 2.  Did I register data binding correctly ?
> The above ui is wrapped by a FlexContainer.
>
> my data source is supposed to be an arrayList of data transfer objects
> (MenuItemDTO) with get set functions for each field.
>
>
>
> On Sat, Jan 8, 2022 at 5:47 PM Harbs  wrote:
>
>> 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 ?
>>
>>


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 ?
I have tried both none of them works.

2.  Did I register data binding correctly ?
The above ui is wrapped by a FlexContainer.

my data source is supposed to be an arrayList of data transfer objects
(MenuItemDTO) with get set functions for each field.



On Sat, Jan 8, 2022 at 5:47 PM Harbs  wrote:

> 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 ?
>
>