Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Apache FlexJS 0.8.0
-
None
Description
Simple test case:
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:js="library://ns.apache.org/flexjs/basic"
applicationComplete="onApplicationComplete()">
<fx:Script>
<![CDATA[
import vo.TestVO;
[Bindable] public var testVOPublic:TestVO; // Works
[Bindable] private var testVOPrivate:TestVO; // Doesn't work
private function onApplicationComplete():void
{ this.testVOPrivate = new TestVO("Private TestVO"); this.testVOPublic = new TestVO("Public TestVO"); } ]]>
</fx:Script>
<js:valuesImpl>
<js:SimpleCSSValuesImpl />
</js:valuesImpl>
<js:beads>
<js:ApplicationDataBinding />
</js:beads>
<js:initialView>
<js:View>
<js:beads>
<js:VerticalLayout />
</js:beads>
<js:Label text="
" />
<js:Label text="
" />
</js:View>>
</js:initialView>
</js:Application>
TestVO.as:
[Bindable]
public class TestVO
{
public function TestVO(item)
public var item:String;
}