[jira] [Commented] (FLEX-35053) Compiler does not respect the implements="..." attribute in MXML

2016-03-21 Thread JIRA

[ 
https://issues.apache.org/jira/browse/FLEX-35053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205909#comment-15205909
 ] 

Olaf Krüger commented on FLEX-35053:


Unbelivable Alex! You fixed this in near real time ;-)
Isn't it near midnight in your timezone?

I'll test it as soon as it is available by the nightly build.

Many thanks!
Olaf


> Compiler does not respect the implements="..." attribute in MXML
> 
>
> Key: FLEX-35053
> URL: https://issues.apache.org/jira/browse/FLEX-35053
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache FlexJS 0.6.0
> Environment: Nightly build 20160321
>Reporter: Olaf Krüger
>Assignee: Alex Harui
> Fix For: Apache FlexJS 0.6.0
>
>
> It seems that there is a bug where the compiler does not respect the 
> implements="..." attribute in MXML.
> MXML Example:
> 
> http://ns.adobe.com/mxml/2009";
>   xmlns:js="library://ns.apache.org/flexjs/basic" 
> implements="com.demo.core.interfaces.IViewMyInitialView">
> 
> That information is not being included in the MyInitialView.js output:
> MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
> 'MyInitialView', qName: 'MyInitialView' }] }; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Resolved] (FLEX-35053) Compiler does not respect the implements="..." attribute in MXML

2016-03-21 Thread Alex Harui (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-35053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Harui resolved FLEX-35053.
---
Resolution: Fixed

6541ded7d9e8c0f092b3766d6709c7c3518134f1

> Compiler does not respect the implements="..." attribute in MXML
> 
>
> Key: FLEX-35053
> URL: https://issues.apache.org/jira/browse/FLEX-35053
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache FlexJS 0.6.0
> Environment: Nightly build 20160321
>Reporter: Olaf Krüger
>Assignee: Alex Harui
> Fix For: Apache FlexJS 0.6.0
>
>
> It seems that there is a bug where the compiler does not respect the 
> implements="..." attribute in MXML.
> MXML Example:
> 
> http://ns.adobe.com/mxml/2009";
>   xmlns:js="library://ns.apache.org/flexjs/basic" 
> implements="com.demo.core.interfaces.IViewMyInitialView">
> 
> That information is not being included in the MyInitialView.js output:
> MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
> 'MyInitialView', qName: 'MyInitialView' }] }; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLEX-35048) [FlexJS] Binding not works expectedly

2016-03-21 Thread Alex Harui (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205868#comment-15205868
 ] 

Alex Harui commented on FLEX-35048:
---

No, it did not work for me in 0.5.0.

> [FlexJS] Binding not works expectedly
> -
>
> Key: FLEX-35048
> URL: https://issues.apache.org/jira/browse/FLEX-35048
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.5.0
>Reporter: Santanu Karar
>Assignee: Alex Harui
> Fix For: Apache FlexJS 0.6.0
>
> Attachments: TestFlexJSTableForAlex.zip
>
>
> [This issue also discussed at: 
> http://apache-flex-users.246.n4.nabble.com/Binding-not-works-expectedly-td12171.html]
> Version: Apache FlexJS 0.5.0
> Output platform: HTML
> IDE: Flash Builder 4.7, Moonshine
> I am having trouble binding a ValueObject to UI elements (i.e. text input, 
> label) which updates by DataGrid.selectedItem upon application State change - 
> DataGrid and UI elements are exists in different States. Upon 
> DataGrid.selectedItem, application change it's State, update the ValueObjects 
> field which is binded to UI elements.
> By saying that:
> 1. State A has DataGrid
> 2. State B has a ViewBase component (VB)
> 3. When clicked on DataGrid row it's change handler function called 
> 5. In change handler function application first changed it's State to B - 
> component 'VB' became visible. Then injects DataGrid.selectedItem to 
> component 'VB's [Bindable]ValueObject property
> 7. Said ValueObject has it's own GET/SET method along with 'changed' event 
> dispatcher
> {code}
> private var _selectedAgent:AgentChain; 
> 
> [Bindable("selectedAgentChanged")] 
> public function get selectedAgent():AgentChain 
> { 
> return _selectedAgent; 
> } 
> public function set selectedAgent(value:AgentChain):void 
> { 
> if (value != _selectedAgent) 
> { 
> _selectedAgent = value; 
> dispatchEvent(new Event("selectedAgentChanged")); 
> } 
> }
> {code}
> 8. Even application State changed and ValueObject's SET method called, it's 
> bindable UI elements never updated. Note: This problem specifically in HTML 
> output nor SWF.
> I am attaching herewith a POC project to describe my problem - 
> TestFlexJSTableForAlex.ZIP.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLEX-35048) [FlexJS] Binding not works expectedly

2016-03-21 Thread Santanu Karar (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205840#comment-15205840
 ] 

Santanu Karar commented on FLEX-35048:
--

I believe it's 0.6.0 Nightly build; does it works with 0.5.0 too (?) as it's 
the version which publicly distributing now.

> [FlexJS] Binding not works expectedly
> -
>
> Key: FLEX-35048
> URL: https://issues.apache.org/jira/browse/FLEX-35048
> Project: Apache Flex
>  Issue Type: Bug
>Affects Versions: Apache FlexJS 0.5.0
>Reporter: Santanu Karar
>Assignee: Alex Harui
> Fix For: Apache FlexJS 0.6.0
>
> Attachments: TestFlexJSTableForAlex.zip
>
>
> [This issue also discussed at: 
> http://apache-flex-users.246.n4.nabble.com/Binding-not-works-expectedly-td12171.html]
> Version: Apache FlexJS 0.5.0
> Output platform: HTML
> IDE: Flash Builder 4.7, Moonshine
> I am having trouble binding a ValueObject to UI elements (i.e. text input, 
> label) which updates by DataGrid.selectedItem upon application State change - 
> DataGrid and UI elements are exists in different States. Upon 
> DataGrid.selectedItem, application change it's State, update the ValueObjects 
> field which is binded to UI elements.
> By saying that:
> 1. State A has DataGrid
> 2. State B has a ViewBase component (VB)
> 3. When clicked on DataGrid row it's change handler function called 
> 5. In change handler function application first changed it's State to B - 
> component 'VB' became visible. Then injects DataGrid.selectedItem to 
> component 'VB's [Bindable]ValueObject property
> 7. Said ValueObject has it's own GET/SET method along with 'changed' event 
> dispatcher
> {code}
> private var _selectedAgent:AgentChain; 
> 
> [Bindable("selectedAgentChanged")] 
> public function get selectedAgent():AgentChain 
> { 
> return _selectedAgent; 
> } 
> public function set selectedAgent(value:AgentChain):void 
> { 
> if (value != _selectedAgent) 
> { 
> _selectedAgent = value; 
> dispatchEvent(new Event("selectedAgentChanged")); 
> } 
> }
> {code}
> 8. Even application State changed and ValueObject's SET method called, it's 
> bindable UI elements never updated. Note: This problem specifically in HTML 
> output nor SWF.
> I am attaching herewith a POC project to describe my problem - 
> TestFlexJSTableForAlex.ZIP.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Assigned] (FLEX-35053) Compiler does not respect the implements="..." attribute in MXML

2016-03-21 Thread Alex Harui (JIRA)

 [ 
https://issues.apache.org/jira/browse/FLEX-35053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Harui reassigned FLEX-35053:
-

Assignee: Alex Harui

> Compiler does not respect the implements="..." attribute in MXML
> 
>
> Key: FLEX-35053
> URL: https://issues.apache.org/jira/browse/FLEX-35053
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache FlexJS 0.6.0
> Environment: Nightly build 20160321
>Reporter: Olaf Krüger
>Assignee: Alex Harui
> Fix For: Apache FlexJS 0.6.0
>
>
> It seems that there is a bug where the compiler does not respect the 
> implements="..." attribute in MXML.
> MXML Example:
> 
> http://ns.adobe.com/mxml/2009";
>   xmlns:js="library://ns.apache.org/flexjs/basic" 
> implements="com.demo.core.interfaces.IViewMyInitialView">
> 
> That information is not being included in the MyInitialView.js output:
> MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
> 'MyInitialView', qName: 'MyInitialView' }] }; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (FLEX-35053) Compiler does not respect the implements="..." attribute in MXML

2016-03-21 Thread JIRA

 [ 
https://issues.apache.org/jira/browse/FLEX-35053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Olaf Krüger updated FLEX-35053:
---
Description: 
It seems that there is a bug where the compiler does not respect the 
implements="..." attribute in MXML.

MXML Example:

http://ns.adobe.com/mxml/2009";
xmlns:js="library://ns.apache.org/flexjs/basic" 
implements="com.demo.core.interfaces.IViewMyInitialView">


That information is not being included in the MyInitialView.js output:

MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
'MyInitialView', qName: 'MyInitialView' }] }; 

  was:
It seems that there is a bug where the compiler does not respect the 
implements="..." attribute in MXML.

Mxml Example:

http://ns.adobe.com/mxml/2009";
xmlns:js="library://ns.apache.org/flexjs/basic" 
implements="com.undo_redo_demo.core.interfaces.IViewMyInitialView">


That information is not being included in the MyInitialView.js output:

MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
'MyInitialView', qName: 'MyInitialView' }] }; 


> Compiler does not respect the implements="..." attribute in MXML
> 
>
> Key: FLEX-35053
> URL: https://issues.apache.org/jira/browse/FLEX-35053
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlexJS
>Affects Versions: Apache FlexJS 0.6.0
> Environment: Nightly build 20160321
>Reporter: Olaf Krüger
> Fix For: Apache FlexJS 0.6.0
>
>
> It seems that there is a bug where the compiler does not respect the 
> implements="..." attribute in MXML.
> MXML Example:
> 
> http://ns.adobe.com/mxml/2009";
>   xmlns:js="library://ns.apache.org/flexjs/basic" 
> implements="com.demo.core.interfaces.IViewMyInitialView">
> 
> That information is not being included in the MyInitialView.js output:
> MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
> 'MyInitialView', qName: 'MyInitialView' }] }; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FLEX-35053) Compiler does not respect the implements="..." attribute in MXML

2016-03-21 Thread JIRA
Olaf Krüger created FLEX-35053:
--

 Summary: Compiler does not respect the implements="..." attribute 
in MXML
 Key: FLEX-35053
 URL: https://issues.apache.org/jira/browse/FLEX-35053
 Project: Apache Flex
  Issue Type: Bug
  Components: FlexJS
Affects Versions: Apache FlexJS 0.6.0
 Environment: Nightly build 20160321
Reporter: Olaf Krüger
 Fix For: Apache FlexJS 0.6.0


It seems that there is a bug where the compiler does not respect the 
implements="..." attribute in MXML.

Mxml Example:

http://ns.adobe.com/mxml/2009";
xmlns:js="library://ns.apache.org/flexjs/basic" 
implements="com.undo_redo_demo.core.interfaces.IViewMyInitialView">


That information is not being included in the MyInitialView.js output:

MyInitialView.prototype.FLEXJS_CLASS_INFO = { names: [{ name:
'MyInitialView', qName: 'MyInitialView' }] }; 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLEX-35052) Flatspark - Check box failure on Mobile Device

2016-03-21 Thread Sugan Naicker (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205089#comment-15205089
 ] 

Sugan Naicker commented on FLEX-35052:
--

Workaround by Olaf : 

I've just take a look at the FlatSpark CheckBoxSkin and it seems to me that 
there's actually really no property called 'check'.
Inside the origin Spark CheckBoxSkin the checkmark itself represents the 
property 'check' .
So I simply set id='check' to the label that represents the checkmark inside 
the the FlatSpark skin.

Give it a try by replacing the origin FlatSpark CheckBoxSkin by this one:
https://gist.github.com/ok-at-github/dcd9f834f85acccb980b

Olaf

(Tested solution above and it works!)


> Flatspark - Check box failure on Mobile Device
> --
>
> Key: FLEX-35052
> URL: https://issues.apache.org/jira/browse/FLEX-35052
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlatSpark
>Affects Versions: Apache Flex 4.14.1
>Reporter: Sugan Naicker
>
> FlatSpark CheckBox Error when running on a mobile device (simulator works 
> fine)
> Getting the following error when I run mobile app of device :
> "ReferenceError: Error #1069: Property check not found on 
> flatSpark.skins.CheckBoxSkin and there is no default value."
> If I remove the check boxes, app works on mobile device.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (FLEX-35052) Flatspark - Check box failure on Mobile Device

2016-03-21 Thread Sugan Naicker (JIRA)
Sugan Naicker created FLEX-35052:


 Summary: Flatspark - Check box failure on Mobile Device
 Key: FLEX-35052
 URL: https://issues.apache.org/jira/browse/FLEX-35052
 Project: Apache Flex
  Issue Type: Bug
  Components: FlatSpark
Affects Versions: Apache Flex 4.14.1
Reporter: Sugan Naicker


FlatSpark CheckBox Error when running on a mobile device (simulator works fine)

Getting the following error when I run mobile app of device :
"ReferenceError: Error #1069: Property check not found on 
flatSpark.skins.CheckBoxSkin and there is no default value."

If I remove the check boxes, app works on mobile device.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLEX-35045) Flatspark ButtonIcon - icon does not display

2016-03-21 Thread Sugan Naicker (JIRA)

[ 
https://issues.apache.org/jira/browse/FLEX-35045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15205075#comment-15205075
 ] 

Sugan Naicker commented on FLEX-35045:
--

Workaround posted by Olaf :

An alternative is to use a custom skin:


@namespace s "library://ns.adobe.com/flex/spark";
@namespace components "flatspark.components.*";

components|ButtonIcon {
skinClass: ClassReference("ButtonIconSkinMobile");
}


Here you could find the fixed skin:
https://gist.github.com/ok-at-github/976409e8bec4e5d05461



> Flatspark ButtonIcon - icon does not display
> 
>
> Key: FLEX-35045
> URL: https://issues.apache.org/jira/browse/FLEX-35045
> Project: Apache Flex
>  Issue Type: Bug
>  Components: FlatSpark, Mobile: Button Skin
>Affects Versions: Apache Flex 4.14.1
> Environment: Flash Builder 4.7, Windows 8, FP20.0 AIR20.0
>Reporter: Sugan Naicker
>
> Mobile application Flatspark ButtonIcon Issue - icon does not display
> Code below does not display the icon, displays a cross :
>  height="{ButtonSizeEnum.Large}" label="Icon Button"/>
> IN the same application, the TestInputIcon works (shows icon)
>  iconFont="{AwesomeUtils.fa_mobile}"/>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)