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 2017/10/24 10:54:15 UTC
[GitHub] justinmclean opened a new issue #47: ViewDataBinding fails to bind to string
justinmclean opened a new issue #47: ViewDataBinding fails to bind to string
URL: https://github.com/apache/royale-asjs/issues/47
This code fails to display "Hello World" as expected.
```
<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/royale/basic">
<js:valuesImpl>
<js:SimpleCSSValuesImpl/>
</js:valuesImpl>
<fx:Script><![CDATA[
[Bindable] public var str:String = "Hello World";
]]></fx:Script>
<js:initialView>
<js:View percentWidth="100" percentHeight="100">
<js:beads>
<js:ViewDataBinding />
</js:beads>
<js:Label text="{str}" />
</js:View>
</js:initialView>
</js:Application>
```
----------------------------------------------------------------
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