Re: AW: [FlexJS/Falcon] Build concerns
I’ve tried the build on windows 10 and it works nicely. Could you please report the following versions: - Git - Java - Maven Chris Am 10.11.16, 07:36 schrieb "piotrz" : Tried through the bash and result is same. - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-Build-concerns-tp56292p56428.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] Stuck with Images vía CSS
Hi Alex, I changed from inline styles to a CSS external file so I have now: .cardTitle { color: #fff; height: 176px; background:url('assets/Unknown.jpg') center / cover; } in the external css file and in mxml I have: The result in the Safari browser console is: this["background"] = [unexpected value type: url('assets/Unknown.jpg'), "center", "/", "cover"]; and in the right side of the console this warning: Unexpected identifier 'value'. Expected either a closing ']' or a ',' following an array element. El 10 de noviembre de 2016, 0:58, Alex Harui escribió: > > > On 11/9/16, 3:38 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Now, we have inline styles fixed (and committed it in Chris branch), but > >as > >I traslated the same example to a css class, I get this: > > > >this["background"] = [unexpected value type: url('assets/Unknown.jpg'), > >"center", "/", "cover"]; > > > >Unexpected identifier 'value'. Expected either a closing ']' or a ',' > >following an array element. > > I'm not sure I understand. Where is the above code? The sequence: > > [unexpected value type: url('assets/Unknown.jpg') > > doesn't look like AS or CSS to me. > > -Alex > > > > >So seems css files are treat different. > > > >Could you give guidance to understand this other case and fix it? > > > >thanks > > > > > > > > > >El 10 de noviembre de 2016, 0:02, Carlos Rovira < > >carlos.rov...@codeoscopic.com> escribió: > > > >> That was Alex, > >> now Image appears...is the leading space... so we need to trim > >> Thanks! this was really hard to get > >> > >> 2016-11-09 23:54 GMT+01:00 Alex Harui : > >> > >>> > >>> > >>> On 11/9/16, 2:17 PM, "carlos.rov...@gmail.com on behalf of Carlos > >>>Rovira" > >>> > >>> wrote: > >>> > >>> >That line is right, if I put trace("styles: " + p + " :: " + value); I > >>> get > >>> > > >>> >"styles: background :: url('assets/Unknown.jpeg') center / cover" > >>> > > >>> >so right... > >>> > > >>> >but in the DOM we get: > >>> > > >>> > > >>> > > >>> >So the background is eliminated... > >>> > >>> Hmm. Maybe p has a leading space? I'd had to spend cycles trimming > >>> whitespace from strings, but maybe we have to. > >>> > >>> -Alex > >>> > >>> > >> > >> > >> -- > >> > >> Carlos Rovira > >> Director General > >> M: +34 607 22 60 05 > >> http://www.codeoscopic.com > >> http://www.avant2.es > >> > >> > >> Este mensaje se dirige exclusivamente a su destinatario y puede contener > >> información privilegiada o confidencial. Si ha recibido este mensaje por > >> error, le rogamos que nos lo comunique inmediatamente por esta misma > >>vía y > >> proceda a su destrucción. > >> > >> De la vigente Ley Orgánica de Protección de Datos (15/1999), le > >> comunicamos que sus datos forman parte de un fichero cuyo responsable es > >> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la > >> prestación del servicio o información solicitados, teniendo usted > >>derecho > >> de acceso, rectificación, cancelación y oposición de sus datos > >>dirigiéndose > >> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la > >> documentación necesaria. > >> > >> > > > > > >-- > > > >Carlos Rovira > >Director General > >M: +34 607 22 60 05 > >http://www.codeoscopic.com > >http://www.avant2.es > > > > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener > >información privilegiada o confidencial. Si ha recibido este mensaje por > >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > >proceda a su destrucción. > > > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le > >comunicamos > >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC > >S.A. La finalidad de dicho tratamiento es facilitar la prestación del > >servicio o información solicitados, teniendo usted derecho de acceso, > >rectificación, cancelación y oposición de sus datos dirigiéndose a > >nuestras > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > >necesaria. > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
Ok ... is merged and the maven build is still green ☺ Am 09.11.16, 20:47 schrieb "Alex Harui" : OK, I think I got everything building via Ant in the example-maven-dirs branch. The Maven build also worked for me. I'm ready for you to try to merge it into develop. -Alex On 11/5/16, 7:13 AM, "Alex Harui" wrote: >I'll add it to my list. I'm still trying to get the DesktopMap example to >run again... > >On 11/5/16, 1:36 AM, "Christofer Dutz" wrote: > >>Hi, >> >>as the Sprite refactoring stuff seems to be in develop now would be a >>good time to adress the last directory cleanup, by cleaning up the >>examples. >>I already did this for maven, but would like to ask the Ant users to >>adjust the Ant builds to the adjusted structure. I put my changes in the >>feature-autobuild/example-maven-dirs branch and will update it with the >>latest changes right away. >> >>Chris >
Back to the docs
I was just trying to migrate some old Flex MXML to FlexJS and I realized I don’t know how to do something: It’s actually an old mx VBox which had a verticalGap property. I don’t see an obvious way to specify a gap in a js:VerticalLayout. If it’s not there, we need to add it, but this issue made me realize a more fundamental issue. I think we need lots of little examples comparing old Flex with FlexJS with working samples of code — similar to Peter deHaan’s http://blog.flexexamples.com/. Harbs
Re: AW: [FlexJS/Falcon] Build concerns
Chris, Git: 2.7.4 Java: Installed: java version "1.8.0_111" JAVA_HOME: jdk1.8.0_74 Maven 3.3.9 Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-Build-concerns-tp56292p56433.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: Back to the docs
Hi Harbs, Once I finally have proper working build I may go through his blog and try to do one by one in FlexJS. I'm wondering what other thinks about your idea. Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Back-to-the-docs-tp56432p56434.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
Thanks Chris, is normal that the merged is not performed in flex-falcon and flex-typedefs repos? I only see merge in flex-asjs 2016-11-10 10:28 GMT+01:00 Christofer Dutz : > Ok ... is merged and the maven build is still green ☺ > > > > Am 09.11.16, 20:47 schrieb "Alex Harui" : > > OK, I think I got everything building via Ant in the example-maven-dirs > branch. The Maven build also worked for me. > > I'm ready for you to try to merge it into develop. > > -Alex > > On 11/5/16, 7:13 AM, "Alex Harui" wrote: > > >I'll add it to my list. I'm still trying to get the DesktopMap > example to > >run again... > > > >On 11/5/16, 1:36 AM, "Christofer Dutz" > wrote: > > > >>Hi, > >> > >>as the Sprite refactoring stuff seems to be in develop now would be a > >>good time to adress the last directory cleanup, by cleaning up the > >>examples. > >>I already did this for maven, but would like to ask the Ant users to > >>adjust the Ant builds to the adjusted structure. I put my changes in > the > >>feature-autobuild/example-maven-dirs branch and will update it with > the > >>latest changes right away. > >> > >>Chris > > > > > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: Back to the docs
I as well try to get some "padding" between items in a vertical or horizontal layout and no found that property, so I'm as well interested to know is something of this is already done or needs to be done. thanks 2016-11-10 10:56 GMT+01:00 piotrz : > Hi Harbs, > > Once I finally have proper working build I may go through his blog and try > to do one by one in FlexJS. > I'm wondering what other thinks about your idea. > > Piotr > > > > - > Apache Flex PMC > piotrzarzyck...@gmail.com > -- > View this message in context: http://apache-flex- > development.247.n4.nabble.com/Back-to-the-docs-tp56432p56434.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: AW: [FlexJS/Falcon] Build concerns
Chris, That was it. - Thank you! :) I've updated GIT to newest version and everything has built without the problem, but example is still failing with same result. [1] [1] https://paste.apache.org/WRup Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Falcon-Build-concerns-tp56292p56437.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
[FlexJS] Building from Flash Builder
After getting the latest nightly and running external tools - > FlexJS (FalconJX Debug Build) I'm getting the following. What did I do wrong? sing Flex SDK: C:\dev\flexjs\flex-sdk using FlashBuilder Project Files FlashBuilder settings: -source-path+=C:\Users\Yishay\html_dev\a_project/src -compiler.accessible=true -output=C:\Users\Yishay\html_dev\a_project/bin-debug/a_project.swf -library-path+=C:\Users\Yishay\html_dev\a_project/libs -locale en_US -js-output-type=FLEXJS -sdk-js-lib=C:\dev\flexjs\flex-sdk\frameworks\js\FlexJS\generated-sources -debug=true -fb C:\Users\Yishay\html_dev\a_project/src/a_project.mxml C:\Users\Yishay\html_dev\a_project\src\a_project.mxml(2): col: 1 This tag could not be resolved to an ActionScript class. It will be ignored. http://ns.adobe.com/mxml/2009"; ^ -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FlexJS-Building-from-Flash-Builder-tp56438.html Sent from the Apache Flex Development mailing list archive at Nabble.com.
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
All of the work I did in that branch was purely in the framework repo ... I had to manually remove the delete in the compiler though. Was there anything else in there that I should have merged? Chris Am 10.11.16, 11:20 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos Rovira" : Thanks Chris, is normal that the merged is not performed in flex-falcon and flex-typedefs repos? I only see merge in flex-asjs 2016-11-10 10:28 GMT+01:00 Christofer Dutz : > Ok ... is merged and the maven build is still green ☺ > > > > Am 09.11.16, 20:47 schrieb "Alex Harui" : > > OK, I think I got everything building via Ant in the example-maven-dirs > branch. The Maven build also worked for me. > > I'm ready for you to try to merge it into develop. > > -Alex > > On 11/5/16, 7:13 AM, "Alex Harui" wrote: > > >I'll add it to my list. I'm still trying to get the DesktopMap > example to > >run again... > > > >On 11/5/16, 1:36 AM, "Christofer Dutz" > wrote: > > > >>Hi, > >> > >>as the Sprite refactoring stuff seems to be in develop now would be a > >>good time to adress the last directory cleanup, by cleaning up the > >>examples. > >>I already did this for maven, but would like to ask the Ant users to > >>adjust the Ant builds to the adjusted structure. I put my changes in > the > >>feature-autobuild/example-maven-dirs branch and will update it with > the > >>latest changes right away. > >> > >>Chris > > > > > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
I didn't upload nothing to those two repos, but last days I switched to all those three and was building in that way, thinking that was changes in that branches. I suppose you did that due to the need that feature auto build jobs need to be in all 3 at the same time, but you never need to change nothing. So confusion cleared :) Thanks! 2016-11-10 12:25 GMT+01:00 Christofer Dutz : > All of the work I did in that branch was purely in the framework repo ... > I had to manually remove the delete in the compiler though. > Was there anything else in there that I should have merged? > > Chris > > > > Am 10.11.16, 11:20 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos > Rovira" carlos.rov...@codeoscopic.com>: > > Thanks Chris, > > is normal that the merged is not performed in flex-falcon and > flex-typedefs > repos? > I only see merge in flex-asjs > > > > 2016-11-10 10:28 GMT+01:00 Christofer Dutz >: > > > Ok ... is merged and the maven build is still green ☺ > > > > > > > > Am 09.11.16, 20:47 schrieb "Alex Harui" : > > > > OK, I think I got everything building via Ant in the > example-maven-dirs > > branch. The Maven build also worked for me. > > > > I'm ready for you to try to merge it into develop. > > > > -Alex > > > > On 11/5/16, 7:13 AM, "Alex Harui" wrote: > > > > >I'll add it to my list. I'm still trying to get the DesktopMap > > example to > > >run again... > > > > > >On 11/5/16, 1:36 AM, "Christofer Dutz" < > christofer.d...@c-ware.de> > > wrote: > > > > > >>Hi, > > >> > > >>as the Sprite refactoring stuff seems to be in develop now > would be a > > >>good time to adress the last directory cleanup, by cleaning up > the > > >>examples. > > >>I already did this for maven, but would like to ask the Ant > users to > > >>adjust the Ant builds to the adjusted structure. I put my > changes in > > the > > >>feature-autobuild/example-maven-dirs branch and will update > it with > > the > > >>latest changes right away. > > >> > > >>Chris > > > > > > > > > > > > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 > http://www.codeoscopic.com > http://www.avant2.es > > > Este mensaje se dirige exclusivamente a su destinatario y puede > contener > información privilegiada o confidencial. Si ha recibido este mensaje > por > error, le rogamos que nos lo comunique inmediatamente por esta misma > vía y > proceda a su destrucción. > > De la vigente Ley Orgánica de Protección de Datos (15/1999), le > comunicamos > que sus datos forman parte de un fichero cuyo responsable es > CODEOSCOPIC > S.A. La finalidad de dicho tratamiento es facilitar la prestación del > servicio o información solicitados, teniendo usted derecho de acceso, > rectificación, cancelación y oposición de sus datos dirigiéndose a > nuestras > oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > necesaria. > > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] Stuck with Images vía CSS
Hi Alex, seems the problem is caused when we have a CSS property with more than one value. If you have color and is #fff all is ok, but if you have background and instead of only url property you append "center", or more things, then you have a subobject that is not considered. In init method we deal with mainClass.cssData I need to know where cssData comes from to implement this. Thanks El 10 de noviembre de 2016, 10:19, Carlos Rovira < carlos.rov...@codeoscopic.com> escribió: > Hi Alex, > > I changed from inline styles to a CSS external file so I have now: > > .cardTitle > { > color: #fff; > height: 176px; > background:url('assets/Unknown.jpg') center / cover; > } > > in the external css file and in mxml I have: > > > > The result in the Safari browser console is: > > this["background"] = [unexpected value type: url('assets/Unknown.jpg'), > "center", "/", "cover"]; > > and in the right side of the console this warning: > > Unexpected identifier 'value'. Expected either a closing ']' or a ',' > following an array element. > > > > > > El 10 de noviembre de 2016, 0:58, Alex Harui escribió: > >> >> >> On 11/9/16, 3:38 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" >> >> wrote: >> >> >Now, we have inline styles fixed (and committed it in Chris branch), but >> >as >> >I traslated the same example to a css class, I get this: >> > >> >this["background"] = [unexpected value type: url('assets/Unknown.jpg'), >> >"center", "/", "cover"]; >> > >> >Unexpected identifier 'value'. Expected either a closing ']' or a ',' >> >following an array element. >> >> I'm not sure I understand. Where is the above code? The sequence: >> >> [unexpected value type: url('assets/Unknown.jpg') >> >> doesn't look like AS or CSS to me. >> >> -Alex >> >> > >> >So seems css files are treat different. >> > >> >Could you give guidance to understand this other case and fix it? >> > >> >thanks >> > >> > >> > >> > >> >El 10 de noviembre de 2016, 0:02, Carlos Rovira < >> >carlos.rov...@codeoscopic.com> escribió: >> > >> >> That was Alex, >> >> now Image appears...is the leading space... so we need to trim >> >> Thanks! this was really hard to get >> >> >> >> 2016-11-09 23:54 GMT+01:00 Alex Harui : >> >> >> >>> >> >>> >> >>> On 11/9/16, 2:17 PM, "carlos.rov...@gmail.com on behalf of Carlos >> >>>Rovira" >> >>> >> >>> wrote: >> >>> >> >>> >That line is right, if I put trace("styles: " + p + " :: " + value); >> I >> >>> get >> >>> > >> >>> >"styles: background :: url('assets/Unknown.jpeg') center / cover" >> >>> > >> >>> >so right... >> >>> > >> >>> >but in the DOM we get: >> >>> > >> >>> > >> >>> > >> >>> >So the background is eliminated... >> >>> >> >>> Hmm. Maybe p has a leading space? I'd had to spend cycles trimming >> >>> whitespace from strings, but maybe we have to. >> >>> >> >>> -Alex >> >>> >> >>> >> >> >> >> >> >> -- >> >> >> >> Carlos Rovira >> >> Director General >> >> M: +34 607 22 60 05 >> >> http://www.codeoscopic.com >> >> http://www.avant2.es >> >> >> >> >> >> Este mensaje se dirige exclusivamente a su destinatario y puede >> contener >> >> información privilegiada o confidencial. Si ha recibido este mensaje >> por >> >> error, le rogamos que nos lo comunique inmediatamente por esta misma >> >>vía y >> >> proceda a su destrucción. >> >> >> >> De la vigente Ley Orgánica de Protección de Datos (15/1999), le >> >> comunicamos que sus datos forman parte de un fichero cuyo responsable >> es >> >> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la >> >> prestación del servicio o información solicitados, teniendo usted >> >>derecho >> >> de acceso, rectificación, cancelación y oposición de sus datos >> >>dirigiéndose >> >> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la >> >> documentación necesaria. >> >> >> >> >> > >> > >> >-- >> > >> >Carlos Rovira >> >Director General >> >M: +34 607 22 60 05 >> >http://www.codeoscopic.com >> >http://www.avant2.es >> > >> > >> >Este mensaje se dirige exclusivamente a su destinatario y puede contener >> >información privilegiada o confidencial. Si ha recibido este mensaje por >> >error, le rogamos que nos lo comunique inmediatamente por esta misma vía >> y >> >proceda a su destrucción. >> > >> >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >> >comunicamos >> >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >> >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >> >servicio o información solicitados, teniendo usted derecho de acceso, >> >rectificación, cancelación y oposición de sus datos dirigiéndose a >> >nuestras >> >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >> >necesaria. >> >> > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 > http://www.codeoscopic.com > http://www.avant2.es > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > información privilegiada o confidencial. Si ha recibido este mensaje po
Re: [FlexJS] Stuck with Images vía CSS
That's a compiler issue. I will take a look today. On 11/10/16, 5:07 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >seems the problem is caused when we have a CSS property with more than one >value. If you have color and is #fff all is ok, but if you have background >and instead of only url property you append "center", or more things, then >you have a subobject that is not considered. > >In init method we deal with mainClass.cssData > >I need to know where cssData comes from to implement this. > >Thanks > > > >El 10 de noviembre de 2016, 10:19, Carlos Rovira < >carlos.rov...@codeoscopic.com> escribió: > >> Hi Alex, >> >> I changed from inline styles to a CSS external file so I have now: >> >> .cardTitle >> { >> color: #fff; >> height: 176px; >> background:url('assets/Unknown.jpg') center / cover; >> } >> >> in the external css file and in mxml I have: >> >> >> >> The result in the Safari browser console is: >> >> this["background"] = [unexpected value type: url('assets/Unknown.jpg'), >> "center", "/", "cover"]; >> >> and in the right side of the console this warning: >> >> Unexpected identifier 'value'. Expected either a closing ']' or a ',' >> following an array element. >> >> >> >> >> >> El 10 de noviembre de 2016, 0:58, Alex Harui >>escribió: >> >>> >>> >>> On 11/9/16, 3:38 PM, "carlos.rov...@gmail.com on behalf of Carlos >>>Rovira" >>> >>> wrote: >>> >>> >Now, we have inline styles fixed (and committed it in Chris branch), >>>but >>> >as >>> >I traslated the same example to a css class, I get this: >>> > >>> >this["background"] = [unexpected value type: >>>url('assets/Unknown.jpg'), >>> >"center", "/", "cover"]; >>> > >>> >Unexpected identifier 'value'. Expected either a closing ']' or a ',' >>> >following an array element. >>> >>> I'm not sure I understand. Where is the above code? The sequence: >>> >>> [unexpected value type: url('assets/Unknown.jpg') >>> >>> doesn't look like AS or CSS to me. >>> >>> -Alex >>> >>> > >>> >So seems css files are treat different. >>> > >>> >Could you give guidance to understand this other case and fix it? >>> > >>> >thanks >>> > >>> > >>> > >>> > >>> >El 10 de noviembre de 2016, 0:02, Carlos Rovira < >>> >carlos.rov...@codeoscopic.com> escribió: >>> > >>> >> That was Alex, >>> >> now Image appears...is the leading space... so we need to trim >>> >> Thanks! this was really hard to get >>> >> >>> >> 2016-11-09 23:54 GMT+01:00 Alex Harui : >>> >> >>> >>> >>> >>> >>> >>> On 11/9/16, 2:17 PM, "carlos.rov...@gmail.com on behalf of Carlos >>> >>>Rovira" >>> >>> >>carlos.rov...@codeoscopic.com> >>> >>> wrote: >>> >>> >>> >>> >That line is right, if I put trace("styles: " + p + " :: " + >>>value); >>> I >>> >>> get >>> >>> > >>> >>> >"styles: background :: url('assets/Unknown.jpeg') center / cover" >>> >>> > >>> >>> >so right... >>> >>> > >>> >>> >but in the DOM we get: >>> >>> > >>> >>> > >>> >>> > >>> >>> >So the background is eliminated... >>> >>> >>> >>> Hmm. Maybe p has a leading space? I'd had to spend cycles >>>trimming >>> >>> whitespace from strings, but maybe we have to. >>> >>> >>> >>> -Alex >>> >>> >>> >>> >>> >> >>> >> >>> >> -- >>> >> >>> >> Carlos Rovira >>> >> Director General >>> >> M: +34 607 22 60 05 >>> >> http://www.codeoscopic.com >>> >> http://www.avant2.es >>> >> >>> >> >>> >> Este mensaje se dirige exclusivamente a su destinatario y puede >>> contener >>> >> información privilegiada o confidencial. Si ha recibido este mensaje >>> por >>> >> error, le rogamos que nos lo comunique inmediatamente por esta misma >>> >>vía y >>> >> proceda a su destrucción. >>> >> >>> >> De la vigente Ley Orgánica de Protección de Datos (15/1999), le >>> >> comunicamos que sus datos forman parte de un fichero cuyo >>>responsable >>> es >>> >> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la >>> >> prestación del servicio o información solicitados, teniendo usted >>> >>derecho >>> >> de acceso, rectificación, cancelación y oposición de sus datos >>> >>dirigiéndose >>> >> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la >>> >> documentación necesaria. >>> >> >>> >> >>> > >>> > >>> >-- >>> > >>> >Carlos Rovira >>> >Director General >>> >M: +34 607 22 60 05 >>> >http://www.codeoscopic.com >>> >http://www.avant2.es >>> > >>> > >>> >Este mensaje se dirige exclusivamente a su destinatario y puede >>>contener >>> >información privilegiada o confidencial. Si ha recibido este mensaje >>>por >>> >error, le rogamos que nos lo comunique inmediatamente por esta misma >>>vía >>> y >>> >proceda a su destrucción. >>> > >>> >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >>> >comunicamos >>> >que sus datos forman parte de un fichero cuyo responsable es >>>CODEOSCOPIC >>> >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >>> >servicio o información solicitados, teniendo usted derecho de acceso, >>> >rectificación, cancelación y oposición de sus datos dirigiéndose a >>> >nue
Re: Back to the docs
On 11/10/16, 1:56 AM, "piotrz" wrote: >Hi Harbs, > >Once I finally have proper working build I may go through his blog and try >to do one by one in FlexJS. >I'm wondering what other thinks about your idea. I've also considered just trying to port Tour de Flex. Should we get some new Git repos for holding these efforts? -Alex
Re: [FlexJS] Stuck with Images vía CSS
Ok Thanks! El 10 de noviembre de 2016, 16:50, Alex Harui escribió: > That's a compiler issue. I will take a look today. > > On 11/10/16, 5:07 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Hi Alex, > > > >seems the problem is caused when we have a CSS property with more than one > >value. If you have color and is #fff all is ok, but if you have background > >and instead of only url property you append "center", or more things, then > >you have a subobject that is not considered. > > > >In init method we deal with mainClass.cssData > > > >I need to know where cssData comes from to implement this. > > > >Thanks > > > > > > > >El 10 de noviembre de 2016, 10:19, Carlos Rovira < > >carlos.rov...@codeoscopic.com> escribió: > > > >> Hi Alex, > >> > >> I changed from inline styles to a CSS external file so I have now: > >> > >> .cardTitle > >> { > >> color: #fff; > >> height: 176px; > >> background:url('assets/Unknown.jpg') center / cover; > >> } > >> > >> in the external css file and in mxml I have: > >> > >> > >> > >> The result in the Safari browser console is: > >> > >> this["background"] = [unexpected value type: url('assets/Unknown.jpg'), > >> "center", "/", "cover"]; > >> > >> and in the right side of the console this warning: > >> > >> Unexpected identifier 'value'. Expected either a closing ']' or a ',' > >> following an array element. > >> > >> > >> > >> > >> > >> El 10 de noviembre de 2016, 0:58, Alex Harui > >>escribió: > >> > >>> > >>> > >>> On 11/9/16, 3:38 PM, "carlos.rov...@gmail.com on behalf of Carlos > >>>Rovira" > >>> > >>> wrote: > >>> > >>> >Now, we have inline styles fixed (and committed it in Chris branch), > >>>but > >>> >as > >>> >I traslated the same example to a css class, I get this: > >>> > > >>> >this["background"] = [unexpected value type: > >>>url('assets/Unknown.jpg'), > >>> >"center", "/", "cover"]; > >>> > > >>> >Unexpected identifier 'value'. Expected either a closing ']' or a ',' > >>> >following an array element. > >>> > >>> I'm not sure I understand. Where is the above code? The sequence: > >>> > >>> [unexpected value type: url('assets/Unknown.jpg') > >>> > >>> doesn't look like AS or CSS to me. > >>> > >>> -Alex > >>> > >>> > > >>> >So seems css files are treat different. > >>> > > >>> >Could you give guidance to understand this other case and fix it? > >>> > > >>> >thanks > >>> > > >>> > > >>> > > >>> > > >>> >El 10 de noviembre de 2016, 0:02, Carlos Rovira < > >>> >carlos.rov...@codeoscopic.com> escribió: > >>> > > >>> >> That was Alex, > >>> >> now Image appears...is the leading space... so we need to trim > >>> >> Thanks! this was really hard to get > >>> >> > >>> >> 2016-11-09 23:54 GMT+01:00 Alex Harui : > >>> >> > >>> >>> > >>> >>> > >>> >>> On 11/9/16, 2:17 PM, "carlos.rov...@gmail.com on behalf of Carlos > >>> >>>Rovira" > >>> >>> >>>carlos.rov...@codeoscopic.com> > >>> >>> wrote: > >>> >>> > >>> >>> >That line is right, if I put trace("styles: " + p + " :: " + > >>>value); > >>> I > >>> >>> get > >>> >>> > > >>> >>> >"styles: background :: url('assets/Unknown.jpeg') center / cover" > >>> >>> > > >>> >>> >so right... > >>> >>> > > >>> >>> >but in the DOM we get: > >>> >>> > > >>> >>> > > >>> >>> > > >>> >>> >So the background is eliminated... > >>> >>> > >>> >>> Hmm. Maybe p has a leading space? I'd had to spend cycles > >>>trimming > >>> >>> whitespace from strings, but maybe we have to. > >>> >>> > >>> >>> -Alex > >>> >>> > >>> >>> > >>> >> > >>> >> > >>> >> -- > >>> >> > >>> >> Carlos Rovira > >>> >> Director General > >>> >> M: +34 607 22 60 05 > >>> >> http://www.codeoscopic.com > >>> >> http://www.avant2.es > >>> >> > >>> >> > >>> >> Este mensaje se dirige exclusivamente a su destinatario y puede > >>> contener > >>> >> información privilegiada o confidencial. Si ha recibido este mensaje > >>> por > >>> >> error, le rogamos que nos lo comunique inmediatamente por esta misma > >>> >>vía y > >>> >> proceda a su destrucción. > >>> >> > >>> >> De la vigente Ley Orgánica de Protección de Datos (15/1999), le > >>> >> comunicamos que sus datos forman parte de un fichero cuyo > >>>responsable > >>> es > >>> >> CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la > >>> >> prestación del servicio o información solicitados, teniendo usted > >>> >>derecho > >>> >> de acceso, rectificación, cancelación y oposición de sus datos > >>> >>dirigiéndose > >>> >> a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la > >>> >> documentación necesaria. > >>> >> > >>> >> > >>> > > >>> > > >>> >-- > >>> > > >>> >Carlos Rovira > >>> >Director General > >>> >M: +34 607 22 60 05 > >>> >http://www.codeoscopic.com > >>> >http://www.avant2.es > >>> > > >>> > > >>> >Este mensaje se dirige exclusivamente a su destinatario y puede > >>>contener > >>> >información privilegiada o confidencial. Si ha recibido este mensaje > >>>por > >>> >error, le rogamos que nos lo comunique inmediatamente por esta misma > >>>vía > >>> y >
Re: Back to the docs
Remember that the Basic components have a goal of being the most lightweight wrappers around HTMLElements. AFAICT, there is no verticalGap CSS property in the browsers, so, IMO, the Basic VerticalLayout should not support a "verticalGap" property because the only way I can think of implementing verticalGap is to write a bunch of code. Today, Basic VerticalLayout relies on just setting display:block on each element and letting the browser figure out where to position things. Someone is certainly welcome to write a VerticalLayoutWithGap though. And VerticalLayoutWithGap could certainly be the default vertical layout in a Migration component set. The children in a Basic VerticalLayout should respond to padding and margin today. So far, in the Basic component set, I am trying to resist the temptation to add properties to UIBase for CSS style properties other than width and height. Again, a Migration component set can have properties for every CSS style property, but IMO, the API is cleaner and the code is smaller if we don't have properties for every CSS style property on the Basic component set. My 2 cents, -Alex On 11/10/16, 2:23 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >I as well try to get some "padding" between items in a vertical or >horizontal layout and no found that property, so I'm as well interested to >know is something of this is already done or needs to be done. > >thanks > >2016-11-10 10:56 GMT+01:00 piotrz : > >> Hi Harbs, >> >> Once I finally have proper working build I may go through his blog and >>try >> to do one by one in FlexJS. >> I'm wondering what other thinks about your idea. >> >> Piotr >> >> >> >> - >> Apache Flex PMC >> piotrzarzyck...@gmail.com >> -- >> View this message in context: http://apache-flex- >> development.247.n4.nabble.com/Back-to-the-docs-tp56432p56434.html >> Sent from the Apache Flex Development mailing list archive at >>Nabble.com. >> > > > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener >información privilegiada o confidencial. Si ha recibido este mensaje por >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >necesaria.
Re: Back to the docs
> The children in a Basic VerticalLayout should respond to padding and > margin today. > I think that when I tried it, the global structure was getting padding and margin right, but not he items inside. I think that's ok, as in flex we had "gap" has we are disscusing here, and padding /margin is expected per item in CSS.
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
I did make changes to flex-falcon. I just tried to merge the examples-maven-dirs branch into develop and it created some files called mvnw and mvnw.cmd and also modified the top-level pom.xml and src/site/site.xml. Are those changes ok? -Alex On 11/10/16, 3:25 AM, "Christofer Dutz" wrote: >All of the work I did in that branch was purely in the framework repo ... >I had to manually remove the delete in the compiler though. >Was there anything else in there that I should have merged? > >Chris > > > >Am 10.11.16, 11:20 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos >Rovira" carlos.rov...@codeoscopic.com>: > >Thanks Chris, > >is normal that the merged is not performed in flex-falcon and >flex-typedefs >repos? >I only see merge in flex-asjs > > > >2016-11-10 10:28 GMT+01:00 Christofer Dutz >: > >> Ok ... is merged and the maven build is still green ☺ >> >> >> >> Am 09.11.16, 20:47 schrieb "Alex Harui" : >> >> OK, I think I got everything building via Ant in the >example-maven-dirs >> branch. The Maven build also worked for me. >> >> I'm ready for you to try to merge it into develop. >> >> -Alex >> >> On 11/5/16, 7:13 AM, "Alex Harui" wrote: >> >> >I'll add it to my list. I'm still trying to get the DesktopMap >> example to >> >run again... >> > >> >On 11/5/16, 1:36 AM, "Christofer Dutz" > >> wrote: >> > >> >>Hi, >> >> >> >>as the Sprite refactoring stuff seems to be in develop now >would be a >> >>good time to adress the last directory cleanup, by cleaning >up the >> >>examples. >> >>I already did this for maven, but would like to ask the Ant >users to >> >>adjust the Ant builds to the adjusted structure. I put my >changes in >> the >> >>feature-autobuild/example-maven-dirs branch and will update >it with >> the >> >>latest changes right away. >> >> >> >>Chris >> > >> >> >> >> > > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > > >Este mensaje se dirige exclusivamente a su destinatario y puede >contener >información privilegiada o confidencial. Si ha recibido este mensaje >por >error, le rogamos que nos lo comunique inmediatamente por esta misma >vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es >CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la >documentación >necesaria. > >
Re: Back to the docs
On 11/10/16, 8:07 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >> The children in a Basic VerticalLayout should respond to padding and >> margin today. >> > >I think that when I tried it, the global structure was getting padding and >margin right, but not he items inside. I think that's ok, as in flex we >had >"gap" has we are disscusing here, and padding /margin is expected per item >in CSS. That's right, AIUI. Padding and margin apply to the element, not its children. The Basic set is going to leverage how CSS works. -Alex
Re: [FlexJS] Finishing the maven structure adjustments for the exmaples?
Yeah ... they apply the site skin I used for the flex website to falcon too. The mvnw scripts were „experimental“ Chris Am 10.11.16, 17:11 schrieb "Alex Harui" : I did make changes to flex-falcon. I just tried to merge the examples-maven-dirs branch into develop and it created some files called mvnw and mvnw.cmd and also modified the top-level pom.xml and src/site/site.xml. Are those changes ok? -Alex On 11/10/16, 3:25 AM, "Christofer Dutz" wrote: >All of the work I did in that branch was purely in the framework repo ... >I had to manually remove the delete in the compiler though. >Was there anything else in there that I should have merged? > >Chris > > > >Am 10.11.16, 11:20 schrieb "carlos.rov...@gmail.com im Auftrag von Carlos >Rovira" carlos.rov...@codeoscopic.com>: > >Thanks Chris, > >is normal that the merged is not performed in flex-falcon and >flex-typedefs >repos? >I only see merge in flex-asjs > > > >2016-11-10 10:28 GMT+01:00 Christofer Dutz >: > >> Ok ... is merged and the maven build is still green ☺ >> >> >> >> Am 09.11.16, 20:47 schrieb "Alex Harui" : >> >> OK, I think I got everything building via Ant in the >example-maven-dirs >> branch. The Maven build also worked for me. >> >> I'm ready for you to try to merge it into develop. >> >> -Alex >> >> On 11/5/16, 7:13 AM, "Alex Harui" wrote: >> >> >I'll add it to my list. I'm still trying to get the DesktopMap >> example to >> >run again... >> > >> >On 11/5/16, 1:36 AM, "Christofer Dutz" > >> wrote: >> > >> >>Hi, >> >> >> >>as the Sprite refactoring stuff seems to be in develop now >would be a >> >>good time to adress the last directory cleanup, by cleaning >up the >> >>examples. >> >>I already did this for maven, but would like to ask the Ant >users to >> >>adjust the Ant builds to the adjusted structure. I put my >changes in >> the >> >>feature-autobuild/example-maven-dirs branch and will update >it with >> the >> >>latest changes right away. >> >> >> >>Chris >> > >> >> >> >> > > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > > >Este mensaje se dirige exclusivamente a su destinatario y puede >contener >información privilegiada o confidencial. Si ha recibido este mensaje >por >error, le rogamos que nos lo comunique inmediatamente por esta misma >vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es >CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la >documentación >necesaria. > >
[FlexJS] Team Page
Hi, I've created a new FlexJS Team page using FlexJS. You can view it in the staging area for now and at some point will make its way live. At the moment it will not be the de facto team page because it still needs a bit more sprucing up. Consider it a beta. http://flex.staging.apache.org/team/ The format is single column and I'm working on a flow/grid layout to take into account the variable height of the elements. One of the things I had to work out was a way for MXML item renderers to have layouts which was not really possible unless you placed the renderer's content into a Container and even then the container may not have had its size adjusted properly. Now you can simply add a layout bead to the item renderer in MXML directly. The data comes from the team.json file. The idea is that team members would check out this file and edit it to update or add their profile. Regards, Peter Ent Adobe Systems/Apache Flex Project
Re: [FlexJS] How to manage className correctly
Hi Alex, I refactored MDL class selectors taking account of this and now is working ok, so now user can decorate with is own selectors. I only have one strange issue with a simple color style. I want to set a color:#fff If I put in a css class external selector, this is not applied (but rest of rules works ok). If I put in inline style, this is working ok. If you want to see the code is in MDLExample, App.mxml line 117: .<-- I need to set the color here to get text inside this component white, if not it gets black The css style is mdl-styles.css .cardTitle { color: #fff; <--- this rule is not working height: 176px; } Some idea of what could be going here? Thanks 2016-11-07 6:42 GMT+01:00 Alex Harui : > > > On 11/6/16, 3:19 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > wrote: > > >Hi, > > > >className in flexjs translates to class. > >There's as well typeNames. > > > >If I write a component that uses some css class (in its definition), but I > >want to add some new css rule in app instantiation...what's the > >recommended > >way to manage this situation? > > > >should I override the className UIBase method? (that's the way I'm > >thinking > >right now to use so always reattach the basic css rules needed for the > >compoenent) or maybe there's some other trick in flexjs arsenal. > > I think that's what typeNames is for. TypeNames should get appended to > any classNames specified by the developer. > > Or maybe I don't understand the scenario. We could also change they way > things work now. My thinking was that typeNames contained the list of > class selectors that should act like type selectors. The type selector > set is not extensible, so typeNames effectively allows specification of > things that act like type selectors. > > HTH, > -Alex > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] How to manage className correctly
The compiler does not copy input CSS text directly to the output CSS file. Instead, it tries to parse it into a data structure and generate the final CSS file from that data structure. The CSS parsing code that we got from Adobe only knew how to parse Flex-compatible CSS. I'm slowly teaching it to parse more complex CSS which is probably why that background rule is being dropped as well. I thought I'd already taught the CSS parser to handle #RGB (in Flex only #RRGGBB is supported), but maybe it is broken somehow. Try using: color:#ff If that works, file a bug to remind me to revisit #RGB format. Thanks, -Alex On 11/10/16, 1:13 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" wrote: >Hi Alex, > >I refactored MDL class selectors taking account of this and now is working >ok, so now user can decorate with is own selectors. >I only have one strange issue with a simple color style. > >I want to set a color:#fff >If I put in a css class external selector, this is not applied (but rest >of >rules works ok). >If I put in inline style, this is working ok. > >If you want to see the code is in MDLExample, App.mxml line 117: > >.<-- I need >to set the color here to get text inside this component white, if not it >gets black > >The css style is mdl-styles.css > >.cardTitle >{ >color: #fff; <--- this rule is not working >height: 176px; >} > > >Some idea of what could be going here? > >Thanks > > > >2016-11-07 6:42 GMT+01:00 Alex Harui : > >> >> >> On 11/6/16, 3:19 PM, "carlos.rov...@gmail.com on behalf of Carlos >>Rovira" >> wrote: >> >> >Hi, >> > >> >className in flexjs translates to class. >> >There's as well typeNames. >> > >> >If I write a component that uses some css class (in its definition), >>but I >> >want to add some new css rule in app instantiation...what's the >> >recommended >> >way to manage this situation? >> > >> >should I override the className UIBase method? (that's the way I'm >> >thinking >> >right now to use so always reattach the basic css rules needed for the >> >compoenent) or maybe there's some other trick in flexjs arsenal. >> >> I think that's what typeNames is for. TypeNames should get appended to >> any classNames specified by the developer. >> >> Or maybe I don't understand the scenario. We could also change they way >> things work now. My thinking was that typeNames contained the list of >> class selectors that should act like type selectors. The type selector >> set is not extensible, so typeNames effectively allows specification of >> things that act like type selectors. >> >> HTH, >> -Alex >> >> > > >-- > >Carlos Rovira >Director General >M: +34 607 22 60 05 >http://www.codeoscopic.com >http://www.avant2.es > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener >información privilegiada o confidencial. Si ha recibido este mensaje por >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y >proceda a su destrucción. > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >comunicamos >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >servicio o información solicitados, teniendo usted derecho de acceso, >rectificación, cancelación y oposición de sus datos dirigiéndose a >nuestras >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >necesaria.
Re: [FlexJS] How to manage className correctly
Hi Alex, #ff did not work either. I'll fill a bug for this 2016-11-10 22:25 GMT+01:00 Alex Harui : > The compiler does not copy input CSS text directly to the output CSS file. > Instead, it tries to parse it into a data structure and generate the > final CSS file from that data structure. The CSS parsing code that we got > from Adobe only knew how to parse Flex-compatible CSS. I'm slowly > teaching it to parse more complex CSS which is probably why that > background rule is being dropped as well. > > I thought I'd already taught the CSS parser to handle #RGB (in Flex only > #RRGGBB is supported), but maybe it is broken somehow. Try using: > > color:#ff > > > If that works, file a bug to remind me to revisit #RGB format. > > Thanks, > -Alex > > On 11/10/16, 1:13 PM, "carlos.rov...@gmail.com on behalf of Carlos Rovira" > > wrote: > > >Hi Alex, > > > >I refactored MDL class selectors taking account of this and now is working > >ok, so now user can decorate with is own selectors. > >I only have one strange issue with a simple color style. > > > >I want to set a color:#fff > >If I put in a css class external selector, this is not applied (but rest > >of > >rules works ok). > >If I put in inline style, this is working ok. > > > >If you want to see the code is in MDLExample, App.mxml line 117: > > > >.<-- I need > >to set the color here to get text inside this component white, if not it > >gets black > > > >The css style is mdl-styles.css > > > >.cardTitle > >{ > >color: #fff; <--- this rule is not working > >height: 176px; > >} > > > > > >Some idea of what could be going here? > > > >Thanks > > > > > > > >2016-11-07 6:42 GMT+01:00 Alex Harui : > > > >> > >> > >> On 11/6/16, 3:19 PM, "carlos.rov...@gmail.com on behalf of Carlos > >>Rovira" > >> wrote: > >> > >> >Hi, > >> > > >> >className in flexjs translates to class. > >> >There's as well typeNames. > >> > > >> >If I write a component that uses some css class (in its definition), > >>but I > >> >want to add some new css rule in app instantiation...what's the > >> >recommended > >> >way to manage this situation? > >> > > >> >should I override the className UIBase method? (that's the way I'm > >> >thinking > >> >right now to use so always reattach the basic css rules needed for the > >> >compoenent) or maybe there's some other trick in flexjs arsenal. > >> > >> I think that's what typeNames is for. TypeNames should get appended to > >> any classNames specified by the developer. > >> > >> Or maybe I don't understand the scenario. We could also change they way > >> things work now. My thinking was that typeNames contained the list of > >> class selectors that should act like type selectors. The type selector > >> set is not extensible, so typeNames effectively allows specification of > >> things that act like type selectors. > >> > >> HTH, > >> -Alex > >> > >> > > > > > >-- > > > >Carlos Rovira > >Director General > >M: +34 607 22 60 05 > >http://www.codeoscopic.com > >http://www.avant2.es > > > > > >Este mensaje se dirige exclusivamente a su destinatario y puede contener > >información privilegiada o confidencial. Si ha recibido este mensaje por > >error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > >proceda a su destrucción. > > > >De la vigente Ley Orgánica de Protección de Datos (15/1999), le > >comunicamos > >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC > >S.A. La finalidad de dicho tratamiento es facilitar la prestación del > >servicio o información solicitados, teniendo usted derecho de acceso, > >rectificación, cancelación y oposición de sus datos dirigiéndose a > >nuestras > >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación > >necesaria. > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] Team Page
Hi Peter, great to start having this kind of examples. I think that this could be a great scenario to introduce what we was talking in other thread about gaps between items. Do you have something already done it in this example? if not could you add it as a part of the polish? thanks! Carlos 2016-11-10 22:06 GMT+01:00 Peter Ent : > Hi, > > I've created a new FlexJS Team page using FlexJS. You can view it in the > staging area for now and at some point will make its way live. At the > moment it will not be the de facto team page because it still needs a bit > more sprucing up. Consider it a beta. > > http://flex.staging.apache.org/team/ > > The format is single column and I'm working on a flow/grid layout to take > into account the variable height of the elements. One of the things I had > to work out was a way for MXML item renderers to have layouts which was not > really possible unless you placed the renderer's content into a Container > and even then the container may not have had its size adjusted properly. > Now you can simply add a layout bead to the item renderer in MXML directly. > > The data comes from the team.json file. The idea is that team members > would check out this file and edit it to update or add their profile. > > Regards, > Peter Ent > Adobe Systems/Apache Flex Project > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción. De la vigente Ley Orgánica de Protección de Datos (15/1999), le comunicamos que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la prestación del servicio o información solicitados, teniendo usted derecho de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación necesaria.
Re: [FlexJS] How to manage className correctly
filled here: https://issues.apache.org/jira/browse/FLEX-35171 2016-11-10 23:54 GMT+01:00 Carlos Rovira : > Hi Alex, > > #ff did not work either. I'll fill a bug for this > > 2016-11-10 22:25 GMT+01:00 Alex Harui : > >> The compiler does not copy input CSS text directly to the output CSS file. >> Instead, it tries to parse it into a data structure and generate the >> final CSS file from that data structure. The CSS parsing code that we got >> from Adobe only knew how to parse Flex-compatible CSS. I'm slowly >> teaching it to parse more complex CSS which is probably why that >> background rule is being dropped as well. >> >> I thought I'd already taught the CSS parser to handle #RGB (in Flex only >> #RRGGBB is supported), but maybe it is broken somehow. Try using: >> >> color:#ff >> >> >> If that works, file a bug to remind me to revisit #RGB format. >> >> Thanks, >> -Alex >> >> On 11/10/16, 1:13 PM, "carlos.rov...@gmail.com on behalf of Carlos >> Rovira" >> >> wrote: >> >> >Hi Alex, >> > >> >I refactored MDL class selectors taking account of this and now is >> working >> >ok, so now user can decorate with is own selectors. >> >I only have one strange issue with a simple color style. >> > >> >I want to set a color:#fff >> >If I put in a css class external selector, this is not applied (but rest >> >of >> >rules works ok). >> >If I put in inline style, this is working ok. >> > >> >If you want to see the code is in MDLExample, App.mxml line 117: >> > >> >.<-- I need >> >to set the color here to get text inside this component white, if not it >> >gets black >> > >> >The css style is mdl-styles.css >> > >> >.cardTitle >> >{ >> >color: #fff; <--- this rule is not working >> >height: 176px; >> >} >> > >> > >> >Some idea of what could be going here? >> > >> >Thanks >> > >> > >> > >> >2016-11-07 6:42 GMT+01:00 Alex Harui : >> > >> >> >> >> >> >> On 11/6/16, 3:19 PM, "carlos.rov...@gmail.com on behalf of Carlos >> >>Rovira" >> >> wrote: >> >> >> >> >Hi, >> >> > >> >> >className in flexjs translates to class. >> >> >There's as well typeNames. >> >> > >> >> >If I write a component that uses some css class (in its definition), >> >>but I >> >> >want to add some new css rule in app instantiation...what's the >> >> >recommended >> >> >way to manage this situation? >> >> > >> >> >should I override the className UIBase method? (that's the way I'm >> >> >thinking >> >> >right now to use so always reattach the basic css rules needed for the >> >> >compoenent) or maybe there's some other trick in flexjs arsenal. >> >> >> >> I think that's what typeNames is for. TypeNames should get appended to >> >> any classNames specified by the developer. >> >> >> >> Or maybe I don't understand the scenario. We could also change they >> way >> >> things work now. My thinking was that typeNames contained the list of >> >> class selectors that should act like type selectors. The type selector >> >> set is not extensible, so typeNames effectively allows specification of >> >> things that act like type selectors. >> >> >> >> HTH, >> >> -Alex >> >> >> >> >> > >> > >> >-- >> > >> >Carlos Rovira >> >Director General >> >M: +34 607 22 60 05 >> >http://www.codeoscopic.com >> >http://www.avant2.es >> > >> > >> >Este mensaje se dirige exclusivamente a su destinatario y puede contener >> >información privilegiada o confidencial. Si ha recibido este mensaje por >> >error, le rogamos que nos lo comunique inmediatamente por esta misma vía >> y >> >proceda a su destrucción. >> > >> >De la vigente Ley Orgánica de Protección de Datos (15/1999), le >> >comunicamos >> >que sus datos forman parte de un fichero cuyo responsable es CODEOSCOPIC >> >S.A. La finalidad de dicho tratamiento es facilitar la prestación del >> >servicio o información solicitados, teniendo usted derecho de acceso, >> >rectificación, cancelación y oposición de sus datos dirigiéndose a >> >nuestras >> >oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la documentación >> >necesaria. >> >> > > > -- > > Carlos Rovira > Director General > M: +34 607 22 60 05 > http://www.codeoscopic.com > http://www.avant2.es > > > Este mensaje se dirige exclusivamente a su destinatario y puede contener > información privilegiada o confidencial. Si ha recibido este mensaje por > error, le rogamos que nos lo comunique inmediatamente por esta misma vía y > proceda a su destrucción. > > De la vigente Ley Orgánica de Protección de Datos (15/1999), le > comunicamos que sus datos forman parte de un fichero cuyo responsable es > CODEOSCOPIC S.A. La finalidad de dicho tratamiento es facilitar la > prestación del servicio o información solicitados, teniendo usted derecho > de acceso, rectificación, cancelación y oposición de sus datos dirigiéndose > a nuestras oficinas c/ Paseo de la Habana 9-11, 28036, Madrid con la > documentación necesaria. > > -- Carlos Rovira Director General M: +34 607 22 60 05 http://www.codeoscopic.com http://www.avant2.es Este mensaje se dirige exclusiv
[FlexJS] Compiler stack trace in nightly related to Closure library
Used the installer to get the nightly. The compiler appears to be unable to find Closure library. I don't have the closure-lib argument set because I want to use the default, but the call to getJarThatContainsClasspathResources() appears to return null. Using Falcon codebase: /Users/joshtynjala/Development/Flex/sdks/flexjs-nightly/js/bin/../.. Using Flex SDK: /Users/joshtynjala/Development/Flex/sdks/flexjs-nightly/js/bin/../.. Compiling file: /Users/joshtynjala/Development/TestProject/bin/js-debug/TestProject.js org.apache.flex.compiler.internal.codegen.mxml.flexjs.MXMLFlexJSPublisher.publish(MXMLFlexJSPublisher.java:240)org.apache.flex.compiler.clients.MXMLJSC.compile(MXMLJSC.java:463)org.apache.flex.compiler.clients.MXMLJSC._mainNoExit(MXMLJSC.java:321)org.apache.flex.compiler.clients.MXMLJSC.mainNoExit(MXMLJSC.java:275)org.apache.flex.compiler.clients.MXMLJSC.staticMainNoExit(MXMLJSC.java:234)org.apache.flex.compiler.clients.MXMLJSC.main(MXMLJSC.java:178) - Josh
Re: [FlexJS] Compiler stack trace in nightly related to Closure library
On 11/10/16, 4:02 PM, "Josh Tynjala" wrote: >Used the installer to get the nightly. The compiler appears to be unable >to >find Closure library. I don't have the closure-lib argument set because I >want to use the default, but the call to >getJarThatContainsClasspathResources() appears to return null. Hmm. Maybe that logic needs to be flipped. If it can't find the resources in the class path, it should just use the closure lib because there is a default value. Can you give that a try? -Alex
Re: [FlexJS] Building from Flash Builder
On 11/10/16, 2:55 AM, "yishayw" wrote: >After getting the latest nightly and running external tools - > FlexJS >(FalconJX Debug Build) > >I'm getting the following. What did I do wrong? Don't know for sure. I just tried the nightly on DataBindingExample and it worked for me. It sounds like some SWCs aren't in the library path. Try restarting FB if you haven't already. Also check your project settings to make sure you didn't kick the SWCs out of the set of libraries. I'm done for tonight, will check in the morning. HTH, -Alex