flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Devsena (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-35256) [FlexJS] MDL - Bracketed binding is broken to various components
Date Wed, 08 Feb 2017 06:57:41 GMT

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

Devsena commented on FLEX-35256:

Hi Priotr,

I tested by adding {{<mdl:beads><js:ContainerDataBinding/></mdl:beads>}}.
That do resolve problem to some of the MDL components' bindings. But still there are components
which do not listens by bracketed binding irrespective of the new binding tag added to the
page. Maybe, they needs some extra work/stuff to make them work with the said binding as well,
if you please advise.

Components' binding those are not yet working after adding <js:ContainerDataBinding/>
at page level are:
# Table
# InnerHTML


> [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.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