Alex et al. I am trying to extend the FlexJS library & try create some component on my own I'll be using guidelines here https://cwiki.apache.org/confluence/display/FLEX/Creating+Components
Is this the right branch to base my code out of, is that where the working examples for Data binding were derived out of? http://svn.apache.org/repos/asf/flex/asjs/branches/develop Thanks, Pratyoosh -----Original Message----- From: Sharma, Pratyoosh Sent: Thursday, August 29, 2013 6:28 PM To: 'dev@flex.apache.org' Subject: RE: [FlexJS] Getting errors with FlexJS & a simple Flex program Works like a charm!!! Thanks a lot Alex :) I am happy to see the FlexJS has achieved that critical mass where it's almost usable for prime time use, minus nice components that Flex attained over a period of time -----Original Message----- From: Alex Harui [mailto:aha...@adobe.com] Sent: Thursday, August 29, 2013 5:40 PM To: dev@flex.apache.org Subject: Re: [FlexJS] Getting errors with FlexJS & a simple Flex program It might be best to grab the example app from http://people.apache.org/~aharui/FlexJS/DataBindingTest/bin-release/ and right-click and "View Source" to get the source and modify that example. In FlexJS, the Application is not a display object so you don't add your UI widgets there, you add them to an initial view (like MyInitialView.mxml). Thanks, -Alex From: <Sharma>, Pratyoosh <pratyoosh.sha...@jpmorgan.com<mailto:pratyoosh.sha...@jpmorgan.com>> Reply-To: "dev@flex.apache.org<mailto:dev@flex.apache.org>" <dev@flex.apache.org<mailto:dev@flex.apache.org>> Date: Thursday, August 29, 2013 1:00 PM To: "dev@flex.apache.org<mailto:dev@flex.apache.org>" <dev@flex.apache.org<mailto:dev@flex.apache.org>> Subject: [FlexJS] Getting errors with FlexJS & a simple Flex program I am using instructions on Alex's confluence page https://cwiki.apache.org/confluence/display/FLEX/Using+FlexJS+with+Adobe+Flash+Builder with Apache flex sdk 4.9 & overlay from here http://people.apache.org/~aharui/FlexJS/FlexJSOverlay.zip I am using closure library 20121212-r2367 with it & running the compilation via java command line something like this C:\Program Files (x86)\Java\jdk1.6.0_31\bin\java.exe -Xmx384m -Dfile.encoding=UTF8 -Dsun.io.useCanonCaches=false -Dflexcompiler="c:\software\ApacheFlexJS" -Dflexlib="c:\software\ApacheFlexJS\frameworks" -jar c:\software\ApacheFlexJS\js\lib\mxmlc.jar -compiler.mxml.children-as-data -compiler.binding-value-change-event-type=valueChange -js-output-type=FLEXJS -closure-lib=C:\software\closure -sdk-js-lib=c:\software\ApacheFlexJS\js\src "${resource_loc}" First of all the generate js file has an error of generating null0 that causes an error org.apache.flex.html.staticControls.TextInput,3,'id',true,'symbolTI','y',true,25,'x',true,20,0,0, null0,0]; correcting that manually causes a further to happen in base.js with fn.call is undefined The program code is pretty simple, attached compilation log as well here <?xml version="1.0" encoding="utf-8"?> <basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:basic="library://ns.apache.org/flexjs/basic" > <basic:Label x="20" y="8" width="300" text="Enter Stock Symbol or choose from list:" /> <basic:TextInput id="symbolTI" x="20" y="25" /> </basic:Application> This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.