Re: AMF and class aliases

2019-07-23 Thread Frost, Andrew
name coming from an AMF data stream, it then doesn't match the minified version! Working now anyway, thanks! Andrew -Original Message- From: Greg Dove Sent: 23 July 2019 05:58 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Andrew, you mentioned

Re: AMF and class aliases

2019-07-22 Thread Greg Dove
Bindable]public var RESULT_CODE; } > and then > var resultCodeObj : ResultCode = results[i].outputArray.source[0]; > var resultCode : String = resultCodeObj.RESULT_CODE; > > > thanks > >Andrew > > > -Original Message- > Fro

Re: AMF and class aliases

2019-07-22 Thread Alex Harui
esultCode = results[i].outputArray.source[0]; var resultCode : String = resultCodeObj.RESULT_CODE; thanks Andrew -Original Message- From: Greg Dove Sent: 15 July 2019 21:40 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and c

Re: AMF and class aliases

2019-07-22 Thread Carlos Rovira
our customer happier as they > > don't like the slow loading time for all the .js files in a debug > build...) > > > > cheers > > > > > > > > -----Original Message- > > From: Carlos Rovira > > Sent: 22 July 2019 14:52 > > To: de

Re: AMF and class aliases

2019-07-22 Thread Piotr Zarzycki
gt; From: Carlos Rovira > Sent: 22 July 2019 14:52 > To: dev@royale.apache.org > Subject: [EXTERNAL] Re: AMF and class aliases > > Hi Andrew, > > first of all if you are using ArrayCollection and not ArrayList you must > configure that. In my code I'm using this to configu

Re: AMF and class aliases

2019-07-22 Thread Frost, Andrew
.js files in a debug build...) cheers -Original Message- From: Carlos Rovira Sent: 22 July 2019 14:52 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Hi Andrew, first of all if you are using ArrayCollection and not ArrayList you must configure that. In m

Re: AMF and class aliases

2019-07-22 Thread Carlos Rovira
Hi Andrew, first of all if you are using ArrayCollection and not ArrayList you must configure that. In my code I'm using this to configure ArrayList as the type royale must use when send and receive java ArrayCollection: registerClassAlias("flex.messaging.io.ArrayCollection", ArrayList); (don't

Re: AMF and class aliases

2019-07-22 Thread Frost, Andrew
lts[i].outputArray.source[0]; var resultCode : String = resultCodeObj.RESULT_CODE; thanks Andrew -Original Message- From: Greg Dove Sent: 15 July 2019 21:40 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Also, before I forget: If your legacy flex app includes [T

Re: AMF and class aliases

2019-07-16 Thread Frost, Andrew
Thanks Carlos & Greg, we'll take a look.. -Original Message- From: Greg Dove Sent: 15 July 2019 21:40 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Also, before I forget: If your legacy flex app includes [Transient] metadata anywhere, don't fo

Re: AMF and class aliases

2019-07-15 Thread Greg Dove
gt; > - the AMF serialization for classes is taking their public properties. >> We >> > had removed the public properties and changed them into private >> properties >> > plus public get functions, in order to avoid the warning from the Google >> > Clo

Re: AMF and class aliases

2019-07-15 Thread Greg Dove
m the Google > > Closure Compiler, but the serializer is only looking at traditional > > properties rather than at accessors. Not sure whether this is something > > that we should consider changing in the future within the framework..? > > > > Maybe this would better be responded by

Re: AMF and class aliases

2019-07-15 Thread Carlos Rovira
this would better be responded by others > > Will see whether this all works now..! > > thanks > > Andrew > > > -Original Message- > From: Alex Harui > Sent: 15 July 2019 05:39 > To: dev@royale.apache.org > Subject: [EXTERNAL] Re: AMF and class aliase

RE: AMF and class aliases

2019-07-15 Thread Frost, Andrew
To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases IMO, localization may perform better with a custom bead or two. Generic binding must watch something for changes that might require that getString() be called again, but in general, either bindings to locales are set up early

Re: AMF and class aliases

2019-07-14 Thread Alex Harui
to this myself :-( thanks Andrew -Original Message- From: Carlos Rovira Sent: 12 July 2019 11:45 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Yeah! we are in production with AMF for around 4 months

Re: AMF and class aliases

2019-07-12 Thread Piotr Zarzycki
ot sure whether this is then getting handled properly and > > what the next event is that's going out to the server, it's not working > > fully yet. Trying to remotely debug without any access to this myself :-( > > > > > > thanks > > > >Andrew > > > >

Re: AMF and class aliases

2019-07-12 Thread Carlos Rovira
ng out to the server, it's not working > fully yet. Trying to remotely debug without any access to this myself :-( > > > thanks > >Andrew > > > > -Original Message- > From: Carlos Rovira > Sent: 12 July 2019 11:45 > To: dev@royale.apache.org > Sub

Re: AMF and class aliases

2019-07-12 Thread Frost, Andrew
ss to this myself :-( thanks Andrew -Original Message- From: Carlos Rovira Sent: 12 July 2019 11:45 To: dev@royale.apache.org Subject: [EXTERNAL] Re: AMF and class aliases Yeah! we are in production with AMF for around 4 months without any issue! So RO works great for Royale ;

Re: AMF and class aliases

2019-07-12 Thread Carlos Rovira
t; > Yes I just took a look, that does appear to go through it all and set > > everything up... > > > > Thank you! that saved us a bit of effort trying to update the compiler > ;-) > > > > > > > > > > -Original Message----- > > From: Greg

Re: AMF and class aliases

2019-07-11 Thread Greg Dove
; > > -Original Message- > From: Greg Dove > Sent: 11 July 2019 23:27 > To: dev@royale.apache.org > Subject: [EXTERNAL] Re: AMF and class aliases > > Hi Andrew, > 'but I can't see anywhere that this list is accessed/used.' > > I think you need ClassAliasBead on your

Re: AMF and class aliases

2019-07-11 Thread Frost, Andrew
: [EXTERNAL] Re: AMF and class aliases Hi Andrew, 'but I can't see anywhere that this list is accessed/used.' I think you need ClassAliasBead on your Application level, which will process all the definitions. On Fri, Jul 12, 2019 at 10:22 AM Frost, Andrew wrote: > Hi all > > We'

Re: AMF and class aliases

2019-07-11 Thread Greg Dove
Hi Andrew, 'but I can't see anywhere that this list is accessed/used.' I think you need ClassAliasBead on your Application level, which will process all the definitions. On Fri, Jul 12, 2019 at 10:22 AM Frost, Andrew wrote: > Hi all > > We're trying to get a connection to work from our

AMF and class aliases

2019-07-11 Thread Frost, Andrew
Hi all We're trying to get a connection to work from our Royale-based code to a LiveCycle back-end, and having to debug why the AMF message is different between the Flex version and the Royale version (and trying to work out why the server is rejecting our initial ping message..) One thing