Re: Flex app with Angular2

2017-04-26 Thread Justin Mclean
HI,

> I didn't think you could add returnFormat="JSON" to a CFC method while still 
> supporting AMF calls; but don't think I've actually tried it.

I’ve tried it it works, but as you say it probably not the answer here.

Thanks,
Justin

Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread OK
It already feels like doing much more clean ups than compilations during app
development :-)) 

In this case a project clean in combination with removing the bin dir works
for me! 

@Prashant 
Do you have already tried the FB Project->clean... function?

Thanks,
Olaf





--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15123.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex app with Angular2

2017-04-26 Thread olegkon
We did not use CF or Lucee in our project so far (although some people here
like it :-) ),
I have no experience with it.

So far I am trying to run latest Spring-BlazeDS testdrive 1.6 (trying to
resolve security exceptions).
https://github.com/spring-projects/spring-flex

There is rest-insync sample there. If I am able to run that, will try to
port it to Spring 4.3.
Hope it will help to add RESTful web service with JSON to BlazeDS4 in our
Flex web app.

Has anyone tried that?



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-app-with-Angular2-tp14960p15122.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS:PureMVC with FlexJS

2017-04-26 Thread PKumar
Hi Piotr,

Sorry to delay in response, I had bit tight schedule so could not upload
demo on git. I am enhancing the demo with more views and mediator. Hopefully
this weekend, i will upload the final demo on github.

Regards,
Prashant



-
Regards,
Prashant
--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-PureMVC-with-FlexJS-tp14880p15121.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread PKumar
I deleted bin folder and build project again. but getting same issue. I am
using FlashBuilder4.7.  Please check the attached chrome console output.  

This issue is only reproducible if i am creating a separate view as
"MyInitialView.mxml"  and  could not reproduce if i am keeping all my mxml
inside main.mxml file. Please suggest.

 





-
Regards,
Prashant
--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15120.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex app with Angular2

2017-04-26 Thread Jeffry Houser


On 4/25/2017 10:59 PM, Justin Mclean wrote:

Hi,

Depending on the version of CF you are using you can make CFC return JSON easily

Either specify returnFormat=“JSON” in the method or append returnformat=json to 
the URL query string, CF then handles all of the conversation for you, that may 
be an easier way to go.
 Sorry if I confused things by mentioning CF.  Oleg was using Java; not 
ColdFusion.  I was just trying to parallel my experience; since they are 
both the same thing "under the hood."


 I didn't think you could add returnFormat="JSON" to a CFC method while 
still supporting AMF calls; but don't think I've actually tried it.



--
Jeffry Houser
Technical Entrepreneur
http://www.jeffryhouser.com
203-379-0773



Last chance: ApacheCon is just three weeks away

2017-04-26 Thread Rich Bowen
ApacheCon is just three weeks away, in Miami, Florida, May 15th - 18th.
http://apachecon.com/

There's still time to register and attend. ApacheCon is the best place
to find out about tomorrow's software, today.

ApacheCon is the official convention of The Apache Software Foundation,
and includes the co-located events:
  * Apache: Big Data
  * Apache: IoT
  * TomcatCon
  * FlexJS Summit
  * Cloudstack Collaboration Conference
  * BarCampApache
  * ApacheCon Lightning Talks

And there's dozens of opportunities to meet your fellow Apache
enthusiasts, both from your project, and from the other 200+ projects at
the Apache Software Foundation.

Register here:
http://events.linuxfoundation.org/events/apachecon-north-america/attend/register-

More information here: http://apachecon.com/

Follow us and learn more about ApacheCon:
  * Twitter: @ApacheCon
  * Discussion mailing list:
https://lists.apache.org/list.html?apachecon-disc...@apache.org
  * Podcasts and speaker interviews: http://feathercast.apache.org/
  * IRC: #apachecon on the https://freenode.net/

We look forward to seeing you in Miami!

-- 
Rich Bowen - VP Conferences, The Apache Software Foundation
http://apachecon.com/
@apachecon



signature.asc
Description: OpenPGP digital signature


Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread Josh Tynjala
This looks suspiciously like a situation that I ran into a while back. In
Flash Builder, try deleting your project's output directory and build
(cleaning the project should take care of that). That should clear up the
error.

When you switch between different versions of FlexJS, you can get errors
like this because your output directory may end up containing a mix of JS
files from both versions of the SDK. I guess FlexJS doesn't delete the old
JS files with every build because that requires a longer build for all of
the file copying. So you need to remember to clean right after you update
your SDK.

- Josh

On Wed, Apr 26, 2017 at 7:01 AM, OK  wrote:

> Hi,
> this is a bit strange:
> I can reproduce this error by compiling with FlashBuilder [1].
> By using VSCode it works.
>
> Cause this makes no sense to me I double checked that both really used the
> same SDK...
>
> To make sure that there no side effects within my app code I reduced it to
> a
> test case with a Main.mxml file and an initial view that contains just a
> js:Label.
>
> Probably I'm doing something wrong... but maybe this is still more helpful
> than confusing.
>
> Olaf
>
>
> [1] https://snag.gy/KegvoT.jpg
>
>
>
> --
> View this message in context: http://apache-flex-users.
> 246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-
> tp15112p15117.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Re: FlexJS: Getting Uncaught type error

2017-04-26 Thread OK
Hi,
this is a bit strange:
I can reproduce this error by compiling with FlashBuilder [1].
By using VSCode it works.

Cause this makes no sense to me I double checked that both really used the
same SDK...

To make sure that there no side effects within my app code I reduced it to a
test case with a Main.mxml file and an initial view that contains just a
js:Label.

Probably I'm doing something wrong... but maybe this is still more helpful
than confusing.

Olaf


[1] https://snag.gy/KegvoT.jpg



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-Getting-Uncaught-type-error-tp15112p15117.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.