Build failed in Jenkins: royale-asjs #1450

2018-10-08 Thread apacheroyaleci
See -- [...truncated 988.03 KB...] [java] module.exports = http; [java] ^^ [java] [java] Oct 08, 2018 6:21:26 AM

Build failed in Jenkins: royale-asjs_MXTests #28

2018-10-08 Thread apacheroyaleci
See Changes: [noreply] Update ComboBase.as -- [...truncated 2.02 MB...] [mxmlc]

Jenkins build is back to normal : royale-asjs #1451

2018-10-08 Thread apacheroyaleci
See

Proxy method calls with RemoteObject

2018-10-08 Thread Carlos Rovira
Hi, I was experimenting trying to get RemoteObject to proxy method calls. so instead of doing service.send("echo", [name_txt.text]); be able to do: service.echo(name_txt.text); I tried with Proxy class (org.apache.royale.utils.Proxy) and implementing IEventDispatcher, but compiler throws

Re: Migrating Enterprise Flex Application

2018-10-08 Thread chembali
I always get the compile error, but many times it goes ahead and creates the js distribution and the component that I am trying to use works fine. But many times it does not work as expected even though the js distribution gets built successfully. -- Sent from:

Re: Reflection TypeDefinition API gives unexpected results

2018-10-08 Thread Carlos Rovira
Hi Alex, yesterday I get metadata working but only if I declare at level class. But I'm seeing more strange behavior that I can hardly describe since I don't see a pattern. I'll try to add the example as I have some time to manualtests. thanks El lun., 8 oct. 2018 a las 5:00, Alex Harui ()

Jenkins build is back to normal : royale-asjs_MXTests #29

2018-10-08 Thread apacheroyaleci
See

Re: Proxy method calls with RemoteObject

2018-10-08 Thread Alex Harui
I believe I already said I am working on RemoteObject. The Flex compiler generates custom code for mx:RemoteObject. The Royale Compiler currently does not. I am working on it. Thanks, -Alex On 10/8/18, 3:13 AM, "Carlos Rovira" wrote: Hi, I was experimenting trying to get

Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Hi, I'm retrieving a collection of VOs and storing in a class something like this someClass.collectionOfVOs = new ArrayList (event.data as Array); in the screen code I have: or I could have directly I have setup But this is not working, I suppose this is due

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Alex Harui
How can collectionOfVOs be a Constant when it is being assigned data off a network request? -Alex On 10/8/18, 11:19 AM, "Carlos Rovira" wrote: When I say this is not working, I mean, I have the data right in place, but the data provider is empty. El lun., 8 oct. 2018 a las

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
When I say this is not working, I mean, I have the data right in place, but the data provider is empty. El lun., 8 oct. 2018 a las 20:17, Carlos Rovira () escribió: > Hi, > > I'm retrieving a collection of VOs and storing in a class > > something like this > > someClass.collectionOfVOs = new

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Olaf Krueger
Ahh sorry, I didn't see the latest answers before posting so my post is a duplicate to Harbs post ;-) -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Proxy method calls with RemoteObject

2018-10-08 Thread Carlos Rovira
Hi Alex, I'm closing for today, but tomorrow I'll need to handle more than one Responder for RemoteObject calls, so each operation/method can have it's own responder and create methods for each one in my controllers. with the current RemoteObject implementation could you share what could be the

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Alex Harui
Yes, in theory. The key to debugging binding in Royale is: "don't trust anything" __ The compiler might be generating the wrong code, the widgets may not be dispatching change events, and also, Royale evaluates binding expressions only once at instantiation time whereas Flex tried at least

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Thanks Alex, after much trying I see I missed to put a [Bindable] in the intermediate class variable that is nesting the var where the data is assigned, I thinked that make Bindable the model class itself was sufficient, but you need to make bindable as well the member that declares it, so lesson

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Harbs
I just ran your example and it changes the data. I’m not following you here. > On Oct 8, 2018, at 11:15 PM, Carlos Rovira wrote: > > Hi, > > just uploaded a example that works, I mean, it seems the component is ok, > but something is making it to fail. What scares me is that I'm doing mostly

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Olaf Krueger
> someClass.collectionOfVOs = new ArrayList (event.data as Array); It seems to me that you are always creating a new ArrayList instance when handling the event. Did you try to initialize collectionVOs with an empty ArrayList in order to make sure to populate always the same ArrayList object

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Thanks Harbs, Olaf, I think the problem is nested Binding. It seems that doesn't work, and that's a problem since defeats the purpose to have a model bindable at level class. I'm pretty sure people will do this all the time. I get it working assigning a new ArrayList is I have in the same file.

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Alex Harui
Some kinds of nested binding do work. Others did not work in Flex either. Nested Arrays and Objects and other primitives don't dispatch change events. In Royale, because of PAYG, some basic implementations of ArrayList should not dispatch change events at all. Some other bead or a more

Re: Proxy method calls with RemoteObject

2018-10-08 Thread Alex Harui
I think you'll have to wait until someone gets all of the old Flex RO code to compile and run. I'm currently still debugging the compiler, so no way it will be ready tomorrow. It doesn't make sense to try to duplicate all of this code and get it to work some other way. -Alex On 10/8/18,

Build failed in Jenkins: royale-asjs_MXTests #30

2018-10-08 Thread apacheroyaleci
See Changes: [carlosrovira] Add example to assign new data to combobox -- [...truncated 2.04 MB...] [mxmlc]

Re: Migrating Enterprise Flex Application

2018-10-08 Thread chembali
Alex, are you able to view the details in the error page that I have attached? -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Migrating Enterprise Flex Application

2018-10-08 Thread Alex Harui
The zip file didn't work for me. I'm not sure how well MenuExample and AccordionExample were tested before the release. -Alex On 10/8/18, 8:40 PM, "chembali" wrote: Will get to this as soon as I can. Here is another issue that I am having. I am trying to take a look at some of the

Jenkins build is back to normal : royale-asjs_MXTests #31

2018-10-08 Thread apacheroyaleci
See

Re: Migrating Enterprise Flex Application

2018-10-08 Thread chembali
Will get to this as soon as I can. Here is another issue that I am having. I am trying to take a look at some of the samples shipped with 0.9.3 release. I am seeing issues while running some of the examples. Please see the attached zip containing the screenshot showing the error while running the

Re: Migrating Enterprise Flex Application

2018-10-08 Thread chembali
Error.PNG Please see the attached error that shows the javascript error. -- Sent from: http://apache-royale-development.20373.n8.nabble.com/

Re: Migrating Enterprise Flex Application

2018-10-08 Thread Alex Harui
If you create a simple test case, I will see what the Compiler is thinking. Thanks, -Alex On 10/8/18, 1:23 AM, "chembali" wrote: I always get the compile error, but many times it goes ahead and creates the js distribution and the component that I am trying to use works fine. But

Re: Proxy method calls with RemoteObject

2018-10-08 Thread Carlos Rovira
Ok Alex, thanks, didn't know that you have this task to make it work RO. I though you only try to compile it. That's good to know. I'm trying right now to make a real world app and since I don't have a micro structural IOC framework like Swiz, that was that I use in Flex, I'm trying to structure

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Hi Piotr, Jewel ComboBox uses DataItemRendererFactoryForCollectionView that implements IDataProviderItemRendererMapper thanks El lun., 8 oct. 2018 a las 21:02, Piotr Zarzycki () escribió: > Hi Carlos, > > Maybe your ComboBox have to use IDataProviderItemRendererMapper ? It's just > a shot. > >

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Hi, just uploaded a example that works, I mean, it seems the component is ok, but something is making it to fail. What scares me is that I'm doing mostly the same but across multiple files and pulling data from AMF. I'll investigate more to see what could be happening thanks for the suggestions.

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Carlos Rovira
Just to be sure: someClass is Bindable at level class, and collectionOfVOs is not marked as Bindable since the class already is. I suppose this works like in Flex right ? if the Class is Bindable, all members are Bindable right? El lun., 8 oct. 2018 a las 22:15, Carlos Rovira () escribió: > Hi,

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Harbs
You might need a EasyDataProviderChangeNotifier bead on your ComboBox. HTH, Harbs > On Oct 8, 2018, at 9:17 PM, Carlos Rovira wrote: > > Hi, > > I'm retrieving a collection of VOs and storing in a class > > something like this > > someClass.collectionOfVOs = new ArrayList (event.data as

Re: Retrieving a collection of data and reassign the collection to show in a component with Binding

2018-10-08 Thread Piotr Zarzycki
Hi Carlos, Maybe your ComboBox have to use IDataProviderItemRendererMapper ? It's just a shot. Piotr On Mon, Oct 8, 2018, 8:24 PM Alex Harui wrote: > How can collectionOfVOs be a Constant when it is being assigned data off a > network request? > > -Alex > > On 10/8/18, 11:19 AM, "Carlos