flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sharma, Pratyoosh" <pratyoosh.sha...@jpmorgan.com>
Subject Re: [FlexJS] Getting errors with FlexJS & a simple Flex program
Date Fri, 30 Aug 2013 23:36:29 GMT
Thanks Alex,
I can see that the project is mature enough for people like me to start helping, looking forward
to contribute back.

Have a great labor day weekend!!

Thanks,
Pratyoosh

----- Original Message -----
From: Alex Harui [mailto:aharui@adobe.com]
Sent: Friday, August 30, 2013 05:26 PM Eastern Standard Time
To: dev@flex.apache.org <dev@flex.apache.org>
Subject: Re: [FlexJS] Getting errors with FlexJS & a simple Flex program

And Peter did prototype wrapping Jquery and CreateJS components.  It is up
to the community to decide what gets done next.

Thank you for trying it out and we are looking forward to your feedback.

-Alex

On 8/30/13 2:08 PM, "Peter Ent" <pent@adobe.com> wrote:

>We use Google Closure as the foundation for the JavaScript version of the
>components. It helps with basic things like events and inheritance and is
>beneficial for cross-browser compatibility.
>
>I think you have the right idea. We don't have an official roadmap yet as
>this still alpha and we are constantly making adjustments to the
>components. For example, I'm working on a more complete itemRenderer
>framework and am moving that JavaScript. This will change how the List
>component works on the JavaScript side - right now the List JavaScript
>component is wrapping the HTML <select> element. When I'm done, the List
>JavaScript component will also use itemRenderers and, to make it possible
>to use lighter-weight components, we'll introduce a SimpleList or TextList
>that will become the <select> wrapper in JavaScript. This is the same way
>we did the Alert and SimpleAlert.
>
>--peter
>
>On 8/30/13 3:07 PM, "Sharma, Pratyoosh" <pratyoosh.sharma@jpmorgan.com>
>wrote:
>
>>Thanks Om & Peter, you guys have been really helping the community, I am
>>coming quite late to the party when things are mature enough for me to be
>>productive, so I am trying to make sure I get the fundamentals right
>>
>>I get the basic idea, there are basically 2 folders
>>
>>Flex 
>>http://svn.apache.org/repos/asf/flex/asjs/branches/develop/frameworks/as/
>>s
>>rc 
>>
>>JavaScript 
>>
>>http://svn.apache.org/repos/asf/flex/asjs/branches/develop/frameworks/js/
>>F
>>lexJS/src/ 
>>
>>Flex compiler cares about the AS3 code & it can enforce type checking
>>using Flex code, component developers should keep the public API same
>>between Flex & HTML.
>>
>>What is the way you guys are progressing, is the intent only to use
>>Google closure to create components or wrappers around other libraries
>>are fine as well? (creating wrapper around the closure components may be
>>the first step)
>>Also is there a roadmap that you guys have, this will help make sure we
>>divide & conquer 
>>
>>Thanks,
>>Pratyoosh
>>
>>-----Original Message-----
>>From: omuppi1@gmail.com [mailto:omuppi1@gmail.com] On Behalf Of OmPrakash
>>Muppirala
>>Sent: Friday, August 30, 2013 2:18 PM
>>To: dev@flex.apache.org
>>Subject: Re: [FlexJS] Getting errors with FlexJS & a simple Flex program
>>
>>On Fri, Aug 30, 2013 at 11:10 AM, Peter Ent <pent@adobe.com> wrote:
>>
>>> Hi,
>>>
>>> I'm the author of the Creating Components wiki page for FlexJS. Please
>>> let me know, via this email list, any confusion you have over creating
>>> the components.
>>>
>>> Based on your earlier email, I'm creating another Wiki page that
>>> describes how to build a FlexJS Application. It will be a rough draft
>>> at first, but I hope that will help.
>>>
>>> To answer your question, the develop branch is the correct branch.
>>>
>>>
>>And make sure you look at the new git based repo which is here:
>>https://git-wip-us.apache.org/repos/asf/flex-asjs.git
>>
>>Thanks,
>>Om
>>
>>
>>> Thanks for helping us.
>>>
>>> Regards,
>>> Peter Ent
>>> Flex SDK Team
>>> Adobe Systems
>>>
>>> On 8/30/13 1:31 PM, "Sharma, Pratyoosh"
>>> <pratyoosh.sharma@jpmorgan.com>
>>> wrote:
>>>
>>> >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:aharui@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.sharma@jpmorgan.com<mailto:pratyoosh.sharma@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+Ado
>>> be+F
>>> >lash+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',t
>>> >rue,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.
>>>
>>>
>>
>>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.
 

Mime
View raw message