RE: [FlexJS] Building from Flash Builder

2016-11-12 Thread Yishay Weiss
Not sure what’s going on. I just installed the latest nightly, created a new 
project, and copied DataBindingExample.mxml, and related sources. Same result.



From: Alex Harui
Sent: Friday, November 11, 2016 9:58 AM
To: dev@flex.apache.org
Subject: 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



Re: [FlexJS] position:relative

2016-11-12 Thread Alex Harui
FlexJS containers set position:relative or position:absolute because I
think you need to do so in order to get percentWidth/percentHeight to
work.  If there is a way to solve all scenarios without that, or a way to
be even smarter about when to set position I'd be interested.  I think
your app may not be relying on percentages?

-Alex

On 11/12/16, 10:26 AM, "carlos.rov...@gmail.com on behalf of Carlos
Rovira" 
wrote:

>Hi,
>
>all HTML FlexJS components use to have the line:
>
>positioner.style.position = 'relative';
>
>this translates to the HTML output as
>
>style="position: relative;"
>
>For example, in MDL the original examples has no position set so it uses
>its default (static). I think we should do the same since don't see the
>benefits of setting all components to position: relative.
>
>I removed in all MDL comps this line, and results are the same, and an
>html
>output more close to original examples I'm replicating.
>
>In case folks wants relative position, I think this should be a particular
>case, since is more easy to set the default set without this property set
>and make people wanting that to set in its own component set or
>configuration.
>
>What do you think?
>
>
>-- 
>Carlos Rovira
>http://about.me/carlosrovira



Re: [FlexJS] SyntaxError: Unexpected EOF

2016-11-12 Thread Alex Harui
I assume you mean EOL (end of line).

Not sure where to look in the compiler.

-Alex

On 11/12/16, 9:05 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
 wrote:

>Hi,
>
>just see this bug and filed a bug in JIRA
>
>https://issues.apache.org/jira/browse/FLEX-35173
>
>Hope folks that has the ability to touch in compiler could take a look.
>As well, if you point me where to look and guide me it would be ok in
>order
>to start introducing myself in falcon
>
>thanks
>
>-- 
>Carlos Rovira
>http://about.me/carlosrovira



Re: [FlexJS]

2016-11-12 Thread Alex Harui


On 11/12/16, 8:45 AM, "carlos.rov...@gmail.com on behalf of Carlos Rovira"
 wrote:

>Hi Alex,
>
>I think the way you allowed html text in js:Button was adding only
>
>[DefaultProperty("text")]
>
>right? is needed something more?
>
>I think this would be needed in most controls and Containers.
>For example js:Container has already [DefaultProperty("mxmlContent")]
>
>Could we have the possibility to add either html text or mxml content?
>
>I think this will improve a lot the things user can do.
>

What would the text/html property do on a Container?  The basic container
doesn't automatically contain a way to display text/html, it just contains
an arbitrary set of children.  Sure, container happens to be a div in the
browser, but I don't think you can count on that in other platforms
forever.

That said, I think you may be right that you can't use xhtml tags as the
value of the "html" property.  Please try it and if it doesn't work, file
a bug.

What [DefaultProperty] does is essentially inject a tag in mxml.  For
example, an container really does have an mxmlContent property.  So when
you write:
   
 
   

The actual MXML parse tree is:

   
 
   
 
   
 
   

That's why you can't have two default properties.  Or maybe shouldn't.  I
suppose we could and have the compiler guess based on the type of the
child tags, but that doesn't seem right.


So anyway, what should work is in-line xhtml as the value of the html
property.  IOW a plain text label should look like the following MXML:

  

For a simple html label, you should be able to do:

  

And this should also work, with or without [DefaultProperty]


  

  My Fancy Button
  With this label

  

If these don't work, file bugs and well get them to work.

[DefaultProperty] just saves you from having to type some inner tags.

HTH,
-Alex



[FlexJS] position:relative

2016-11-12 Thread Carlos Rovira
Hi,

all HTML FlexJS components use to have the line:

positioner.style.position = 'relative';

this translates to the HTML output as

style="position: relative;"

For example, in MDL the original examples has no position set so it uses
its default (static). I think we should do the same since don't see the
benefits of setting all components to position: relative.

I removed in all MDL comps this line, and results are the same, and an html
output more close to original examples I'm replicating.

In case folks wants relative position, I think this should be a particular
case, since is more easy to set the default set without this property set
and make people wanting that to set in its own component set or
configuration.

What do you think?


-- 
Carlos Rovira
http://about.me/carlosrovira


Re: [LAST CALL] Flex SDK 4.16

2016-11-12 Thread OmPrakash Muppirala
On Tue, Nov 8, 2016 at 2:59 PM, Justin Mclean 
wrote:

> Hi,
>
> We’re getting closer to making a release candidate for the next Flex SDK
> release.
>
> Currently the two things holding up this release are there two JIRAs:
> [1] FLEX-34880 Place Sort and SortField state setters behind mx_internal
> [2] FLEX-35166 Installer can't handle Adobe AIR 24
>

I am working on the Installer now.

Thanks,
Om


>
> I notice that [2] is currently unassigned, can someone confirm that they
> are looking in to and assign it to themselves.
>
> Now would also be a good time to check that the LICENSE and NOTICE files
> are correct.
>
> If there are any other issues that you know about please reply here.
>
> Thanks,
> Justin
>
> 1. https://issues.apache.org/jira/browse/FLEX-34880
> 2. https://issues.apache.org/jira/browse/FLEX-35166
>
>


[FlexJS] HTML tags in text are kept in output

2016-11-12 Thread Carlos Rovira
Hi,

another bug found while trying to insert html in FlexJS components. I filed
and describe in a JIRA ticket:

https://issues.apache.org/jira/browse/FLEX-35174

-- 
Carlos Rovira
http://about.me/carlosrovira


[FlexJS] SyntaxError: Unexpected EOF

2016-11-12 Thread Carlos Rovira
Hi,

just see this bug and filed a bug in JIRA

https://issues.apache.org/jira/browse/FLEX-35173

Hope folks that has the ability to touch in compiler could take a look.
As well, if you point me where to look and guide me it would be ok in order
to start introducing myself in falcon

thanks

-- 
Carlos Rovira
http://about.me/carlosrovira


[FlexJS]

2016-11-12 Thread Carlos Rovira
Hi Alex,

I think the way you allowed html text in js:Button was adding only

[DefaultProperty("text")]

right? is needed something more?

I think this would be needed in most controls and Containers.
For example js:Container has already [DefaultProperty("mxmlContent")]

Could we have the possibility to add either html text or mxml content?

I think this will improve a lot the things user can do.



-- 
Carlos Rovira
http://about.me/carlosrovira


Re: [FlexJS] Team Page

2016-11-12 Thread Carlos Rovira
It's in examples folder/TeamPage

2016-11-12 16:41 GMT+01:00 PKumar :

> this is really inspiring. could you please share source code?
>
>
>
> --
> View this message in context: http://apache-flex-
> development.247.n4.nabble.com/FlexJS-Team-Page-tp56450p56464.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: [FlexJS] Team Page

2016-11-12 Thread PKumar
this is really inspiring. could you please share source code?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/FlexJS-Team-Page-tp56450p56464.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.