[jira] [Created] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
Santanu Karar created FLEX-34381: Summary: Sorting behavior changed between Adobe and Apache Flex SDK (?) Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two links of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! Apache Flex application link: http://www.datafilehost.com/d/0a36a69c Adobe Flex application link: http://www.datafilehost.com/d/fdb76fad -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
[ https://issues.apache.org/jira/browse/FLEX-34381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-34381: - Attachment: SortingWithApacheSDK.fxp SortingWithAdobeSDK.fxp Sorting behavior changed between Adobe and Apache Flex SDK (?) -- Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Attachments: SortingWithAdobeSDK.fxp, SortingWithApacheSDK.fxp Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two links of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! Apache Flex application link: http://www.datafilehost.com/d/0a36a69c Adobe Flex application link: http://www.datafilehost.com/d/fdb76fad -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
[ https://issues.apache.org/jira/browse/FLEX-34381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-34381: - Description: Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! [Attached] Apache Flex application link: !SortingWithApacheSDK.fxp! Adobe Flex application link: !SortingWithAdobeSDK.fxp! was: Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two links of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! Apache Flex application link: http://www.datafilehost.com/d/0a36a69c Adobe Flex application link: http://www.datafilehost.com/d/fdb76fad Sorting behavior changed between Adobe and Apache Flex SDK (?) -- Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Attachments: SortingWithAdobeSDK.fxp, SortingWithApacheSDK.fxp Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the
[jira] [Updated] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
[ https://issues.apache.org/jira/browse/FLEX-34381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-34381: - Description: Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! was: Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! [Attached] Apache Flex application link: !SortingWithApacheSDK.fxp! Adobe Flex application link: !SortingWithAdobeSDK.fxp! Sorting behavior changed between Adobe and Apache Flex SDK (?) -- Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Attachments: SortingWithAdobeSDK.fxp, SortingWithApacheSDK.fxp Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with
[jira] [Commented] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
[ https://issues.apache.org/jira/browse/FLEX-34381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053424#comment-14053424 ] Santanu Karar commented on FLEX-34381: -- With the new design, there is no way to preserve previously sorting order after doing a collection.sort=null and collection.refresh() (as it was achievable with Adobe SDK); or is there a way to preserve the order even after doing a sort=null and collection.refresh() in new updated SDK? Sorting behavior changed between Adobe and Apache Flex SDK (?) -- Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Attachments: SortingWithAdobeSDK.fxp, SortingWithApacheSDK.fxp Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Comment Edited] (FLEX-34381) Sorting behavior changed between Adobe and Apache Flex SDK (?)
[ https://issues.apache.org/jira/browse/FLEX-34381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053424#comment-14053424 ] Santanu Karar edited comment on FLEX-34381 at 7/7/14 8:11 AM: -- With the new design, there is no way to preserve previously sorting order after doing a collection.sort=null and collection.refresh() (as it was achievable with Adobe SDK after sort=null); or is there a way to preserve the order even after doing a sort=null and collection.refresh() in new updated SDK? was (Author: santanu4ver): With the new design, there is no way to preserve previously sorting order after doing a collection.sort=null and collection.refresh() (as it was achievable with Adobe SDK); or is there a way to preserve the order even after doing a sort=null and collection.refresh() in new updated SDK? Sorting behavior changed between Adobe and Apache Flex SDK (?) -- Key: FLEX-34381 URL: https://issues.apache.org/jira/browse/FLEX-34381 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.0 Reporter: Santanu Karar Attachments: SortingWithAdobeSDK.fxp, SortingWithApacheSDK.fxp Hi, I recently noticed some change in behavior between Apache and Adobe Flex SDK (when working with our application which we shifted to Apache Flex SDK some time back). We have always seen that doing 'sort=null' stops any further sorting to a collection of data (in Adobe's SDK). With Apache Flex SDK I've seen this command makes no effect and sort mechanism is active. To prove my query, I've attached herewith two Flex projects of one is using Adobe Flex SDK (4.6) and Apache Flex SDK (4.11.0) the other. (I confirm this behavior is exists in 4.12.1, too). Both are same application having a list of unsorted data binding to a List component, and a button. When you hit the button: - Application sort the list - Runs a command 'sort = null' to the collection - Add a new entry at 0th index to the collection which starts with Z character as initial Results when used with Adobe Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at 0th index and it shows as - Z, A, B, C, D Results when used with Apache Flex SDK: - Application sort the list - List shows data as - A, B, C, D - null assigned to the collection.sort - List added a new Z entry at bottom and it shows as - A, B, C, D, Z Is this something an intentional change with Apache Flex SDK or its an issue. Please, suggest. Thanks! -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Created] (FLEX-34403) Right arrow never works when text selected in TextInput
Santanu Karar created FLEX-34403: Summary: Right arrow never works when text selected in TextInput Key: FLEX-34403 URL: https://issues.apache.org/jira/browse/FLEX-34403 Project: Apache Flex Issue Type: Bug Affects Versions: Apache Flex 4.12.1 Reporter: Santanu Karar Priority: Minor Problem severity: 1. Add a TextInput component to your project and run it. 2. Put some texts inside and select all (Ctrl+A) 3. Press left arrow - cursor moves to the first position of the text - text selection dismissed. 4. Press right arrow - text selection never dismissed. 5. This behavior not found when selecting text partially. Expected: 4. Press right arrow - cursor moves to the end of the text selection - text selection dismissed. 5. Pressing arrow while selection of text should behave same in either 'select all' or partial selection cases. -- This message was sent by Atlassian JIRA (v6.2#6252)
[jira] [Updated] (FLEX-35048) [FlexJS] Binding not works expectedly
[ https://issues.apache.org/jira/browse/FLEX-35048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35048: - Description: [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. > [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 > > [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] [Created] (FLEX-35048) [FlexJS] Binding not works expectedly
Santanu Karar created FLEX-35048: Summary: [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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35048) [FlexJS] Binding not works expectedly
[ https://issues.apache.org/jira/browse/FLEX-35048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35048: - Attachment: TestFlexJSTableForAlex.zip > [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 > 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] [Updated] (FLEX-35049) TextButton 'enabled=false' never works in HTML
[ https://issues.apache.org/jira/browse/FLEX-35049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35049: - Summary: TextButton 'enabled=false' never works in HTML (was: TextButton 'enabled' property never works as HTML) > TextButton 'enabled=false' never works in HTML > -- > > Key: FLEX-35049 > URL: https://issues.apache.org/jira/browse/FLEX-35049 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > > or 'enabled' property never works > when output as HTML. Buttons are anyway clickable even when 'enabled=false'. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35049) TextButton 'enabled' property never works as HTML
[ https://issues.apache.org/jira/browse/FLEX-35049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35049: - Description: or 'enabled' property never works when output as HTML. Buttons are anyway clickable even when 'enabled=false'. (was: or 'enabled' property never works expectedly. Buttons are anyway clickable even when 'enabled=false'.) Summary: TextButton 'enabled' property never works as HTML (was: TextButton 'enabled' property never works) > TextButton 'enabled' property never works as HTML > - > > Key: FLEX-35049 > URL: https://issues.apache.org/jira/browse/FLEX-35049 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > > or 'enabled' property never works > when output as HTML. Buttons are anyway clickable even when 'enabled=false'. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLEX-35048) [FlexJS] Binding not works expectedly
[ https://issues.apache.org/jira/browse/FLEX-35048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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] [Updated] (FLEX-35054) js:Panel lost background colour in js:State change in HTML output
[ https://issues.apache.org/jira/browse/FLEX-35054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35054: - Description: SDK: FlexJS 0.5.0 IDE: Flash Builder, Moonshine My test application is consists of several states having one js:View component in each state. One state have a js:Panel which toggled it's visibility upon user interaction. When re-visiting the same state during an application cycle, opening js:Panel showing lost it's background colours. Please, find herewith my attached test project source which describes the problem: 1. Run the application in HTML 2. The application consists of 3 js:State 3. In first state one should see a button labeled "Go Next Section" - this will change application to state 2 4. State 2 have one button labeled "Open Popup Panel" 5. Clicking on the above button make an in-page js:Panel visible=true. This also demonstrate another problem where showing Panel push any existing Container underneath it. Both existing Container and Panel are child of a Container class. If I understood correctly if no layout beads explicitly added a Container class works like fx:Group or mx:Canvas class. I wonder why showing up Panel making it's parent acting as vertical container instead! 6. Showing up Panel has two buttons - Close This, Continue. Close This will just toggle it's visibility where Continue button make it's visibility false and make the application move to it's next state (State 3) 7. State 3 has one button labeled "Go Previous Section" - this will make application return to State 2 which has the js:Panel 8. Click on "Open Popup Panel" once again - background colour should vanish, width became wrong and interaction not works. Please, check. was: SDK: FlexJS 0.5.0 IDE: Flash Builder, Moonshine My test application is consists of several states having one js:View component in each state. One state have a js:Panel which toggled it's visibility upon user interaction. When re-visiting the same state during an application cycle, opening js:Panel showing lost it's background colours. Please, find herewith my attached test project source which describes the problem: 1. Run the application > js:Panel lost background colour in js:State change in HTML output > - > > Key: FLEX-35054 > URL: https://issues.apache.org/jira/browse/FLEX-35054 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > Attachments: FlexJSFlexbileChildTest.zip > > > SDK: FlexJS 0.5.0 > IDE: Flash Builder, Moonshine > My test application is consists of several states having one js:View > component in each state. One state have a js:Panel which toggled it's > visibility upon user interaction. When re-visiting the same state during an > application cycle, opening js:Panel showing lost it's background colours. > Please, find herewith my attached test project source which describes the > problem: > 1. Run the application in HTML > 2. The application consists of 3 js:State > 3. In first state one should see a button labeled "Go Next Section" - this > will change application to state 2 > 4. State 2 have one button labeled "Open Popup Panel" > 5. Clicking on the above button make an in-page js:Panel visible=true. This > also demonstrate another problem where showing Panel push any existing > Container underneath it. Both existing Container and Panel are child of a > Container class. If I understood correctly if no layout beads explicitly > added a Container class works like fx:Group or mx:Canvas class. I wonder why > showing up Panel making it's parent acting as vertical container instead! > 6. Showing up Panel has two buttons - Close This, Continue. Close This will > just toggle it's visibility where Continue button make it's visibility false > and make the application move to it's next state (State 3) > 7. State 3 has one button labeled "Go Previous Section" - this will make > application return to State 2 which has the js:Panel > 8. Click on "Open Popup Panel" once again - background colour should vanish, > width became wrong and interaction not works. > Please, check. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35054) js:Panel lost background colour in js:State change in HTML output
[ https://issues.apache.org/jira/browse/FLEX-35054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35054: - Attachment: (was: FlexJSFlexbileChildTest.zip) > js:Panel lost background colour in js:State change in HTML output > - > > Key: FLEX-35054 > URL: https://issues.apache.org/jira/browse/FLEX-35054 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > Attachments: FlexJSFlexbileChildTest.zip > > > SDK: FlexJS 0.5.0 > IDE: Flash Builder, Moonshine > My test application is consists of several states having one js:View > component in each state. One state have a js:Panel which toggled it's > visibility upon user interaction. When re-visiting the same state during an > application cycle, opening js:Panel showing lost it's background colours. > Please, find herewith my attached test project source which describes the > problem: > 1. Run the application in HTML > 2. The application consists of 3 js:State > 3. In first state one should see a button labeled "Go Next Section" - this > will change application to state 2 > 4. State 2 have one button labeled "Open Popup Panel" > 5. Clicking on the above button make an in-page js:Panel visible=true. This > also demonstrate another problem where showing Panel push any existing > Container underneath it. Both existing Container and Panel are child of a > Container class. If I understood correctly if no layout beads explicitly > added a Container class works like fx:Group or mx:Canvas class. I wonder why > showing up Panel making it's parent acting as vertical container instead! > 6. Showing up Panel has two buttons - Close This, Continue. Close This will > just toggle it's visibility where Continue button make it's visibility false > and make the application move to it's next state (State 3) > 7. State 3 has one button labeled "Go Previous Section" - this will make > application return to State 2 which has the js:Panel > 8. Click on "Open Popup Panel" once again - background colour should vanish, > width became wrong and interaction not works. > Please, check. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35054) js:Panel lost background colour in js:State change in HTML output
[ https://issues.apache.org/jira/browse/FLEX-35054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35054: - Attachment: FlexJSFlexbileChildTest.zip > js:Panel lost background colour in js:State change in HTML output > - > > Key: FLEX-35054 > URL: https://issues.apache.org/jira/browse/FLEX-35054 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > Attachments: FlexJSFlexbileChildTest.zip > > > SDK: FlexJS 0.5.0 > IDE: Flash Builder, Moonshine > My test application is consists of several states having one js:View > component in each state. One state have a js:Panel which toggled it's > visibility upon user interaction. When re-visiting the same state during an > application cycle, opening js:Panel showing lost it's background colours. > Please, find herewith my attached test project source which describes the > problem: > 1. Run the application in HTML > 2. The application consists of 3 js:State > 3. In first state one should see a button labeled "Go Next Section" - this > will change application to state 2 > 4. State 2 have one button labeled "Open Popup Panel" > 5. Clicking on the above button make an in-page js:Panel visible=true. This > also demonstrate another problem where showing Panel push any existing > Container underneath it. Both existing Container and Panel are child of a > Container class. If I understood correctly if no layout beads explicitly > added a Container class works like fx:Group or mx:Canvas class. I wonder why > showing up Panel making it's parent acting as vertical container instead! > 6. Showing up Panel has two buttons - Close This, Continue. Close This will > just toggle it's visibility where Continue button make it's visibility false > and make the application move to it's next state (State 3) > 7. State 3 has one button labeled "Go Previous Section" - this will make > application return to State 2 which has the js:Panel > 8. Click on "Open Popup Panel" once again - background colour should vanish, > width became wrong and interaction not works. > Please, check. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35054) js:Panel lost background colour in js:State change
Santanu Karar created FLEX-35054: Summary: js:Panel lost background colour in js:State change Key: FLEX-35054 URL: https://issues.apache.org/jira/browse/FLEX-35054 Project: Apache Flex Issue Type: Bug Affects Versions: Apache FlexJS 0.5.0 Reporter: Santanu Karar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35054) js:Panel lost background colour in js:State change in HTML output
[ https://issues.apache.org/jira/browse/FLEX-35054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35054: - Summary: js:Panel lost background colour in js:State change in HTML output (was: js:Panel lost background colour in js:State change) > js:Panel lost background colour in js:State change in HTML output > - > > Key: FLEX-35054 > URL: https://issues.apache.org/jira/browse/FLEX-35054 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > Attachments: FlexJSFlexbileChildTest.zip > > > SDK: FlexJS 0.5.0 > IDE: Flash Builder, Moonshine > My test application is consists of several states having one js:View > component in each state. One state have a js:Panel which toggled it's > visibility upon user interaction. When re-visiting the same state during an > application cycle, opening js:Panel showing lost it's background colours. > Please, find herewith my attached test project source which describes the > problem: > 1. Run the application -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35054) js:Panel lost background colour in js:State change
[ https://issues.apache.org/jira/browse/FLEX-35054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35054: - Description: SDK: FlexJS 0.5.0 IDE: Flash Builder, Moonshine My test application is consists of several states having one js:View component in each state. One state have a js:Panel which toggled it's visibility upon user interaction. When re-visiting the same state during an application cycle, opening js:Panel showing lost it's background colours. Please, find herewith my attached test project source which describes the problem: 1. Run the application > js:Panel lost background colour in js:State change > -- > > Key: FLEX-35054 > URL: https://issues.apache.org/jira/browse/FLEX-35054 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.5.0 >Reporter: Santanu Karar > Attachments: FlexJSFlexbileChildTest.zip > > > SDK: FlexJS 0.5.0 > IDE: Flash Builder, Moonshine > My test application is consists of several states having one js:View > component in each state. One state have a js:Panel which toggled it's > visibility upon user interaction. When re-visiting the same state during an > application cycle, opening js:Panel showing lost it's background colours. > Please, find herewith my attached test project source which describes the > problem: > 1. Run the application -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35212) [FlexJS] DataGrid requires a way to select it's row(s) automatically
Santanu Karar created FLEX-35212: Summary: [FlexJS] DataGrid requires a way to select it's row(s) automatically Key: FLEX-35212 URL: https://issues.apache.org/jira/browse/FLEX-35212 Project: Apache Flex Issue Type: Improvement Affects Versions: Apache FlexJS 0.8.0 Reporter: Santanu Karar At present {{DataGrid.selectedIndex}} is a read-only property. We probably need a way to select one or multiple rows at runtime to DataGrid. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35211) [FlexJS] BindableCSSStyle do not updates all it's properties at runtime
Santanu Karar created FLEX-35211: Summary: [FlexJS] BindableCSSStyle do not updates all it's properties at runtime Key: FLEX-35211 URL: https://issues.apache.org/jira/browse/FLEX-35211 Project: Apache Flex Issue Type: Bug Affects Versions: Apache FlexJS 0.8.0 Reporter: Santanu Karar (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though, i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLEX-35212) [FlexJS] DataGrid requires a way to select it's row(s) automatically
[ https://issues.apache.org/jira/browse/FLEX-35212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15750451#comment-15750451 ] Santanu Karar commented on FLEX-35212: -- Hello Peter. Thank you for this new feature, I surely test this very soon from nightly build. Regarding selecting multiple rows, custom bead extending which bead or adding a new bead you're referring to? > [FlexJS] DataGrid requires a way to select it's row(s) automatically > > > Key: FLEX-35212 > URL: https://issues.apache.org/jira/browse/FLEX-35212 > Project: Apache Flex > Issue Type: Improvement >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar >Assignee: Peter Ent > Fix For: Apache FlexJS 0.8.0 > > > At present {{DataGrid.selectedIndex}} is a read-only property. We probably > need a way to select one or multiple rows at runtime to DataGrid. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35215) [FlexJS] Responsive VerticalColumnLayout
Santanu Karar created FLEX-35215: Summary: [FlexJS] Responsive VerticalColumnLayout Key: FLEX-35215 URL: https://issues.apache.org/jira/browse/FLEX-35215 Project: Apache Flex Issue Type: Improvement Affects Versions: Apache FlexJS 0.8.0 Reporter: Santanu Karar *Requirement* It'd be great if columns wrapped as rows if browser resized, at runtime. *Present state* A simple code as following creates 2 columns with fixed widths. {code} {code} We change the VerticalColumnLayout's _numColumns_ property change only once while starting the application but runtime. *Expectation* When browser resized, if it's visible width became less than 500px (per above code example), the second column came down below the first column, to form as a row of item. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
[ https://issues.apache.org/jira/browse/FLEX-35211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35211: - Summary: [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF (was: [FlexJS] BindableCSSStyle do not updates all it's properties at runtime) > [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF > -- > > Key: FLEX-35211 > URL: https://issues.apache.org/jira/browse/FLEX-35211 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > > (This issue once discussed in Apache mailing-list at: > http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) > *Requirement* > Updating UI components' styles at runtime. If possible, updating their > _className_ property at runtime and see it's effect without refreshing > browser. > *What we have* > Updating _className_ property to any component do not works. > *Workaround* > Using _BindableCSSStyle_ to update any given style at runtime and see it's > effect. > *Result* > _BindableCSSStyle_ API not able to update all it's properties at runtime. > Furthermore, it only shown working in SWF mode, HTML version completely > broken. > h3. Observation > As suggested in mailing-list (link given above), _BindableCSSStyle_ used in > *FlexJSStore* example project that supplied within SDK bundle, in > {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I > tested, it does updates "border" property to a component at runtime. > It does not updates all other properties at rumtime though (in SWF, HTML > version do not works at all), i.e. backgroundColor. > I tested with a simple example, by modifying the > "ProductCatalogThumbnail.mxml file only: > {code} > > borderWidth="1" borderColor="#FF" backgroundColor="#FF"/> > > ... > private function rollOverHandler(event:MouseEvent):void > { > borderStyles.borderColor = "#ff"; > borderStyles.backgroundColor = "#00"; > //style["dropShadowEnabled"] = true; > buttons.visible = true; > } > {code} > Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as > an example. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
[ https://issues.apache.org/jira/browse/FLEX-35211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35211: - Description: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown partially working in SWF, HTML version completely broken. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. was: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown working in SWF mode, HTML version completely broken. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. > [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF > -- > > Key: FLEX-35211 > URL: https://issues.apache.org/jira/browse/FLEX-35211 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > > (This issue once discussed in Apache mailing-list at: > http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) > *Requirement* > Updating UI components' styles at runtime. If possible, updating their > _className_ property at runtime and see it's effect without refreshing > browser. > *What we have* > Updating _className_ property to any component do not works. > *Workaround* > Using _BindableCSSStyle_ to update any given style at runtime and see it's > effect. > *Result* > _BindableCSSStyle_ API not able to update all it's properties at runtime. > Furthermore, it only shown partially working in SWF, HTML version completely > broken. > h3. Observation > As suggested in mailing-list (link given above), _BindableCSSStyle_ used in > *FlexJSStore* example project that supplied within SDK bundle, in > {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I > tested, it does updates "border" property to a component at runtime. > It does not updates all other properties at rumtime though (in SWF, HTML > version do not works at all), i.e. backgroundColor. > I tested with a simple example, by modifying the > "ProductCatalogThumbnail.mxml file only: > {code} > > borderWidth="1" borderColor="#FF"
[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
[ https://issues.apache.org/jira/browse/FLEX-35211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35211: - Description: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown partially working in SWF, HTML version completely broken. *Expected* Class able to change all it's public properties at runtime in both HTML and SWF run. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. was: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown partially working in SWF, HTML version completely broken. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. > [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF > -- > > Key: FLEX-35211 > URL: https://issues.apache.org/jira/browse/FLEX-35211 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > > (This issue once discussed in Apache mailing-list at: > http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) > *Requirement* > Updating UI components' styles at runtime. If possible, updating their > _className_ property at runtime and see it's effect without refreshing > browser. > *What we have* > Updating _className_ property to any component do not works. > *Workaround* > Using _BindableCSSStyle_ to update any given style at runtime and see it's > effect. > *Result* > _BindableCSSStyle_ API not able to update all it's properties at runtime. > Furthermore, it only shown partially working in SWF, HTML version completely > broken. > *Expected* > Class able to change all it's public properties at runtime in both HTML and > SWF run. > h3. Observation > As suggested in mailing-list (link given above), _BindableCSSStyle_ used in > *FlexJSStore* example project that supplied within SDK bundle, in > {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I > tested, it does updates "border" property to a component at runtime. > It does not updates all other properties at rumtime though (in SWF, HTML > version do not
[jira] [Updated] (FLEX-35211) [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF
[ https://issues.apache.org/jira/browse/FLEX-35211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35211: - Description: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown partially working in SWF, HTML version completely broken. *Expected* Class able to change all it's public properties at runtime in both HTML and SWF run. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. was: (This issue once discussed in Apache mailing-list at: http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) *Requirement* Updating UI components' styles at runtime. If possible, updating their _className_ property at runtime and see it's effect without refreshing browser. *What we have* Updating _className_ property to any component do not works. *Workaround* Using _BindableCSSStyle_ to update any given style at runtime and see it's effect. *Result* _BindableCSSStyle_ API not able to update all it's properties at runtime. Furthermore, it only shown partially working in SWF, HTML version completely broken. *Expected* Class able to change all it's public properties at runtime in both HTML and SWF run. h3. Observation As suggested in mailing-list (link given above), _BindableCSSStyle_ used in *FlexJSStore* example project that supplied within SDK bundle, in {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I tested, it does updates "border" property to a component at runtime. It does not updates all other properties at rumtime though (in SWF, HTML version do not works at all), i.e. backgroundColor. I tested with a simple example, by modifying the "ProductCatalogThumbnail.mxml file only: {code} ... private function rollOverHandler(event:MouseEvent):void { borderStyles.borderColor = "#ff"; borderStyles.backgroundColor = "#00"; //style["dropShadowEnabled"] = true; buttons.visible = true; } {code} Setting up _backgroundColor_ property in _rollOverHandler()_ never worked, as an example. > [FlexJS] BindableCSSStyle do not works or partially works between HTML and SWF > -- > > Key: FLEX-35211 > URL: https://issues.apache.org/jira/browse/FLEX-35211 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > > (This issue once discussed in Apache mailing-list at: > http://apache-flex-users.246.n4.nabble.com/Updating-className-td12217i20.html) > *Requirement* > Updating UI components' styles at runtime. If possible, updating their > _className_ property at runtime and see it's effect without refreshing > browser. > *What we have* > Updating _className_ property to any component do not works. > *Workaround* > Using _BindableCSSStyle_ to update any given style at runtime and see it's > effect. > *Result* > _BindableCSSStyle_ API not able to update all it's properties at runtime. > Furthermore, it only shown partially working in SWF, HTML version completely > broken. > *Expected* > Class able to change all it's public properties at runtime in both HTML and > SWF run. > h3. Observation > As suggested in mailing-list (link given above), _BindableCSSStyle_ used in > *FlexJSStore* example project that supplied within SDK bundle, in > {{/flexjs/FlexJSStore/productsView/ProductCatalogThumbnail.mxml}} page. I > tested, it does updates "border"
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Attachment: (was: src.zip) > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is at all available yet? > In the following tests I tried to update one row object's (_Product_) one > particular field (_image_) value, to see it's change in row renderer, at > run-time. > I also tried to add or delete an item to it's _dataProvider_ collection to > see their changes in DataGrid UI. > h3.Actual Result > Run-time data update to collection list not affecting to DataGrid UI. > h3.How I Tested > I've attached the source ZIP that supplied within SDK bundle and I modified > few codes to test my requirement. > The example consists of a DataGrid, and few buttons as follows: > - Replace Array - replace the entire model with a new Array > - Update Entry - Update the image for the first entry > - Add Entry - Add a new entry to the end of the list > - Remove Entry - Remove the first entry > - Refresh - this recreates the array and saves it to the model. This forces > the DataGrid to update by the same method as Replace Array > "Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround > for data update to grid UI, but it is inefficient for a real application. The > other buttons did not cause DataGrid UI to update. The places which I've > changed as follows. > *Product.as* > {code} > // since I was trying to update one field at least to DataGrid UI, I added > get/set methods to the _image_ field > private var _image:String; > [Bindable(event="imageChanged")] > public function get image():String > { > return _image; > } > > public function set image(value:String):void > { > if (value != _image) > { > _image = value; > dispatchEvent(new Event("imageChanged")); > } > } > {code} > *MyInitialView.mxml* > {code} > // Replacing or recreating the collection list > private function replaceArray():void > { > // Only this part worked when SimpleBinding used rather than > ConstantBinding > ProductsModel(applicationModel).productList = new ArrayList([new > Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); > > writeStatus(); > } > // Update an entry to the collection > private function updateEntry():void > { > // This part not working or updating to DataGrid UI either > /*ProductsModel(applicationModel).productList.source[1] = tmp; > ProductsModel(applicationModel).dispatchEvent(new > Event("propertyChange"));*/ > // This part not working or updating to DataGrid UI > var tmp:Product = > ProductsModel(applicationModel).productList.getItemAt(0) as Product; > tmp.image = "Modified Text"; > > writeStatus(); > } > // Adding an item to the collection list > private function addEntry():void > { > // Add a new entry to the list > idCounter++; > ProductsModel(applicationModel).productList.addItem(new > Product("product" + idCounter, "Added" + idCounter, 35, 190, > "assets/smallorangerect.jpg")); > > writeStatus(); > } > // Removing an item from the collection list > private function removeEntry():void > { > // remove the first item > ProductsModel(applicationModel).productList.removeItemAt(0); > > writeStatus(); > } > // Refreshing the collection to datagrid > private function refresh():void > { > // force an update setting the model to the same value it already has. > See replaceArray() > > // this was insufficient to trigger the update: > // ProductsModel(applicationModel).productList = >
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Attachment: src.zip > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is at all available yet? > In the following tests I tried to update one row object's (_Product_) one > particular field (_image_) value, to see it's change in row renderer, at > run-time. > I also tried to add or delete an item to it's _dataProvider_ collection to > see their changes in DataGrid UI. > h3.Actual Result > Run-time data update to collection list not affecting to DataGrid UI. > h3.How I Tested > I've attached the source ZIP that supplied within SDK bundle and I modified > few codes to test my requirement. > The example consists of a DataGrid, and few buttons as follows: > - Replace Array - replace the entire model with a new Array > - Update Entry - Update the image for the first entry > - Add Entry - Add a new entry to the end of the list > - Remove Entry - Remove the first entry > - Refresh - this recreates the array and saves it to the model. This forces > the DataGrid to update by the same method as Replace Array > "Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround > for data update to grid UI, but it is inefficient for a real application. The > other buttons did not cause DataGrid UI to update. The places which I've > changed as follows. > *Product.as* > {code} > // since I was trying to update one field at least to DataGrid UI, I added > get/set methods to the _image_ field > private var _image:String; > [Bindable(event="imageChanged")] > public function get image():String > { > return _image; > } > > public function set image(value:String):void > { > if (value != _image) > { > _image = value; > dispatchEvent(new Event("imageChanged")); > } > } > {code} > *MyInitialView.mxml* > {code} > // Replacing or recreating the collection list > private function replaceArray():void > { > // Only this part worked when SimpleBinding used rather than > ConstantBinding > ProductsModel(applicationModel).productList = new ArrayList([new > Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); > > writeStatus(); > } > // Update an entry to the collection > private function updateEntry():void > { > // This part not working or updating to DataGrid UI either > /*ProductsModel(applicationModel).productList.source[1] = tmp; > ProductsModel(applicationModel).dispatchEvent(new > Event("propertyChange"));*/ > // This part not working or updating to DataGrid UI > var tmp:Product = > ProductsModel(applicationModel).productList.getItemAt(0) as Product; > tmp.image = "Modified Text"; > > writeStatus(); > } > // Adding an item to the collection list > private function addEntry():void > { > // Add a new entry to the list > idCounter++; > ProductsModel(applicationModel).productList.addItem(new > Product("product" + idCounter, "Added" + idCounter, 35, 190, > "assets/smallorangerect.jpg")); > > writeStatus(); > } > // Removing an item from the collection list > private function removeEntry():void > { > // remove the first item > ProductsModel(applicationModel).productList.removeItemAt(0); > > writeStatus(); > } > // Refreshing the collection to datagrid > private function refresh():void > { > // force an update setting the model to the same value it already has. > See replaceArray() > > // this was insufficient to trigger the update: > // ProductsModel(applicationModel).productList = >
[jira] [Commented] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724494#comment-15724494 ] Santanu Karar commented on FLEX-35190: -- I would like to propose a fix that I tested locally. Please, check attached herewith devsena.patch file for more details. The relevant area to fix is as this: {panel} -#Mon Jun 08 13:23:50 PDT 2015 -eclipse.preferences.version=1 -encoding/=utf-8 diff --git a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as index 7de2389..815f40a 100644 --- a/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as +++ b/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/supportClasses/DataItemRenderer.as @@ -28,6 +28,7 @@ package org.apache.flex.html.supportClasses import org.apache.flex.html.beads.controllers.ItemRendererMouseController; } import org.apache.flex.core.ValuesManager; + [DefaultProperty("mxmlContent")] /** * The DataItemRenderer class is the base class for most itemRenderers. This class diff --git a/frameworks/projects/HTML/src/test/flex/build.xml b/frameworks/projects/HTML/src/test/flex/build.xml index 2b6e1af..e5a0628 100644 {panel} Let me know if I can propose a pull request. > [FlexJS] DataItemRenderer breaks if extends as MXML file > > > Key: FLEX-35190 > URL: https://issues.apache.org/jira/browse/FLEX-35190 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > > I took a nightly build of Apache FlexJS and tried by it's supplied > *DataGridExample* example project. The example used a custom DataItemRenderer > class, but it was an ActionScript implementation. > When I tried to create MXML file extending same DataItemRenderer class, when > used to DataGrid component, I couldn't even able to build but thrown by > compiler error: > *1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException* > I'm attaching herewith the full error details for your review: > {panel} > Description ResourcePathLocationType > 1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) > at > org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) > at >
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? In the following tests I tried to update one row object's (_Product_) one particular field (_image_) value, to see it's change in row renderer, at run-time. I also tried to add or delete an item to it's _dataProvider_ collection to see their changes in DataGrid UI. h3.Actual Result Run-time data update to collection list not affecting to DataGrid UI. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The example consists of a DataGrid, and few buttons as follows: - Replace Array - replace the entire model with a new Array - Update Entry - Update the image for the first entry - Add Entry - Add a new entry to the end of the list - Remove Entry - Remove the first entry - Refresh - this recreates the array and saves it to the model. This forces the DataGrid to update by the same method as Replace Array "Replace Array" and "Refresh" worked fine. "Refresh" is a possible workaround for data update to grid UI, but it is inefficient for a real application. The other buttons did not cause DataGrid UI to update. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Replacing or recreating the collection list private function replaceArray():void { // Only this part worked when SimpleBinding used rather than ConstantBinding ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); writeStatus(); } // Update an entry to the collection private function updateEntry():void { // This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // This part not working or updating to DataGrid UI var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(0) as Product; tmp.image = "Modified Text"; writeStatus(); } // Adding an item to the collection list private function addEntry():void { // Add a new entry to the list idCounter++; ProductsModel(applicationModel).productList.addItem(new Product("product" + idCounter, "Added" + idCounter, 35, 190, "assets/smallorangerect.jpg")); writeStatus(); } // Removing an item from the collection list private function removeEntry():void { // remove the first item ProductsModel(applicationModel).productList.removeItemAt(0); writeStatus(); } // Refreshing the collection to datagrid private function refresh():void { // force an update setting the model to the same value it already has. See replaceArray() // this was insufficient to trigger the update: // ProductsModel(applicationModel).productList = ProductsModel(applicationModel).productList; // Since there was NO refresh logic to ArrayList or DataGrid component, we only do a brute refresh to the list var oldArray:ArrayList = ProductsModel(applicationModel).productList; var newArray:ArrayList = new ArrayList(); var index:int; for (index = 0; index < oldArray.length; index++) { newArray.addItem(oldArray.getItemAt(index)); } ProductsModel(applicationModel).productList = newArray; writeStatus(); } ...
[jira] [Updated] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35190: - Attachment: devsena.patch > [FlexJS] DataItemRenderer breaks if extends as MXML file > > > Key: FLEX-35190 > URL: https://issues.apache.org/jira/browse/FLEX-35190 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: devsena.patch > > > I took a nightly build of Apache FlexJS and tried by it's supplied > *DataGridExample* example project. The example used a custom DataItemRenderer > class, but it was an ActionScript implementation. > When I tried to create MXML file extending same DataItemRenderer class, when > used to DataGrid component, I couldn't even able to build but thrown by > compiler error: > *1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException* > I'm attaching herewith the full error details for your review: > {panel} > Description ResourcePathLocationType > 1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) > at > org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at >
[jira] [Commented] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724866#comment-15724866 ] Santanu Karar commented on FLEX-35190: -- Hello Alex, I've updated the patch file, sorry for the trouble. Yes, after adding that default property metadata, I did build it's 'swc' and tested locally. This worked fine after that addition. I noticed I thrown by the said error when my MXML implementation was almost empty event: {code} http://ns.adobe.com/mxml/2009; xmlns:js="library://ns.apache.org/flexjs/basic"> {code} I'm not sure about what binding expression problem you've noticed, though. > [FlexJS] DataItemRenderer breaks if extends as MXML file > > > Key: FLEX-35190 > URL: https://issues.apache.org/jira/browse/FLEX-35190 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: devsena.patch > > > I took a nightly build of Apache FlexJS and tried by it's supplied > *DataGridExample* example project. The example used a custom DataItemRenderer > class, but it was an ActionScript implementation. > When I tried to create MXML file extending same DataItemRenderer class, when > used to DataGrid component, I couldn't even able to build but thrown by > compiler error: > *1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException* > I'm attaching herewith the full error details for your review: > {panel} > Description ResourcePathLocationType > 1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) > at > org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at >
[jira] [Created] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
Santanu Karar created FLEX-35197: Summary: [FlexJS] Data-binding is broken or not implemented in DataGrid component Key: FLEX-35197 URL: https://issues.apache.org/jira/browse/FLEX-35197 Project: Apache Flex Issue Type: Question Affects Versions: Apache FlexJS 0.8.0 Reporter: Santanu Karar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Attachment: src.zip > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is at all available yet? > h3.Actual Result > Run-time data update to DataGrid UI is not working. > h3.How I Tested > I've attached the source ZIP that I supplied within SDK bundle and I modified > few codes to test my requirement. The places which I've changed as follows. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked when *SimpleBinding used instead of ConstantBinding* ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } ... // DataGrid ConstantBinding bead replaced with SimpleBinding ... {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? In the following tests I tried to update one row object's (_Product_) one particular field (_image_) value, to see it's change in row renderer, at run-time. I also tried to add or delete an item to it's _dataProvider_ collection to see their changes in DataGrid UI. h3.Actual Result Run-time data update to collection list not affecting DataGrid UI. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked when *SimpleBinding used instead of ConstantBinding* ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } ... // DataGrid ConstantBinding bead replaced with SimpleBinding ... {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? In the following tests I tried to update one row object's (_Product_) one particular field (_image_) value, to see it's change in row renderer, at run-time. I also tried to add or delete an item to it's _dataProvider_ collection to see their changes in DataGrid UI. h3.Actual Result Run-time data update to collection list not affecting to DataGrid UI. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked when *SimpleBinding used instead of ConstantBinding* ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } ... // DataGrid ConstantBinding bead replaced with SimpleBinding ... {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? In the following tests I tried to update one row object's (_Product_) one particular field (_image_) value, to see it's change in row renderer, at run-time. I also tried to add or delete an item to it's _dataProvider_ collection to see their changes in DataGrid UI. h3.Actual Result Run-time data update to collection list not affecting DataGrid UI. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value;
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked *only* when SimpleBinding used rather than ConstantBinding ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked when *SimpleBinding used instead of ConstantBinding* ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Description: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either /*ProductsModel(applicationModel).productList.source[1] = tmp; ProductsModel(applicationModel).dispatchEvent(new Event("propertyChange"));*/ // 3. Only this part worked when *SimpleBinding used instead of ConstantBinding* ProductsModel(applicationModel).productList = new ArrayList([new Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); } ... // DataGrid ConstantBinding bead replaced with SimpleBinding ... {code} I also created a new MXML based _DataItemRenderer_ component to see if binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't worked either. I discussed this at dev mailing-list (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) where Alex suggested that a chain of specific beads usage may help this feature, but he wasn't sure if such beads already developed or not. Is there any such beads or procedure already available, or, in-development? was: (I've took the _DataGrid_ example that supplied within the nightly build of 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) h3.Requirement Binding is a strong feature in Flex technology. As an user I also do expect that FlexJS will also empowers us with the same strength developing projects. While testing _DataGrid_ example that supplies within SDK bundle, I noticed that pay-as-you-go view only available but no actual run-time data binding (as far I tested); which is the strength that I was talking about. Is run-time data-binding (by any _beads_ or any other way) to DataGrid component is at all available yet? h3.Actual Result Run-time data update to DataGrid UI is not working. h3.How I Tested I've attached the source ZIP that I supplied within SDK bundle and I modified few codes to test my requirement. The places which I've changed as follows. *Product.as* {code} // since I was trying to update one field at least to DataGrid UI, I added get/set methods to the _image_ field private var _image:String; [Bindable(event="imageChanged")] public function get image():String { return _image; } public function set image(value:String):void { if (value != _image) { _image = value; dispatchEvent(new Event("imageChanged")); } } {code} *MyInitialView.mxml* {code} // Upon a button click I tried to change collection data at run-time to make effect in DataGrid UI private function onButtonClicked():void { // 1. This part not working or updating to DataGrid UI /*var tmp:Product = ProductsModel(applicationModel).productList.getItemAt(1) as Product; tmp.image = "Modified Text";*/ // 2. This part not working or updating to DataGrid UI either
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Attachment: src.zip > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is at all available yet? > In the following tests I tried to update one row object's (_Product_) one > particular field (_image_) value, to see it's change in row renderer, at > run-time. > I also tried to add or delete an item to it's _dataProvider_ collection to > see their changes in DataGrid UI. > h3.Actual Result > Run-time data update to collection list not affecting to DataGrid UI. > h3.How I Tested > I've attached the source ZIP that supplied within SDK bundle and I modified > few codes to test my requirement. The places which I've changed as follows. > *Product.as* > {code} > // since I was trying to update one field at least to DataGrid UI, I added > get/set methods to the _image_ field > private var _image:String; > [Bindable(event="imageChanged")] > public function get image():String > { > return _image; > } > > public function set image(value:String):void > { > if (value != _image) > { > _image = value; > dispatchEvent(new Event("imageChanged")); > } > } > {code} > *MyInitialView.mxml* > {code} > // Upon a button click I tried to change collection data at run-time to make > effect in DataGrid UI > private function onButtonClicked():void > { > // 1. This part not working or updating to DataGrid UI > /*var tmp:Product = > ProductsModel(applicationModel).productList.getItemAt(1) as Product; > tmp.image = "Modified Text";*/ > > // 2. This part not working or updating to DataGrid UI either > /*ProductsModel(applicationModel).productList.source[1] = tmp; > ProductsModel(applicationModel).dispatchEvent(new > Event("propertyChange"));*/ > > // 3. Only this part worked when *SimpleBinding used instead of > ConstantBinding* > ProductsModel(applicationModel).productList = new ArrayList([new > Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); > } > ... > // DataGrid ConstantBinding bead replaced with SimpleBinding > change="dataGridChange()" rowHeight="30"> > > > sourcePropertyName="productList" destinationPropertyName="dataProvider" > eventName="propertyChange"/> > ... > {code} > I also created a new MXML based _DataItemRenderer_ component to see if > binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't > worked either. > I discussed this at dev mailing-list > (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) > where Alex suggested that a chain of specific beads usage may help this > feature, but he wasn't sure if such beads already developed or not. > Is there any such beads or procedure already available, or, in-development? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35197) [FlexJS] Data-binding is broken or not implemented in DataGrid component
[ https://issues.apache.org/jira/browse/FLEX-35197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35197: - Attachment: (was: src.zip) > [FlexJS] Data-binding is broken or not implemented in DataGrid component > > > Key: FLEX-35197 > URL: https://issues.apache.org/jira/browse/FLEX-35197 > Project: Apache Flex > Issue Type: Question >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: src.zip > > > (I've took the _DataGrid_ example that supplied within the nightly build of > 0.8.0 FlexJS SDK bundle, and I tried all my tests in that project only) > h3.Requirement > Binding is a strong feature in Flex technology. As an user I also do expect > that FlexJS will also empowers us with the same strength developing projects. > While testing _DataGrid_ example that supplies within SDK bundle, I noticed > that pay-as-you-go view only available but no actual run-time data binding > (as far I tested); which is the strength that I was talking about. Is > run-time data-binding (by any _beads_ or any other way) to DataGrid component > is at all available yet? > In the following tests I tried to update one row object's (_Product_) one > particular field (_image_) value, to see it's change in row renderer, at > run-time. > I also tried to add or delete an item to it's _dataProvider_ collection to > see their changes in DataGrid UI. > h3.Actual Result > Run-time data update to collection list not affecting to DataGrid UI. > h3.How I Tested > I've attached the source ZIP that supplied within SDK bundle and I modified > few codes to test my requirement. The places which I've changed as follows. > *Product.as* > {code} > // since I was trying to update one field at least to DataGrid UI, I added > get/set methods to the _image_ field > private var _image:String; > [Bindable(event="imageChanged")] > public function get image():String > { > return _image; > } > > public function set image(value:String):void > { > if (value != _image) > { > _image = value; > dispatchEvent(new Event("imageChanged")); > } > } > {code} > *MyInitialView.mxml* > {code} > // Upon a button click I tried to change collection data at run-time to make > effect in DataGrid UI > private function onButtonClicked():void > { > // 1. This part not working or updating to DataGrid UI > /*var tmp:Product = > ProductsModel(applicationModel).productList.getItemAt(1) as Product; > tmp.image = "Modified Text";*/ > > // 2. This part not working or updating to DataGrid UI either > /*ProductsModel(applicationModel).productList.source[1] = tmp; > ProductsModel(applicationModel).dispatchEvent(new > Event("propertyChange"));*/ > > // 3. Only this part worked when *SimpleBinding used instead of > ConstantBinding* > ProductsModel(applicationModel).productList = new ArrayList([new > Product("ps220","Weejets",35,190,"assets/smallorangerect.jpg")]); > } > ... > // DataGrid ConstantBinding bead replaced with SimpleBinding > change="dataGridChange()" rowHeight="30"> > > > sourcePropertyName="productList" destinationPropertyName="dataProvider" > eventName="propertyChange"/> > ... > {code} > I also created a new MXML based _DataItemRenderer_ component to see if > binding is working anyway: *ProductItemRendererMXML.mxml*; But it didn't > worked either. > I discussed this at dev mailing-list > (http://apache-flex-development.247.n4.nabble.com/Why-same-files-exists-in-multiple-places-td56983.html) > where Alex suggested that a chain of specific beads usage may help this > feature, but he wasn't sure if such beads already developed or not. > Is there any such beads or procedure already available, or, in-development? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35190: - Description: I took a nightly build of Apache FlexJS and tried by it's supplied *DataGridExample* example project. The example used a custom DataItemRenderer class, but it was an ActionScript implementation. When I tried to create MXML file extending same DataItemRenderer class, when used to DataGrid component, I couldn't even able to build but thrown by compiler error: *1551: Internal error in ABC generator subsystem, when generating code for: E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: java.lang.NullPointerException* I'm attaching herewith the full error details for your review: {panel} Description ResourcePathLocationType 1551: Internal error in ABC generator subsystem, when generating code for: E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: java.lang.NullPointerException at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) at org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) at org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) at org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) at
[jira] [Created] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
Santanu Karar created FLEX-35190: Summary: [FlexJS] DataItemRenderer breaks if extends as MXML file Key: FLEX-35190 URL: https://issues.apache.org/jira/browse/FLEX-35190 Project: Apache Flex Issue Type: Bug Affects Versions: Apache FlexJS 0.8.0 Reporter: Santanu Karar I took a nightly build of Apache FlexJS and tried by it's supplied *DataGridExample* example project. The example used a custom DataItemRenderer class, but it was an ActionScript implementation. When I tried to create MXML file extending same DataItemRenderer class, when used to DataGrid component, I couldn't even able to build but thrown by compiler error: *1551: Internal error in ABC generator subsystem, when generating code for: E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: java.lang.NullPointerException* I'm attaching herewith the full error details for your review: {panel} Description ResourcePathLocationType 1551: Internal error in ABC generator subsystem, when generating code for: E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: java.lang.NullPointerException at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) at org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) at org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) at org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) at org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) at org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) at
[jira] [Comment Edited] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15724866#comment-15724866 ] Santanu Karar edited comment on FLEX-35190 at 12/6/16 9:59 AM: --- Hello Alex, I've updated the patch file, sorry for the trouble. Yes, after adding that default property metadata, I did build it's 'swc' and tested locally. This worked fine after that addition. I noticed I thrown by the said error when my MXML implementation was almost empty even: {code} http://ns.adobe.com/mxml/2009; xmlns:js="library://ns.apache.org/flexjs/basic"> {code} I'm not sure about what binding expression problem you've noticed, though. was (Author: santanu4ver): Hello Alex, I've updated the patch file, sorry for the trouble. Yes, after adding that default property metadata, I did build it's 'swc' and tested locally. This worked fine after that addition. I noticed I thrown by the said error when my MXML implementation was almost empty event: {code} http://ns.adobe.com/mxml/2009; xmlns:js="library://ns.apache.org/flexjs/basic"> {code} I'm not sure about what binding expression problem you've noticed, though. > [FlexJS] DataItemRenderer breaks if extends as MXML file > > > Key: FLEX-35190 > URL: https://issues.apache.org/jira/browse/FLEX-35190 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: devsena.patch > > > I took a nightly build of Apache FlexJS and tried by it's supplied > *DataGridExample* example project. The example used a custom DataItemRenderer > class, but it was an ActionScript implementation. > When I tried to create MXML file extending same DataItemRenderer class, when > used to DataGrid component, I couldn't even able to build but thrown by > compiler error: > *1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException* > I'm attaching herewith the full error details for your review: > {panel} > Description ResourcePathLocationType > 1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) > at > org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) > at >
[jira] [Updated] (FLEX-35190) [FlexJS] DataItemRenderer breaks if extends as MXML file
[ https://issues.apache.org/jira/browse/FLEX-35190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Santanu Karar updated FLEX-35190: - Attachment: devsena.patch > [FlexJS] DataItemRenderer breaks if extends as MXML file > > > Key: FLEX-35190 > URL: https://issues.apache.org/jira/browse/FLEX-35190 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Santanu Karar > Attachments: devsena.patch > > > I took a nightly build of Apache FlexJS and tried by it's supplied > *DataGridExample* example project. The example used a custom DataItemRenderer > class, but it was an ActionScript implementation. > When I tried to create MXML file extending same DataItemRenderer class, when > used to DataGrid component, I couldn't even able to build but thrown by > compiler error: > *1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException* > I'm attaching herewith the full error details for your review: > {panel} > Description ResourcePathLocationType > 1551: Internal error in ABC generator subsystem, when generating code for: > E:\apache-flex-flexjs-0.8.0-bin\examples\flexjs\DataGridExample\src\products\ProductItemRendererMXML.mxml: > java.lang.NullPointerException > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.analyzeExpression(BindingInfo.java:488) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.finishInit(BindingInfo.java:171) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingInfo.(BindingInfo.java:115) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingAnalyzer.analyze(BindingAnalyzer.java:56) > at > org.apache.flex.compiler.internal.codegen.databinding.BindingDatabase.analyze(BindingDatabase.java:122) > at > org.apache.flex.compiler.internal.codegen.databinding.MXMLBindingDirectiveHelper.visitNode(MXMLBindingDirectiveHelper.java:116) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLDataBinding(MXMLClassDirectiveProcessor.java:4797) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3696) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLArray(MXMLClassDirectiveProcessor.java:3088) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:926) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLPropertySpecifier(MXMLClassDirectiveProcessor.java:3605) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:962) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:831) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processMXMLInstance(MXMLClassDirectiveProcessor.java:3349) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.processNode(MXMLClassDirectiveProcessor.java:939) > at > org.apache.flex.compiler.internal.as.codegen.MXMLClassDirectiveProcessor.traverse(MXMLClassDirectiveProcessor.java:861) > at >