flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piotr Zarzycki (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-35256) [FlexJS] MDL - Bracketed binding is broken to various components
Date Mon, 13 Feb 2017 20:31:41 GMT

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

Piotr Zarzycki resolved FLEX-35256.
    Resolution: Fixed


I just add new version of you project example. I think I've provided all fixes for your cases.
Take look into InitialView and vos - You don't have to extend EventDispatcher in case of vos.

Currently we have problem with build for installer, so in order to test it you have to have
build project by maven and provided pom in mane folder.
Once installer build will be fixed you will be able download nevest version of sdk with my
fixes. You can observe build here -> http://apacheflexbuild.cloudapp.net:8080/job/flex-asjs/

> [FlexJS] MDL - Bracketed binding is broken to various components
> ----------------------------------------------------------------
>                 Key: FLEX-35256
>                 URL: https://issues.apache.org/jira/browse/FLEX-35256
>             Project: Apache Flex
>          Issue Type: Bug
>    Affects Versions: Apache FlexJS 0.8.0
>            Reporter: Devsena
>            Assignee: Piotr Zarzycki
>             Fix For: Apache FlexJS 0.8.0
>         Attachments: NonWorkingBindingInMDL_New.zip, NonWorkingBindingInMDL.zip
> Bracketed binding is broken to many a components in FlexJS MDL implementation. Lately
this bracketed binding mostly fixed now to FlexJS regular components. The kind of approach/output
also expects from the MDL components as well.
> I'm attaching herewith a project, running which almost shows nothing but some bounding
boxes (components) without texts; Since they will all fail to render data/values in a bracketed
binding way. Here's some details what components were taken to this example and what they
were suppose to do. Although, not to making longer the demo example I tried to show by a few
components only. But this problem may applies to almost all the components to MDL.
> *Table binding*
> Suppose to render a demo _Table_ component. It _dataProvider_ declared in following way
instead of using any _SimpleBinding_ or _ConstantBinding_ tags. Not works.
> {code}
> dataProvider="{tableModel.materials}"
> {code}
> *List binding*
> A simple List component tried to bind it's _dataProvider_ to an array declared in same
page. Not works.
> *Button text binding*
> MDL Button that tried to bind it's _text_ property to a locally declared String field.
Not works.
> *Button 2 text binding*
> MDL button that tries to bind it's _text_ property that declared in another class. Not
> {code}
> text="{classA.subFieldClassA}"
> {code}
> The above button click also sets/changes value in another class' field, which binds to
next component.
> *TextField binding*
> TextField _text_ that binds to an external class' String field; The value suppose to
change when previous button clicked. Not works.
> *InnerHTML binding*
> InnerHTML components _text_ field also not works when supplied it's value in a bracketed
binding way.
> *H4 binding*
> Local String field binding even not works.
> *Tabs binding*
> If I use Tab component and if try to feed it's _dataProvider_ in bracketed way, that
breaks my application in HTML run throwing following error. So I choose not to include that
component here, but this also requires a fix.
> {panel}
> Uncaught TypeError: Cannot read property 'flexjs_wrapper' of undefined
> {panel}
> Thank you!

This message was sent by Atlassian JIRA

View raw message