Re: Flex app broken on Microsoft Edge Browser?

2016-09-20 Thread Alex Harui
If you can boil down a simple test app, it might be easier to debug.
Unless the pause results in a script timeout, a pause shouldn't break a
SWF.

-Alex

On 9/20/16, 11:56 AM, "OK"  wrote:

>Unfortunately I've no solution.
>It's the first time I've heard of this 'intelligent pause' button in edge.
>So maybe this is also interestig for others [1].
>
>Thanks,
>Olaf
>
>[1]
>https://blogs.windows.com/msedgedev/2016/04/07/putting-users-in-control-of
>-flash/#rw8kVkjG0k8OWq3m.97
>
>
>
>
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/Flex-app-broken-on-Microsof
>t-Edge-Browser-tp13582p13597.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: Flex app broken on Microsoft Edge Browser?

2016-09-20 Thread OK
Unfortunately I've no solution.
It's the first time I've heard of this 'intelligent pause' button in edge.
So maybe this is also interestig for others [1].

Thanks,
Olaf

[1]
https://blogs.windows.com/msedgedev/2016/04/07/putting-users-in-control-of-flash/#rw8kVkjG0k8OWq3m.97




--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-app-broken-on-Microsoft-Edge-Browser-tp13582p13597.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread Alex Harui


On 9/20/16, 11:43 AM, "OK"  wrote:

>Thanks Peter and Alex, I'll try to implement it. It's probably a good
>exercise.
>I'll start with studying the existing code... we'll see... don't expect
>too
>much ;-)

Hi Olaf,

Thanks for volunteering.  I don't remember how familiar you are with
framework development; it is a bit different from application development,
and FlexJS components that cross-compile are even more complex, but I'm
sure you will eventually be successful if you have the time and patience
to put up with being on the bleeding edge.  We want to learn from your
experience as to what else we need in both documentation and code so
others can create and share components as well.

So, feel free to ask questions and prepare for bumps in the road ahead.

Thanks,
-Alex



Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
Thanks Peter and Alex, I'll try to implement it. It's probably a good
exercise.
I'll start with studying the existing code... we'll see... don't expect too
much ;-)

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13595.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread Peter Ent
If you use beads, the JS code in the bead would add "require", for
example, to the  element, but the SWF code might be empty since
there is nothing on the SWF side to support a required input field. One
day you or someone might fill in that SWF code block.

If you use beads, the developer would add the beads onto to those fields
that needed them:



   




Here, the firstName field is required so it includes the
RequiredFieldBead, but the nickname field is optional so you don't add it.

Your alternative, as Alex said, it just to add things as properties to the
HTML5 version of the TextInput component:




it is sure less to type for the developer, but both instances carry with
the code to handle the required property. But since this is HTML5-only, it
wouldn't be a big deal. In fact, you could mix the two:




Then the nickname is just the simpler code.

‹peter

On 9/20/16, 1:43 PM, "OK"  wrote:

>>Yes, beads would be a good thing, but IMO, it is only necessary for the
>>COMPILE::SWF code, since it is the SWF code that doesn't have built-in
>>functionality to rely on.
>
>If we'd go this way, does it mean that at the end users would have to add
>beans to make sure that the SWF version works and also have to add the
>properties to the TextInput component to make sure that the JS version
>works?
>
>Thanks,
>Olaf
>
>
>
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-valid
>ation-tp13577p13592.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
>Yes, beads would be a good thing, but IMO, it is only necessary for the
>COMPILE::SWF code, since it is the SWF code that doesn't have built-in
>functionality to rely on.

If we'd go this way, does it mean that at the end users would have to add
beans to make sure that the SWF version works and also have to add the
properties to the TextInput component to make sure that the JS version
works?

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13592.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Upgrading Flash builder from 4.5 codebase to 4.7 trouble :-)

2016-09-20 Thread Alex Harui
Chris Dutz and other Maven folks, can you help with this question?

-Alex

From: "Subbaiyan, Kalaivani" 
>
Reply-To: "users@flex.apache.org" 
>
Date: Saturday, September 10, 2016 at 5:18 AM
To: "users@flex.apache.org" 
>
Subject: Upgrading Flash builder from 4.5 codebase to 4.7 trouble :-)

Hi Support Team,

Hope you all good and doing well!

I was not getting solution from the Apache forum hence posting here. Requesting 
to help me out as you are the expertise when we are in trouble.

I’m facing issue when I upgrade Flash builder from 4.5 codebase to 4.7. I’m 
summarizing the technology/framework used to build an my current project and 
current stopper,

Front End – Adobe Flash builder 4.5 (text editor), Parsley, Cairngorm
Back End – Java, hibernate, Apache Maven, graniteds (version 2.3.0.GA) data 
services, graniteamf channel (not remembered the version details)
Back end database – MySql

I’m sharing main POM files to get idea on client-server.

Back end used to generate classes of database entities (base, extended) and the 
same classes are used to form object in the Flash/Flex application. All the 
services destination point were declared in the configuration file 
(services-config.xml). PFA of services-config.xml.

Client side POM (Project Object Model) contains flex-maven plugin related 
dependencies, plugins, repositories, versions, etc. I’m seeing more than one 
POM files in server folders however sharing few for the reference. All the 
client and server folder/files are in root folder. The POM of root level 
project also attached (refer file rootlevel-pom.xml). Attached client side flex 
maven configuration POM (refer clientside-pom.xml)

Flash builder generates a build because we have to deploy it in S3 bucket. 
Hence we didn’t used Maven to generate jar/war file. Services are deployed in 
S3 cloud server separately.

For FB  4.7, I have chosen 4.6 SDK. I was getting two major error when we 
compile the 4.5 application code base as below,

1.   “Project build error: Unknown packaging: swf pom.xml Maven pom Loading 
Problem”. I think, different packaging  to be in place swf for FB 4.7.

2.   “Description   Resource Path   Location
   Type Project build error: Unresolveable build extension: Plugin 
org.sonatype.flexmojos:flexmojos-maven-plugin:4.1-beta or one of its 
dependencies could not be resolved: The following artifacts could not be 
resolved: org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.1-beta, 
com.adobe.flex:compiler:pom:4.6.0.23201, 
com.adobe.flex.compiler:asdoc:zip:template:4.6.0.23201, 
javax.persistence:persistence-api:jar:1.0, 
javax.validation:validation-api:jar:1.0.0.GA, javax.jdo:jdo2-api:jar:2.3-eb, 
org.codehaus.groovy:groovy:jar:1.6.0, antlr:antlr:jar:2.7.7, asm:asm:jar:2.2.3, 
com.thoughtworks.xstream:xstream:jar:1.2.2, 
org.graniteds:granite-core:jar:2.3.0.GA, 
org.graniteds:granite-generator-share:jar:2.3.0.GA, 
org.graniteds:granite-generator:jar:2.3.0.GA, 
org.codehaus.plexus:plexus-utils:jar:1.1: The repository system is offline but 
the artifact org.sonatype.flexmojos:flexmojos-maven-plugin:jar:4.1-beta is not 
available in the local repository.  pom.xml  /Flex  
line 1 Maven pom Loading Problem”

Project flex compiler arguments are mentioned as,

-services  ../../flex-services/src/main/webapp/WEB-INF/flex/services-config.xml 
-include-libraries libs/granite.swc -include-libraries 
libs/granite-essentials.swc -context-root / 
-source-path+=../src/locale/{locale} -locale en_US 
-keep-all-type-selectors=true -optimize=true -keep-as3-metadata+=Inject 
-keep-as3-metadata+=PostConstruct  -keep-as3-metadata+=Bindable  
-keep-as3-metadata+=CommandResult  -keep-as3-metadata+=MessageHandler  
-keep-as3-metadata+=Autowired  -keep-as3-metadata+=MessageDispatcher   
-keep-as3-metadata+=Waypoint   -keep-as3-metadata+=Dispatcher   
-keep-as3-metadata+=Landmark   -keep-as3-metadata+=Enter   
-keep-as3-metadata+=Exit   -keep-as3-metadata+=ExitInterceptor  
-keep-as3-metadata+=CommandError -show-unused-type-selector-warnings=false 
-debug=false

Thank you for your support.

Regards,
Kalaivani Subbaiyan

__
This e-mail (and any attachments), is confidential and may be privileged. It 
may be read, copied and used only by intended recipients. Unauthorized access 
to this e-mail (or attachments) and disclosure or copying of its contents or 
any action taken in reliance on it is unlawful. Unintended recipients must 
notify the sender immediately by e-mail/phone & delete it from their system 
without making any copies or disclosing it to a third person.

Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread Alex Harui
Yes, beads would be a good thing, but IMO, it is only necessary for the
COMPILE::SWF code, since it is the SWF code that doesn't have built-in
functionality to rely on.  Because we have a regular
org.apache.flex.html.TextInput that can serve as the baseline for folks
who don't need these form fields, it is reasonable to think of
org.apache.flex.html5.TextInput as an aggregation on top of
org.apache.flex.html.TextInput so it can get away with baking a few more
things in.

If you look through existing components like Container, you'll see more
beads and support components on the COMPILE::SWF version implementing
non-built-in things in Flash like scrollbars and clipping.

On the other hand, something like the PromptBead is a bead on both JS and
SWF because it can be re-used in more than one component.

So, there isn't one right solution, you have to factor in re-usability of
code vs the overhead of encapsulating it.

Thanks,
-Alex

On 9/20/16, 7:00 AM, "Peter Ent"  wrote:

>Hi,
>
>If you want to make this modification you should do it in the HTML5
>project. Keep in mind that "required" and "pattern" should be implemented
>for SWF as well or at least do something suitable. I would suggest using
>beads:
>
>
>   
>  
>  
>   
>
>
>The beads would then have their JS code all within COMPILE::JS blocks. The
>SWF side might just be blank for now until someone implements them. I
>suppose you could add required and pattern properties to the HTML5 text
>input, but in the PAYG world, this would add overhead to all the times
>when you don't need those features.
>
>Anyway, you need to access the underlying element on the JS side:
>
>COMPILE::JS
>override protected function createElement():WrappedHTMLElement {
>super.createElement();
>
>At this point the this.element is created for you and is an 
>element. Just look at the HTML project's TextInput.as file. If you going
>with the required and pattern properties route, then add them to the
>element here.
>
>If you going the beads route, you don't need to change the TextInput class
>at all as each bead's strand setter would get the element from the strand
>and set the appropriate property on the  element at that point.
>
>At least that's how I'd start out.
>
>HTH,
>Peter Ent
>Adobe Systems/Apache Flex Project
>
>
>
>On 9/20/16, 3:17 AM, "OK"  wrote:
>
>>>Want to make it happen?
>>I could give it a first try tonight.
>>Any help how to achieve this is appreciated ;-)
>>
>>Thanks,
>>Olaf
>>
>>
>>
>>--
>>View this message in context:
>>http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-vali
>>d
>>ation-tp13577p13585.html
>>Sent from the Apache Flex Users mailing list archive at Nabble.com.
>



Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread Peter Ent
Hi,

If you want to make this modification you should do it in the HTML5
project. Keep in mind that "required" and "pattern" should be implemented
for SWF as well or at least do something suitable. I would suggest using
beads:


   
  
  
   


The beads would then have their JS code all within COMPILE::JS blocks. The
SWF side might just be blank for now until someone implements them. I
suppose you could add required and pattern properties to the HTML5 text
input, but in the PAYG world, this would add overhead to all the times
when you don't need those features.

Anyway, you need to access the underlying element on the JS side:

COMPILE::JS
override protected function createElement():WrappedHTMLElement {
super.createElement();

At this point the this.element is created for you and is an 
element. Just look at the HTML project's TextInput.as file. If you going
with the required and pattern properties route, then add them to the
element here.

If you going the beads route, you don't need to change the TextInput class
at all as each bead's strand setter would get the element from the strand
and set the appropriate property on the  element at that point.

At least that's how I'd start out.

HTH,
Peter Ent
Adobe Systems/Apache Flex Project



On 9/20/16, 3:17 AM, "OK"  wrote:

>>Want to make it happen?
>I could give it a first try tonight.
>Any help how to achieve this is appreciated ;-)
>
>Thanks,
>Olaf
>
>
>
>--
>View this message in context:
>http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-valid
>ation-tp13577p13585.html
>Sent from the Apache Flex Users mailing list archive at Nabble.com.



Re: Flex development associate required

2016-09-20 Thread OK
Seems that your app doesn't work, follwing message is displayed after
starting it:

"Unable to communicate with server. Please check your network connectivity
and try again."

Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-development-associate-required-tp13586p13588.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: Flex development associate required

2016-09-20 Thread mark goldin
[image: pasted1]

On Tue, Sep 20, 2016 at 8:05 AM Vibhu  wrote:

> Hi,
>
>  I am Vibhu, working for a startup named Brandificant. We have a flex
> application (check out http://webapp.brandificant.com/), developed using
> Flex Builder 4.5. This is to invite experienced adobe flex developers to
> work with us. The primary goals of the engagement being:
>
> 1) Making the changes necessary to compile the code with Flex Builder 4.7.
> (Short term requirement)
> 2) Enhancing the project and making it compatible with latest releases of
> Apache Flex.
>
> Interested individuals please email me @ brandificanta...@gmail.com
>
> Regards,
> Vibhu
>
>
>
> --
> View this message in context:
> http://apache-flex-users.246.n4.nabble.com/Flex-development-associate-required-tp13586.html
> Sent from the Apache Flex Users mailing list archive at Nabble.com.
>


Flex development associate required

2016-09-20 Thread Vibhu
Hi,

 I am Vibhu, working for a startup named Brandificant. We have a flex
application (check out http://webapp.brandificant.com/), developed using
Flex Builder 4.5. This is to invite experienced adobe flex developers to
work with us. The primary goals of the engagement being:

1) Making the changes necessary to compile the code with Flex Builder 4.7.
(Short term requirement)
2) Enhancing the project and making it compatible with latest releases of
Apache Flex.

Interested individuals please email me @ brandificanta...@gmail.com

Regards,
Vibhu



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/Flex-development-associate-required-tp13586.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
>Want to make it happen? 
I could give it a first try tonight.
Any help how to achieve this is appreciated ;-)

Thanks,
Olaf



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13585.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.


Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread Alex Harui


On 9/20/16, 12:00 AM, "OK"  wrote:

>Alex Harui wrote
>> What APIs are you referring to?
>
>My understanding is that FlexJS converts "org.apache.flex.html5.TextInput"
>to "".
>The html5 "" element provides an "required" and "pattern" attribute
>[1][2].
>So the question is if it makes sense (and if it would be possible) to make
>all these html5 "build in" attributes available as properties in
>"org.apache.flex.html5.TextInput".

Yes, makes sense and should be possible.  Want to make it happen?  I'm
done for today, but hopefully others in your timezone can help if you get
stuck.

-Alex



Re: [FlexJS] TextInput/Form validation

2016-09-20 Thread OK
Alex Harui wrote
> What APIs are you referring to?

My understanding is that FlexJS converts "org.apache.flex.html5.TextInput"
to "".
The html5 "" element provides an "required" and "pattern" attribute
[1][2].
So the question is if it makes sense (and if it would be possible) to make
all these html5 "build in" attributes available as properties in
"org.apache.flex.html5.TextInput".

Thanks,
Olaf

[1] 
[2] https://codepen.io/ok-at-codepen/pen/pEEmKj



--
View this message in context: 
http://apache-flex-users.246.n4.nabble.com/FlexJS-TextInput-Form-validation-tp13577p13583.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.