[jira] [Updated] (FLEX-35213) Assigned multi line CDATA section to InnerHtml bead causes exception
[ https://issues.apache.org/jira/browse/FLEX-35213?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Zarzycki updated FLEX-35213: -- Attachment: multi_line.png > Assigned multi line CDATA section to InnerHtml bead causes exception > > > Key: FLEX-35213 > URL: https://issues.apache.org/jira/browse/FLEX-35213 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.8.0, Apache FalconJX 0.8.0 >Reporter: Piotr Zarzycki > Attachments: multi_line.png > > > Assigned multi line CDATA to InnerHtml causes exception in compiled version > of application. > In MDL example application following code: > {code:xml} > > > > > > > > {code} > Causes an exception: > {code} > Cards.js:253 Uncaught SyntaxError: Invalid or unexpected token > MainNavigation.js:613 Uncaught ReferenceError: Cards is not defined > at MainNavigation.get (MainNavigation.js:613) > at MainNavigation.org.apache.flex.core.ContainerBase.addedToParent > (ContainerBase.js:173) > at App.org.apache.flex.core.Application.addElement (Application.js:155) > at App.org.apache.flex.core.Application.initialize (Application.js:69) > at App.org.apache.flex.core.Application.start (Application.js:279) > at index.html:227 > {code} > In the attached screenshot I see that after compile CDATA section couple of > "/n" has been added. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35213) Assigned multi line CDATA section to InnerHtml bead causes exception
Piotr Zarzycki created FLEX-35213: - Summary: Assigned multi line CDATA section to InnerHtml bead causes exception Key: FLEX-35213 URL: https://issues.apache.org/jira/browse/FLEX-35213 Project: Apache Flex Issue Type: Bug Components: FlexJS Affects Versions: Apache FlexJS 0.8.0, Apache FalconJX 0.8.0 Reporter: Piotr Zarzycki Assigned multi line CDATA to InnerHtml causes exception in compiled version of application. In MDL example application following code: {code:xml} {code} Causes an exception: {code} Cards.js:253 Uncaught SyntaxError: Invalid or unexpected token MainNavigation.js:613 Uncaught ReferenceError: Cards is not defined at MainNavigation.get (MainNavigation.js:613) at MainNavigation.org.apache.flex.core.ContainerBase.addedToParent (ContainerBase.js:173) at App.org.apache.flex.core.Application.addElement (Application.js:155) at App.org.apache.flex.core.Application.initialize (Application.js:69) at App.org.apache.flex.core.Application.start (Application.js:279) at index.html:227 {code} In the attached screenshot I see that after compile CDATA section couple of "/n" has been added. -- 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] [Resolved] (FLEX-35210) FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as of 09 DEC
[ https://issues.apache.org/jira/browse/FLEX-35210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alex Harui resolved FLEX-35210. --- Resolution: Cannot Reproduce I just built it and it started up without errors. How are you building it? Is the compiler up-to-date? > FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as > of 09 DEC > -- > > Key: FLEX-35210 > URL: https://issues.apache.org/jira/browse/FLEX-35210 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FlexJS 0.8.0 > > > I had check out last code freshly at 09 DEC, the SDK build fine and it work > for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could > not start, they failed with javascript error on starting: > EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of > undefined > I believe FlexJSStore was mostly working in earlier 0.8 code, it can start, > do basic operations but it crush if I click controls faster. I can't > reproduce crushing on mouse clicking now since it can't start > FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but > it crush if I click controls faster and the JQuery buttons had some strange > UI interaction behaviors: for example button can get larger when I move mouse > around. I can't reproduce the problems now since it can't start > If they can start I will retest and include more test results of FlexJSStore > and FelxJSStore_JQuery problems (when they could start) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FLEX-35200) Array.removeAt() is broken in javascript mode in 0.8 dev
[ https://issues.apache.org/jira/browse/FLEX-35200?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li closed FLEX-35200. - > Array.removeAt() is broken in javascript mode in 0.8 dev > > > Key: FLEX-35200 > URL: https://issues.apache.org/jira/browse/FLEX-35200 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FlexJS 0.8.0 > > > this function doesn't work in 0.8 dev. > {code} > > > > {code} > the code is built to > {code} > testlang07dec06.prototype.foo = function() { > var /** @type {Array} */ a = new Array("a", "b", "c"); > a.removeAt(2); > }; > {code} > but in earlier FlexJS sdk, it was built to > a.splice(2,1); -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FLEX-35199) Array.removeAt() is broken in javascript mode in 0.8 dev
[ https://issues.apache.org/jira/browse/FLEX-35199?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li closed FLEX-35199. - > Array.removeAt() is broken in javascript mode in 0.8 dev > > > Key: FLEX-35199 > URL: https://issues.apache.org/jira/browse/FLEX-35199 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FalconJX 0.8.0 > > > this function doesn't work in 0.8 dev. > {code} > > > > {code} > the code is built to > {code} > testlang07dec06.prototype.foo = function() { > var /** @type {Array} */ a = new Array("a", "b", "c"); > a.removeAt(2); > }; > {code} > but in earlier FlexJS sdk, it was built to > a.splice(2,1); -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (FLEX-35206) Javascript isn't produced correctly when beads are not the first element of View
[ https://issues.apache.org/jira/browse/FLEX-35206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li closed FLEX-35206. - > Javascript isn't produced correctly when beads are not the first element of > View > > > Key: FLEX-35206 > URL: https://issues.apache.org/jira/browse/FLEX-35206 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.7.0, Apache FlexJS 0.8.0 >Reporter: Pan Li >Assignee: Alex Harui >Priority: Minor > Fix For: Apache FalconJX 0.8.0 > > > {code} > > > > > > > > > {code} > Above code doesn't report error when building to html/javascript, but when > running it doesn't show the label control. > In awf mode it runs without problem. > There could be other unexpected behavior when bead is not the top element and > the UI has more elements or files: > Sometimes it build but when running it stop in javascript error. Sometimes it > builds but after the normal building process the SDK reports "javascript" > building error. I could not reproduce them with simple sample for now -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (FLEX-35171) CSS color RGB not set in component
[ https://issues.apache.org/jira/browse/FLEX-35171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15740236#comment-15740236 ] Carlos Rovira commented on FLEX-35171: -- Hi Alex, this case gives error: .demo-card-event > .mdl-card__title > h4 { margin-top: 0; } outputs [INFO] Executing MXMLC in tool group FlexJS with args: [-load-config=/Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/target/compile-app-javascript-config.xml, -compiler.exclude-defaults-css-files=HTML-0.8.0-SNAPSHOT.swc:defaults.css, /Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml] /Users/carlosrovira/Dev/Flex/source/flexjs/flex-asjs/examples/flexjs/MDLExample/src/main/flex/App.mxml(118): col: 38 'h4' is not defined. [INFO] [INFO] BUILD FAILURE [INFO] > CSS color RGB not set in component > -- > > Key: FLEX-35171 > URL: https://issues.apache.org/jira/browse/FLEX-35171 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.8.0 > Environment: Mac OS X Sierra >Reporter: Carlos Rovira >Assignee: Alex Harui > Fix For: Apache FalconJX 0.8.0 > > > I want to set a color:#fff > If I put in a css class external selector, this is not applied (but rest of > rules works ok). > If I put in inline style, this is working ok. > If you want to see the code is in MDLExample, App.mxml line 117: > .<-- I need to > set the color here to get text inside this component white, if not it gets > black > The css style is mdl-styles.css > .cardTitle > { > color: #fff; <--- this rule is not working > height: 176px; > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (FLEX-35171) CSS color RGB not set in component
[ https://issues.apache.org/jira/browse/FLEX-35171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carlos Rovira reopened FLEX-35171: -- I put a comment for the reason > CSS color RGB not set in component > -- > > Key: FLEX-35171 > URL: https://issues.apache.org/jira/browse/FLEX-35171 > Project: Apache Flex > Issue Type: Bug > Components: FlexJS >Affects Versions: Apache FlexJS 0.8.0 > Environment: Mac OS X Sierra >Reporter: Carlos Rovira >Assignee: Alex Harui > Fix For: Apache FalconJX 0.8.0 > > > I want to set a color:#fff > If I put in a css class external selector, this is not applied (but rest of > rules works ok). > If I put in inline style, this is working ok. > If you want to see the code is in MDLExample, App.mxml line 117: > .<-- I need to > set the color here to get text inside this component white, if not it gets > black > The css style is mdl-styles.css > .cardTitle > { > color: #fff; <--- this rule is not working > height: 176px; > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35210) FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as of 09 DEC
[ https://issues.apache.org/jira/browse/FLEX-35210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li updated FLEX-35210: -- Description: I had check out last code freshly at 09 DEC, the SDK build fine and it work for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could not start, they failed with javascript error on starting: EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of undefined I believe FlexJSStore was mostly working in earlier 0.8 code, it can start, do basic operations but it crush if I click controls faster. I can't reproduce crushing on mouse clicking now since it can't start FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but it crush if I click controls faster and the JQuery buttons had some strange UI interaction behaviors: for example button can get larger when I move mouse around. I can't reproduce the problems now since it can't start If they can start I will retest and include more test results of FlexJSStore and FelxJSStore_JQuery problems (when they could start) was: I had check out last code freshly at 09 DEC, the SDK build fine and it work for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could not start, they failed with javascript error on starting: EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of undefined I believe FlexJSStore was mostly working in earlier 0.8 code, it can start can do basic operations but it can crush if I click controls faster. I can't reproduce crushing on mouse clicking now since it can't start FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but it can crush if I click controls faster and the JQuery buttons had some strange UI interaction behaviors: for example button can get larger when I move mouse around. I can't reproduce the problems now since it can't start > FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as > of 09 DEC > -- > > Key: FLEX-35210 > URL: https://issues.apache.org/jira/browse/FLEX-35210 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FlexJS 0.8.0 > > > I had check out last code freshly at 09 DEC, the SDK build fine and it work > for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could > not start, they failed with javascript error on starting: > EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of > undefined > I believe FlexJSStore was mostly working in earlier 0.8 code, it can start, > do basic operations but it crush if I click controls faster. I can't > reproduce crushing on mouse clicking now since it can't start > FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but > it crush if I click controls faster and the JQuery buttons had some strange > UI interaction behaviors: for example button can get larger when I move mouse > around. I can't reproduce the problems now since it can't start > If they can start I will retest and include more test results of FlexJSStore > and FelxJSStore_JQuery problems (when they could start) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35210) FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as of 09 DEC
[ https://issues.apache.org/jira/browse/FLEX-35210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li updated FLEX-35210: -- Description: I had check out last code freshly at 09 DEC, the SDK build fine and it work for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could not start, they failed with javascript error on starting: EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of undefined I believe FlexJSStore was mostly working in earlier 0.8 code, it can start can do basic operations but it can crush if I click controls faster. I can't reproduce crushing on mouse clicking now since it can't start FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but it can crush if I click controls faster and the JQuery buttons had some strange UI interaction behaviors: for example button can get larger when I move mouse around. I can't reproduce the problems now since it can't start was: I had check out last code freshly at 09 DEC, the SDK build fine and it work for simple FlexJS application, but FlexJSStore could not start, it failed with javascript error on starting: EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of undefined I believe FlexJSStore was mostly working in earlier 0.8 code, it can start can do basic operations but it can crush if I click controls faster. I can't reproduce crushing on mouse clicking now since it can't start > FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as > of 09 DEC > -- > > Key: FLEX-35210 > URL: https://issues.apache.org/jira/browse/FLEX-35210 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FlexJS 0.8.0 > > > I had check out last code freshly at 09 DEC, the SDK build fine and it work > for simple FlexJS application, but FlexJSStore and FlexJSStore_JQuery could > not start, they failed with javascript error on starting: > EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of > undefined > I believe FlexJSStore was mostly working in earlier 0.8 code, it can start > can do basic operations but it can crush if I click controls faster. I can't > reproduce crushing on mouse clicking now since it can't start > FlexJSStore_JQuery was mostly working in earlier 0.8 code, it can start but > it can crush if I click controls faster and the JQuery buttons had some > strange UI interaction behaviors: for example button can get larger when I > move mouse around. I can't reproduce the problems now since it can't start -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (FLEX-35210) FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as of 09 DEC
[ https://issues.apache.org/jira/browse/FLEX-35210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Pan Li updated FLEX-35210: -- Summary: FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as of 09 DEC (was: FlexJSStore fails with javascript error on starting as of 09 DEC) > FlexJSStore and FlexJSStore_JQuery fail with javascript error on starting as > of 09 DEC > -- > > Key: FLEX-35210 > URL: https://issues.apache.org/jira/browse/FLEX-35210 > Project: Apache Flex > Issue Type: Bug >Affects Versions: Apache FlexJS 0.8.0 >Reporter: Pan Li >Priority: Blocker > Fix For: Apache FlexJS 0.8.0 > > > I had check out last code freshly at 09 DEC, the SDK build fine and it work > for simple FlexJS application, but FlexJSStore could not start, it failed > with javascript error on starting: > EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of > undefined > I believe FlexJSStore was mostly working in earlier 0.8 code, it can start > can do basic operations but it can crush if I click controls faster. I can't > reproduce crushing on mouse clicking now since it can't start -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (FLEX-35210) FlexJSStore fails with javascript error on starting as of 09 DEC
Pan Li created FLEX-35210: - Summary: FlexJSStore fails with javascript error on starting as of 09 DEC Key: FLEX-35210 URL: https://issues.apache.org/jira/browse/FLEX-35210 Project: Apache Flex Issue Type: Bug Affects Versions: Apache FlexJS 0.8.0 Reporter: Pan Li Priority: Blocker Fix For: Apache FlexJS 0.8.0 I had check out last code freshly at 09 DEC, the SDK build fine and it work for simple FlexJS application, but FlexJSStore could not start, it failed with javascript error on starting: EventDispatcher.js:70 Uncaught TypeError: Cannot read property 'price' of undefined I believe FlexJSStore was mostly working in earlier 0.8 code, it can start can do basic operations but it can crush if I click controls faster. I can't reproduce crushing on mouse clicking now since it can't start -- This message was sent by Atlassian JIRA (v6.3.4#6332)