Re: FlexJS MXML ids and classNames

2017-05-22 Thread piotrz
Hi Alex, You convinced me more to do not touch "id", and if we won't touch it and introduce "localId" not translatable to HTML we will achieve those what we want. However in order to resolve problems with third party library "id" still need to be generated somehow if we setup "localId". That's my

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Alex Harui
Hmm. I'm just now catching up on this thread. Are we sure this 'globalID' proposal is the right one? What happened to Piotr's concern that 3rd party libraries might recommend setting the 'id' property. Or similarly, that some CSS theme is expecting you to set 'id'. I'd be worried we'd be const

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Harbs
+1 > On May 22, 2017, at 3:13 PM, Josh Tynjala wrote: > > Yes, with my proposal, globalID would be translated to HTML. With id, it > would go back to the classic behavior of adding a member variable to the > class only and not being translated to a global HTML id. > > This change would indeed b

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Josh Tynjala
Agreed. This is something that should definitely be in the release notes. - Josh On Mon, May 22, 2017 at 3:44 PM, Justin Mclean wrote: > Hi, > > > This change would indeed break existing FlexJS applications that used the > > HTML id in some way (like in CSS). However, we're pre-1.0, so breaking

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Justin Mclean
Hi, > This change would indeed break existing FlexJS applications that used the > HTML id in some way (like in CSS). However, we're pre-1.0, so breaking > changes are still to be expected while we smooth things over. If we do break something we need to document how to work around it. Thee’s proj

Re: FlexJS MXML ids and classNames

2017-05-22 Thread piotrz
Chris, I think accessing "parent" and having pair of properties which prevents us from being duplicated when your are using same value of those properties in other views is something else. Maybe I'm not fully following your idea. Are saying that "localId" should be translated to HTML? - that's wh

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Christofer Dutz
Hi guys, In Flex we only had local id's, correct? If we wanted to access something somewhere else, we usually used "parent". Shouldn't this be possible in flexjs to? Sort of, only use local ids and have these translated to html id's by the compiler, by adding the local is to the parents id. I t

Re: FlexJS MXML ids and classNames

2017-05-22 Thread piotrz
+1 to Josh's proposition. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-MXML-ids-and-classNames-tp54361p61747.html Sent from the Apache Flex Development mailing list archive at Nabble.com.

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Josh Tynjala
Yes, with my proposal, globalID would be translated to HTML. With id, it would go back to the classic behavior of adding a member variable to the class only and not being translated to a global HTML id. This change would indeed break existing FlexJS applications that used the HTML id in some way (

Re: FlexJS MXML ids and classNames

2017-05-22 Thread piotrz
Hi Alex, I was going to expand my thoughts on same concerns what Chris mention. If we introduce "localId" which will be responsible for identifying components in MXML we need to also generate "id" - based on those "localId" - cause in many cases "id" will be required in HTML once we set "localId".

Re: [ApacheCon/FlexJSSummit] Just registered...

2017-05-22 Thread Carlos Rovira
Hi! Congrats for the FlexJS Summit. It was a pity can't be there be you guys, but hope next it could be another time, maybe next year. btw, I want to ask to you about the experience. could you post about it? how was it? how many people was attending? what was the overal feeling and thinking for th

Re: [FlexJS] Is TLF Branch Building

2017-05-22 Thread Alex Harui
Yeah, but he can't go back and pull that hash because the timeline has other dual commits before that hash. I had to build a custom one. I have develop merged into TLF locally, but it doesn't currently run. I do not wish to stop working on the release and try to fix the TLF branch right now. -A

Re: [FlexJS] Is TLF Branch Building

2017-05-22 Thread Harbs
It builds for me. Which version of Falcon are you using? It will not work with the latest because dual has been merged into that. I’m using 7137de6b19cd11630ee1ef29f7a9164166e35b10. Harbs > On May 22, 2017, at 9:42 AM, yishayw wrote: > > I pulled all the latest changes and did 'ant clean all

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread Josh Tynjala
There are a number of reserved words in ActionScript that can't be used as identifiers, but they are allowed in JavaScript. We've been trying to support each of them in the compiler whenever someone needs a new one. It sounds like enum may be one of those that JavaScript allows that ActionScript cu

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread piotrz
Olaf, In that case one thought which came to me is to try COMPILE::JS tag for method, but as I remember it wasn't working in the end application. I need to try myself and raise jira probably. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache

[FlexJS] Is TLF Branch Building

2017-05-22 Thread yishayw
I pulled all the latest changes and did 'ant clean all' with the following result: C:\dev\flexjs\flex-asjs\build.xml:499: The following error occurred while executing this line: C:\dev\flexjs\flex-asjs\frameworks\build.xml:79: The following error occurred while executing this line: C:\dev\flexjs\f

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread Olaf Krueger
Hey Piotr, the check-in procedure in Miami was done really quick, much faster than in Germany. So I've had some time to revive the work on my PureMVC EmployeeAdmin FlexJS port ;-) >How this failing fragment of code look like ? Could you post it on https://paste.apache.org/ ? In my case, it occurs

Re: [ApacheCon/FlexJS Summit] FlexJS 1.0 Discussion Round - Summary

2017-05-22 Thread Peter Ent
The Storage package is definitely incomplete. We should address access from browser (JS & SWF) air, and Cordova. Peter > On May 21, 2017, at 10:44 AM, PKumar wrote: > > Peter, > > As compare to regular FlexSDK , there is no way to select any file from > file system and adding file type fil

Re: [FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread piotrz
Hi Olaf :), How this failing fragment of code look like ? Could you post it on https://paste.apache.org/ ? Thanks, Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Compiler-doesn-t-recognize-rese

[FlexJS] Compiler doesn't recognize reserved JS words like 'enum'

2017-05-22 Thread Olaf Krueger
Hi, I've stumbled over the issue that the compiler doesn't recognize the reserved JS word 'enum'. Instead, it just returns just a 'Parse error' without any hints that 'enum' is a reserved JS keyword [1] Is it a big deal to teach the compiler all the reserved JS keywords [2]. I found something like

Re: [ApacheCon/FlexJSSummit] Just registered...

2017-05-22 Thread Olaf Krueger
Thanks to all those who made this awesome event possible and successful at least! And special thanks to Chris of course! I'm pretty sure FlexJS will benefit from this Summit! Olaf -- View this message in context: http://apache-flex-development.247.n4.nabble.com/ApacheCon-FlexJSSummit-J

Re: [LAST CALL] Release FlexJS/FalconJX 0.8.0

2017-05-22 Thread yishayw
You're right, changes are indeed reflected. I couldn't see my new bead in the project, but that was because I didn't add it via FB. If I had, FB would have added an entry under .flexLibProperties such as and Test would have been visible to my test app. You still need to add org.apach

Re: FlexJS MXML ids and classNames

2017-05-22 Thread Christofer Dutz
Just replying to the last mail of the thread. I think a lot of other JS frameworks have the same set of problems. I think a solution most of them use is to create internal ids based upon the id and the id of the parent component. In JSF for example they create these ids by this: “{parentId}:{i