You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/05/08 13:44:24 UTC

[GitHub] carlosrovira opened a new issue #225: ViewDataBinding is not working for TextInput.text

carlosrovira opened a new issue #225: ViewDataBinding is not working for TextInput.text
URL: https://github.com/apache/royale-asjs/issues/225
 
 
   Hi, 
   
   this happens both in Jewel and Basic.
   In this example : https://github.com/apache/royale-asjs/tree/develop/examples/blog/BE0006_Using_Jewel_TextInput_Control
   
   I had to use
   
   ```
   <j:beads>
   		<js:ApplicationDataBinding />
   	</j:beads>
   ```
   
   to make data binding work
   
   but I tried first
   
   ```
   <j:View>
               <j:beads>
                   <j:VerticalLayoutWithPaddingAndGap gap="10"/>
                   <js:ViewDataBinding />
               </j:beads>
   ```
   
   But ViewDataBinding doesn't work in this case (seems to work in other cases)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Re: [GitHub] carlosrovira opened a new issue #225: ViewDataBinding is not working for TextInput.text

Posted by Carlos Rovira <ca...@apache.org>.
Hi Alex,

Piotr, take a look at this and saw that using ApplicationDataBinding works
but not with ViewDataBinding.
I think you and Piotr knows all about DataBinding so maybe you could take a
look at this. I don't want to share a blog example that uses a workaround
to make things work. Could you take a look?. The example is ready in git to
download and build so would be easy for you to look at.

thanks

2018-05-08 15:44 GMT+02:00 GitBox <gi...@apache.org>:

> carlosrovira opened a new issue #225: ViewDataBinding is not working for
> TextInput.text
> URL: https://github.com/apache/royale-asjs/issues/225
>
>
>    Hi,
>
>    this happens both in Jewel and Basic.
>    In this example : https://github.com/apache/royale-asjs/tree/develop/
> examples/blog/BE0006_Using_Jewel_TextInput_Control
>
>    I had to use
>
>    ```
>    <j:beads>
>                 <js:ApplicationDataBinding />
>         </j:beads>
>    ```
>
>    to make data binding work
>
>    but I tried first
>
>    ```
>    <j:View>
>                <j:beads>
>                    <j:VerticalLayoutWithPaddingAndGap gap="10"/>
>                    <js:ViewDataBinding />
>                </j:beads>
>    ```
>
>    But ViewDataBinding doesn't work in this case (seems to work in other
> cases)
>
> ----------------------------------------------------------------
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on GitHub and use the
> URL above to go to the specific comment.
>
> For queries about this service, please contact Infrastructure at:
> users@infra.apache.org
>
>
> With regards,
> Apache Git Services
>



-- 
Carlos Rovira
http://about.me/carlosrovira