You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/04/16 16:34:12 UTC
[2/9] git commit: [flex-asjs] [refs/heads/develop] - change 'basic'
prefix to 'js'
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FlexJSTest_createjs/src/CreateJSExample.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_createjs/src/CreateJSExample.mxml b/examples/FlexJSTest_createjs/src/CreateJSExample.mxml
index 9f4bbf6..d5324a1 100644
--- a/examples/FlexJSTest_createjs/src/CreateJSExample.mxml
+++ b/examples/FlexJSTest_createjs/src/CreateJSExample.mxml
@@ -20,7 +20,7 @@
-->
<createjs:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:createjs="library://ns.apache.org/flexjs/createjs"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
@@ -43,7 +43,7 @@
-->
<createjs:valuesImpl>
- <basic:SimpleCSSValuesImpl />
+ <js:SimpleCSSValuesImpl />
</createjs:valuesImpl>
<createjs:initialView>
<local:MyInitialView />
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FlexJSTest_createjs/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_createjs/src/MyInitialView.mxml b/examples/FlexJSTest_createjs/src/MyInitialView.mxml
index d972b99..6baacc0 100644
--- a/examples/FlexJSTest_createjs/src/MyInitialView.mxml
+++ b/examples/FlexJSTest_createjs/src/MyInitialView.mxml
@@ -18,7 +18,7 @@ limitations under the License.
-->
<createjs:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:createjs="library://ns.apache.org/flexjs/createjs"
>
<fx:Script>
@@ -45,7 +45,7 @@ limitations under the License.
<createjs:Label id="lbl2" x="350" y="100">
<createjs:beads>
- <basic:SimpleBinding eventName="labelTextChanged"
+ <js:SimpleBinding eventName="labelTextChanged"
sourceID="applicationModel"
sourcePropertyName="labelText"
destinationPropertyName="text" />
@@ -55,4 +55,4 @@ limitations under the License.
<createjs:CheckBox id="check1" x="10" y="10" text="Check Me" selected="true"/>
-</createjs:ViewBase>
\ No newline at end of file
+</createjs:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FlexJSTest_jquery/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_jquery/src/MyInitialView.mxml b/examples/FlexJSTest_jquery/src/MyInitialView.mxml
index 40b533c..6059cdf 100644
--- a/examples/FlexJSTest_jquery/src/MyInitialView.mxml
+++ b/examples/FlexJSTest_jquery/src/MyInitialView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:jquery="library://ns.apache.org/flexjs/jquery"
>
<fx:Script>
@@ -83,36 +83,36 @@ limitations under the License.
}
</fx:Style>
- <basic:Label id="lbl" x="100" y="25" >
- <basic:beads>
- <basic:SimpleBinding eventName="labelTextChanged"
+ <js:Label id="lbl" x="100" y="25" >
+ <js:beads>
+ <js:SimpleBinding eventName="labelTextChanged"
sourceID="applicationModel"
sourcePropertyName="labelText"
destinationPropertyName="text" />
- </basic:beads>
- </basic:Label>
+ </js:beads>
+ </js:Label>
<jquery:TextButton text="Start Timer" x="100" y="75" click="startTimer()" />
<jquery:TextButton text="Stop Timer" x="100" y="100" click="timer.removeEventListener('timer', timerHandler);timer.stop()" />
- <basic:Label id="timerLabel" x="100" y="125" />
+ <js:Label id="timerLabel" x="100" y="125" />
- <basic:List id="cityList" x="200" y="75" width="100" height="75" change="dispatchEvent(new CustomEvent('cityListChanged'))">
- <basic:beads>
- <basic:ConstantBinding
+ <js:List id="cityList" x="200" y="75" width="100" height="75" change="dispatchEvent(new CustomEvent('cityListChanged'))">
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="cities"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:List>
+ </js:beads>
+ </js:List>
- <basic:TextArea x="320" y="25" width="150" height="75">
- <basic:beads>
- <basic:SimpleBinding eventName="labelTextChanged"
+ <js:TextArea x="320" y="25" width="150" height="75">
+ <js:beads>
+ <js:SimpleBinding eventName="labelTextChanged"
sourceID="applicationModel"
sourcePropertyName="labelText"
destinationPropertyName="text" />
- </basic:beads>
- </basic:TextArea>
- <basic:TextInput id="input" x="320" y="110" />
+ </js:beads>
+ </js:TextArea>
+ <js:TextInput id="input" x="320" y="110" />
<jquery:TextButton text="Transfer" x="320" y="138" click="dispatchEvent(new CustomEvent('transferClicked'))" />
<jquery:CheckBox id="checkbox" x="320" y="170" text="Check Me" />
@@ -125,24 +125,24 @@ limitations under the License.
<jquery:RadioButton groupName="group2" text="Green" value="green" x="200" y="320" />
<jquery:RadioButton groupName="group2" text="Blue" value="blue" x="300" y="320" />
- <basic:DropDownList id="list" x="200" y="200" width="100" height="18" change="dispatchEvent(new CustomEvent('listChanged'))">
- <basic:beads>
- <basic:ConstantBinding
+ <js:DropDownList id="list" x="200" y="200" width="100" height="18" change="dispatchEvent(new CustomEvent('listChanged'))">
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="strings"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:DropDownList>
+ </js:beads>
+ </js:DropDownList>
<jquery:TextButton text="OK" x="200" y="230" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
<jquery:TextButton text="Skinned" x="200" y="260" width="80" height="24" className="skinned" click="dispatchEvent(new CustomEvent('buttonClicked'))" />
- <basic:ComboBox id="comboBox" x="320" y="200" width="100" change="dispatchEvent(new CustomEvent('comboBoxChanged'))">
- <basic:beads>
- <basic:ConstantBinding
+ <js:ComboBox id="comboBox" x="320" y="200" width="100" change="dispatchEvent(new CustomEvent('comboBoxChanged'))">
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="cities"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:ComboBox>
+ </js:beads>
+ </js:ComboBox>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FlexJSTest_jquery/src/jQuerySample.mxml
----------------------------------------------------------------------
diff --git a/examples/FlexJSTest_jquery/src/jQuerySample.mxml b/examples/FlexJSTest_jquery/src/jQuerySample.mxml
index 87718ec..e5e18fc 100644
--- a/examples/FlexJSTest_jquery/src/jQuerySample.mxml
+++ b/examples/FlexJSTest_jquery/src/jQuerySample.mxml
@@ -20,7 +20,7 @@
-->
<jquery:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:jquery="library://ns.apache.org/flexjs/jquery"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
@@ -37,7 +37,7 @@
<jquery:valuesImpl>
- <basic:SimpleCSSValuesImpl />
+ <js:SimpleCSSValuesImpl />
</jquery:valuesImpl>
<jquery:initialView>
<local:MyInitialView />
@@ -49,16 +49,16 @@
<controllers:MyController />
</jquery:controller>
<jquery:beads>
- <basic:HTTPService id="service">
- <basic:LazyCollection id="collection">
- <basic:inputParser>
- <basic:JSONInputParser />
- </basic:inputParser>
- <basic:itemConverter>
+ <js:HTTPService id="service">
+ <js:LazyCollection id="collection">
+ <js:inputParser>
+ <js:JSONInputParser />
+ </js:inputParser>
+ <js:itemConverter>
<local:StockDataJSONItemConverter />
- </basic:itemConverter>
- </basic:LazyCollection>
- </basic:HTTPService>
+ </js:itemConverter>
+ </js:LazyCollection>
+ </js:HTTPService>
</jquery:beads>
-</jquery:Application>
\ No newline at end of file
+</jquery:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FormExample/src/FormExample.mxml
----------------------------------------------------------------------
diff --git a/examples/FormExample/src/FormExample.mxml b/examples/FormExample/src/FormExample.mxml
index 0664147..4ea7b3b 100644
--- a/examples/FormExample/src/FormExample.mxml
+++ b/examples/FormExample/src/FormExample.mxml
@@ -18,16 +18,16 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyFormView />
- </basic:initialView>
-</basic:Application>
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FormExample/src/MyFormView.mxml
----------------------------------------------------------------------
diff --git a/examples/FormExample/src/MyFormView.mxml b/examples/FormExample/src/MyFormView.mxml
index 26c64dd..36ec16e 100644
--- a/examples/FormExample/src/MyFormView.mxml
+++ b/examples/FormExample/src/MyFormView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*"
xmlns:models="models.*"
xmlns:acc="org.apache.flex.html.accessories.*">
@@ -40,34 +40,34 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Container width="600" height="700" x="50" y="50">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:Container width="600" height="700" x="50" y="50">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Label text="Loan Form" className="title" />
+ <js:Label text="Loan Form" className="title" />
- <basic:Container width="500">
- <basic:beads>
- <basic:VerticalColumnLayout numColumns="2" />
- </basic:beads>
- <basic:Label text="Name:" />
- <basic:TextInput id="nameField" />
- <basic:Label text="Age:" />
- <basic:TextInput id="ageField">
- <basic:beads>
- <basic:NumericOnlyTextInputBead />
- </basic:beads>
- </basic:TextInput>
- <basic:Label text="Phone Number:" />
- <basic:TextInput id="phoneField" >
- </basic:TextInput>
- <basic:Label text="Date of Loan:" />
- <basic:DateField id="dateOfLoan"/>
- <basic:Label text="Loan Amount:" />
- <basic:TextInput id="loanAmount">
- </basic:TextInput>
- </basic:Container>
- </basic:Container>
+ <js:Container width="500">
+ <js:beads>
+ <js:VerticalColumnLayout numColumns="2" />
+ </js:beads>
+ <js:Label text="Name:" />
+ <js:TextInput id="nameField" />
+ <js:Label text="Age:" />
+ <js:TextInput id="ageField">
+ <js:beads>
+ <js:NumericOnlyTextInputBead />
+ </js:beads>
+ </js:TextInput>
+ <js:Label text="Phone Number:" />
+ <js:TextInput id="phoneField" >
+ </js:TextInput>
+ <js:Label text="Date of Loan:" />
+ <js:DateField id="dateOfLoan"/>
+ <js:Label text="Loan Amount:" />
+ <js:TextInput id="loanAmount">
+ </js:TextInput>
+ </js:Container>
+ </js:Container>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FormatExample/src/FormatExample.mxml
----------------------------------------------------------------------
diff --git a/examples/FormatExample/src/FormatExample.mxml b/examples/FormatExample/src/FormatExample.mxml
index 0664147..4ea7b3b 100644
--- a/examples/FormatExample/src/FormatExample.mxml
+++ b/examples/FormatExample/src/FormatExample.mxml
@@ -18,16 +18,16 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyFormView />
- </basic:initialView>
-</basic:Application>
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FormatExample/src/MyFormView.mxml
----------------------------------------------------------------------
diff --git a/examples/FormatExample/src/MyFormView.mxml b/examples/FormatExample/src/MyFormView.mxml
index 56d89d7..31272a7 100644
--- a/examples/FormatExample/src/MyFormView.mxml
+++ b/examples/FormatExample/src/MyFormView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*"
xmlns:models="models.*"
xmlns:acc="org.apache.flex.html.accessories.*">
@@ -58,76 +58,76 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Container width="600" height="700" x="50" y="50">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:Container width="600" height="700" x="50" y="50">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Label text="Loan Form" className="title" />
+ <js:Label text="Loan Form" className="title" />
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Your Name:" />
- <basic:TextInput id="nameField" />
- </basic:Container>
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Your Name:" />
+ <js:TextInput id="nameField" />
+ </js:Container>
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Your Age:" />
- <basic:TextInput id="ageField">
- <basic:beads>
- <basic:NumericOnlyTextInputBead />
- </basic:beads>
- </basic:TextInput>
- </basic:Container>
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Your Age:" />
+ <js:TextInput id="ageField">
+ <js:beads>
+ <js:NumericOnlyTextInputBead />
+ </js:beads>
+ </js:TextInput>
+ </js:Container>
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Phone Number:" />
- <basic:TextInput id="phoneField" >
- <basic:beads>
- <basic:TextPromptBead prompt="9995551235" />
- <basic:FormatableTextInputView />
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Phone Number:" />
+ <js:TextInput id="phoneField" >
+ <js:beads>
+ <js:TextPromptBead prompt="9995551235" />
+ <js:FormatableTextInputView />
<acc:PhoneNumberFormatter propertyName="text" />
- </basic:beads>
- </basic:TextInput>
- </basic:Container>
+ </js:beads>
+ </js:TextInput>
+ </js:Container>
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Date of Loan:" />
- <basic:DateField id="dateOfLoan"/>
- </basic:Container>
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Date of Loan:" />
+ <js:DateField id="dateOfLoan"/>
+ </js:Container>
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Loan Amount:" />
- <basic:TextInput id="loanAmount">
- <basic:beads>
- <basic:TextPromptBead prompt="US dollars" />
- <basic:FormatableTextInputView />
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Loan Amount:" />
+ <js:TextInput id="loanAmount">
+ <js:beads>
+ <js:TextPromptBead prompt="US dollars" />
+ <js:FormatableTextInputView />
<acc:NumberFormatter />
- </basic:beads>
- </basic:TextInput>
- </basic:Container>
+ </js:beads>
+ </js:TextInput>
+ </js:Container>
- <basic:Container width="500">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:TextButton text="Login" click="showLogin()" />
- </basic:Container>
+ <js:Container width="500">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:TextButton text="Login" click="showLogin()" />
+ </js:Container>
- </basic:Container>
+ </js:Container>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/FormatExample/src/dialogs/LoginDialog.mxml
----------------------------------------------------------------------
diff --git a/examples/FormatExample/src/dialogs/LoginDialog.mxml b/examples/FormatExample/src/dialogs/LoginDialog.mxml
index cb173d5..8d43c3a 100644
--- a/examples/FormatExample/src/dialogs/LoginDialog.mxml
+++ b/examples/FormatExample/src/dialogs/LoginDialog.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:Panel xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*"
className="LoginDialog"
width="280" height="90" title="Login">
@@ -39,32 +39,32 @@ limitations under the License.
]]>
</fx:Script>
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Container width="200">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="User Name:" />
- <basic:TextInput />
- </basic:Container>
+ <js:Container width="200">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="User Name:" />
+ <js:TextInput />
+ </js:Container>
- <basic:Container width="200">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Password:" />
- <basic:TextInput />
- </basic:Container>
+ <js:Container width="200">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Password:" />
+ <js:TextInput />
+ </js:Container>
- <basic:Container width="200">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:TextButton text="Login" click="cancelLogin()" />
- <basic:TextButton text="Cancel" click="cancelLogin()" />
- </basic:Container>
+ <js:Container width="200">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:TextButton text="Login" click="cancelLogin()" />
+ <js:TextButton text="Cancel" click="cancelLogin()" />
+ </js:Container>
-</basic:Panel>
\ No newline at end of file
+</js:Panel>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/ImageTest/src/ImageTest.mxml
----------------------------------------------------------------------
diff --git a/examples/ImageTest/src/ImageTest.mxml b/examples/ImageTest/src/ImageTest.mxml
index c77e690..2d5c972 100644
--- a/examples/ImageTest/src/ImageTest.mxml
+++ b/examples/ImageTest/src/ImageTest.mxml
@@ -18,16 +18,16 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
-</basic:Application>
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/ImageTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/ImageTest/src/MyInitialView.mxml b/examples/ImageTest/src/MyInitialView.mxml
index b182a67..63a5b8e 100644
--- a/examples/ImageTest/src/MyInitialView.mxml
+++ b/examples/ImageTest/src/MyInitialView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*">
<fx:Script>
<![CDATA[
@@ -30,16 +30,16 @@ limitations under the License.
</fx:Style>
- <basic:Container>
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:Container>
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Image width="48" height="48" source="smallbluerect.jpg" />
- <basic:Image width="183" height="178" source="largegreenrect.png" />
- <basic:Image width="48" height="48" source="smallorangerect.gif" />
- <basic:Image width="48" height="48" source="smallgreenrect.jpg" />
+ <js:Image width="48" height="48" source="smallbluerect.jpg" />
+ <js:Image width="183" height="178" source="largegreenrect.png" />
+ <js:Image width="48" height="48" source="smallorangerect.gif" />
+ <js:Image width="48" height="48" source="smallgreenrect.jpg" />
- </basic:Container>
+ </js:Container>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/ListsTest/src/FirstView.mxml
----------------------------------------------------------------------
diff --git a/examples/ListsTest/src/FirstView.mxml b/examples/ListsTest/src/FirstView.mxml
index 32e9d82..4bfc146 100644
--- a/examples/ListsTest/src/FirstView.mxml
+++ b/examples/ListsTest/src/FirstView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*">
<fx:Script>
<![CDATA[
@@ -49,15 +49,15 @@ limitations under the License.
</fx:Style>
- <basic:List id="productList" itemRenderer="products.ProductItemRenderer" x="20" y="20" width="200" height="150" change="handleListChange()">
- <basic:beads>
- <basic:ConstantBinding
+ <js:List id="productList" itemRenderer="products.ProductItemRenderer" x="20" y="20" width="200" height="150" change="handleListChange()">
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="products"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:List>
+ </js:beads>
+ </js:List>
- <basic:Label id="pickLabel" x="250" y="20" width="200" />
+ <js:Label id="pickLabel" x="250" y="20" width="200" />
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/ListsTest/src/ListsTests.mxml
----------------------------------------------------------------------
diff --git a/examples/ListsTest/src/ListsTests.mxml b/examples/ListsTest/src/ListsTests.mxml
index f2e236a..9904c05 100644
--- a/examples/ListsTest/src/ListsTests.mxml
+++ b/examples/ListsTest/src/ListsTests.mxml
@@ -18,19 +18,19 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:model>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:model>
<models:ProductsModel />
- </basic:model>
- <basic:initialView>
+ </js:model>
+ <js:initialView>
<local:FirstView />
- </basic:initialView>
-</basic:Application>
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MapSearch/src/MapSearch.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MapSearch.mxml b/examples/MapSearch/src/MapSearch.mxml
index 86b9f28..af06140 100644
--- a/examples/MapSearch/src/MapSearch.mxml
+++ b/examples/MapSearch/src/MapSearch.mxml
@@ -18,10 +18,10 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
<!-- This application demonstrates how to use the Google MAP API
@@ -30,17 +30,17 @@
file and include your Google developer API token.
-->
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
- <basic:model>
+ </js:initialView>
+ <js:model>
<models:MyModel />
- </basic:model>
- <basic:beads>
- <basic:MixinManager />
- </basic:beads>
+ </js:model>
+ <js:beads>
+ <js:MixinManager />
+ </js:beads>
-</basic:Application>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MapSearch/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MapSearch/src/MyInitialView.mxml b/examples/MapSearch/src/MyInitialView.mxml
index 8d2f35d..4bf35b3 100644
--- a/examples/MapSearch/src/MyInitialView.mxml
+++ b/examples/MapSearch/src/MyInitialView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:google="library://ns.apache.org/flexjs/google"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:local="*"
@@ -161,53 +161,53 @@ limitations under the License.
}
</fx:Style>
- <basic:beads>
- <basic:ViewBaseDataBinding />
- </basic:beads>
+ <js:beads>
+ <js:ViewBaseDataBinding />
+ </js:beads>
- <basic:Container x="5" y="5" className="topContainer" >
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:Container x="5" y="5" className="topContainer" >
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Container className="InnerBox">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label id="label1" text="Location:" className="FormLabel" />
- <basic:TextInput id="mapLocation" />
- <basic:TextButton text="Go" id="goButton" click="orientMap()" className="FormButton" />
+ <js:Container className="InnerBox">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label id="label1" text="Location:" className="FormLabel" />
+ <js:TextInput id="mapLocation" />
+ <js:TextButton text="Go" id="goButton" click="orientMap()" className="FormButton" />
- <basic:DropDownList id="list" width="100" height="20"
+ <js:DropDownList id="list" width="100" height="20"
change="changeCity(event)"
dataProvider="{MyModel(applicationModel).cities}" />
- </basic:Container>
+ </js:Container>
<google:Map id="map" width="450" height="300" className="MainMap"
token="AIzaSyDkQgg2iojLCYeuW6hK7DkuAHD-SwJJhdE"
ready="onMapReady()"/>
- <basic:Container className="InnerBox">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label id="label2" text="Search on Map:" className="FormLabel" />
- <basic:TextInput id="search" />
- <basic:TextButton text="Find" click="searchOnMap()" className="FormButton" />
- <basic:TextButton text="Clear"click="clearSearchResults()" className="FormButton" />
- </basic:Container>
+ <js:Container className="InnerBox">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label id="label2" text="Search on Map:" className="FormLabel" />
+ <js:TextInput id="search" />
+ <js:TextButton text="Find" click="searchOnMap()" className="FormButton" />
+ <js:TextButton text="Clear"click="clearSearchResults()" className="FormButton" />
+ </js:Container>
- <basic:List id="resultsList" width="450" height="200">
- <basic:beads>
- <basic:SimpleBinding
+ <js:List id="resultsList" width="450" height="200">
+ <js:beads>
+ <js:SimpleBinding
sourceID="applicationModel"
sourcePropertyName="searchResults"
eventName="searchResultsChanged"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:List>
+ </js:beads>
+ </js:List>
- </basic:Container>
+ </js:Container>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/MobileTrader.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/MobileTrader.mxml b/examples/MobileTrader/src/MobileTrader.mxml
index 7ef80ce..8def93c 100755
--- a/examples/MobileTrader/src/MobileTrader.mxml
+++ b/examples/MobileTrader/src/MobileTrader.mxml
@@ -18,22 +18,22 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
xmlns:models="models.*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:controller="controller.*"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
- <basic:model>
+ <js:model>
<models:ProductsModel />
- </basic:model>
+ </js:model>
- <basic:initialView>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
-</basic:Application>
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/MyInitialView.mxml b/examples/MobileTrader/src/MyInitialView.mxml
index 13191fa..67072cd 100755
--- a/examples/MobileTrader/src/MyInitialView.mxml
+++ b/examples/MobileTrader/src/MyInitialView.mxml
@@ -17,9 +17,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:views="views.*"
xmlns:apache="org.apache.flex.html.beads.*"
xmlns:html="org.apache.flex.html.*"
@@ -227,30 +227,30 @@ limitations under the License.
]]>
</fx:Script>
- <basic:TabbedViewManager id="navController" width="480" height="640" x="0" y="0" viewChanged="tabbedViewChanged(event)">
- <basic:navigationBarItems>
- <basic:TextButton id="backButton" width="45" height="45" className="BackButton" visible="false" click="goBack(event)">
- <basic:beads>
+ <js:TabbedViewManager id="navController" width="480" height="640" x="0" y="0" viewChanged="tabbedViewChanged(event)">
+ <js:navigationBarItems>
+ <js:TextButton id="backButton" width="45" height="45" className="BackButton" visible="false" click="goBack(event)">
+ <js:beads>
<apache:ImageButtonView />
- </basic:beads>
- </basic:TextButton>
- <basic:Image source="assets/logo.png" width="218" height="55" />
- </basic:navigationBarItems>
- <basic:views>
- <basic:StackedViewManager title="Assets">
- <basic:views>
+ </js:beads>
+ </js:TextButton>
+ <js:Image source="assets/logo.png" width="218" height="55" />
+ </js:navigationBarItems>
+ <js:views>
+ <js:StackedViewManager title="Assets">
+ <js:views>
<views:AssetsView id="assetsView" title="Assets" next="onAssetsNext()" />
- </basic:views>
- </basic:StackedViewManager>
+ </js:views>
+ </js:StackedViewManager>
- <basic:StackedViewManager id="watchListStack" title="Watch List" viewChanged="watchListStackChanged(event)">
- <basic:views>
+ <js:StackedViewManager id="watchListStack" title="Watch List" viewChanged="watchListStackChanged(event)">
+ <js:views>
<views:WatchListView id="watchListView"/>
- </basic:views>
- </basic:StackedViewManager>
+ </js:views>
+ </js:StackedViewManager>
<views:AlertsView id="alertsView" title="Alerts" />
- </basic:views>
- </basic:TabbedViewManager>
+ </js:views>
+ </js:TabbedViewManager>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/views/AlertsView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/AlertsView.mxml b/examples/MobileTrader/src/views/AlertsView.mxml
index 91b3c0e..ffb46c7 100755
--- a/examples/MobileTrader/src/views/AlertsView.mxml
+++ b/examples/MobileTrader/src/views/AlertsView.mxml
@@ -17,9 +17,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009"
title="Alerts"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*"
className="AlertsView" xmlns:renderers="renderers.*">
@@ -50,49 +50,49 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Container x="4" y="10" >
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Symbol:" />
- <basic:TextInput id="symbolField" />
- <basic:Label text="Value:" />
- <basic:TextInput id="valueField" />
- <basic:CheckBox text="Higher?" id="higherCheck" />
- <basic:TextButton text="Set" click="onAlertSet()" />
- </basic:Container>
+ <js:Container x="4" y="10" >
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Symbol:" />
+ <js:TextInput id="symbolField" />
+ <js:Label text="Value:" />
+ <js:TextInput id="valueField" />
+ <js:CheckBox text="Higher?" id="higherCheck" />
+ <js:TextButton text="Set" click="onAlertSet()" />
+ </js:Container>
- <basic:DataGrid x="0" y="40" width="480" height="200">
- <basic:beads>
- <basic:SimpleBinding
+ <js:DataGrid x="0" y="40" width="480" height="200">
+ <js:beads>
+ <js:SimpleBinding
eventName="alertAdded"
sourceID="dataModel"
sourcePropertyName="alerts"
destinationPropertyName="dataProvider" />
- </basic:beads>
- <basic:columns>
- <basic:DataGridColumn label="Symbol" dataField="symbol">
- <basic:itemRenderer>
+ </js:beads>
+ <js:columns>
+ <js:DataGridColumn label="Symbol" dataField="symbol">
+ <js:itemRenderer>
<fx:Component>
- <basic:StringItemRenderer />
+ <js:StringItemRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="Alert" dataField="greaterThan">
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="Alert" dataField="greaterThan">
+ <js:itemRenderer>
<fx:Component>
<renderers:AlertRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="Message" dataField="message">
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="Message" dataField="message">
+ <js:itemRenderer>
<fx:Component>
- <basic:StringItemRenderer />
+ <js:StringItemRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- </basic:columns>
- </basic:DataGrid>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ </js:columns>
+ </js:DataGrid>
-</basic:View>
\ No newline at end of file
+</js:View>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/views/AssetsView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/AssetsView.mxml b/examples/MobileTrader/src/views/AssetsView.mxml
index d63b6d1..114426e 100755
--- a/examples/MobileTrader/src/views/AssetsView.mxml
+++ b/examples/MobileTrader/src/views/AssetsView.mxml
@@ -17,9 +17,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009"
title="Assets"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:models="models.*"
xmlns:local="*"
className="AssetsView">
@@ -33,62 +33,62 @@ limitations under the License.
[Event("next")]
</fx:Metadata>
- <basic:beads>
- <basic:NonVirtualBasicLayout />
- </basic:beads>
+ <js:beads>
+ <js:NonVirtualBasicLayout />
+ </js:beads>
- <basic:model>
+ <js:model>
<models:AssetsModel />
- </basic:model>
+ </js:model>
- <basic:Container className="AssetsInner" width="480">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:style>
- <basic:SimpleCSSStyles top="0" left="0" right="0" />
- </basic:style>
+ <js:Container className="AssetsInner" width="480">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:style>
+ <js:SimpleCSSStyles top="0" left="0" right="0" />
+ </js:style>
- <basic:Label text="Summary" />
+ <js:Label text="Summary" />
- <basic:DataGrid height="200" width="480">
- <basic:style>
- <basic:SimpleCSSStyles top="0" left="0" right="0" />
- </basic:style>
- <basic:beads>
- <basic:ConstantBinding
+ <js:DataGrid height="200" width="480">
+ <js:style>
+ <js:SimpleCSSStyles top="0" left="0" right="0" />
+ </js:style>
+ <js:beads>
+ <js:ConstantBinding
sourceID="model"
sourcePropertyName="assetsData"
destinationPropertyName="dataProvider" />
- </basic:beads>
- <basic:columns>
- <basic:DataGridColumn label="" dataField="label" />
- <basic:DataGridColumn label="" dataField="value" />
- <basic:DataGridColumn label="" dataField="netChange" />
- </basic:columns>
- </basic:DataGrid>
+ </js:beads>
+ <js:columns>
+ <js:DataGridColumn label="" dataField="label" />
+ <js:DataGridColumn label="" dataField="value" />
+ <js:DataGridColumn label="" dataField="netChange" />
+ </js:columns>
+ </js:DataGrid>
- <basic:Label text="Performance History" />
+ <js:Label text="Performance History" />
- <!--<basic:BarChart id="barChart" width="320" height="250">
- <basic:beads>
- <basic:ConstantBinding
+ <!--<js:BarChart id="barChart" width="320" height="250">
+ <js:beads>
+ <js:ConstantBinding
sourceID="model"
sourcePropertyName="assetsData"
destinationPropertyName="dataProvider" />
- <basic:XAxisBead labelField="title" />
- </basic:beads>
- <basic:series>
- <basic:BarChartSeries yField="value"
+ <js:XAxisBead labelField="title" />
+ </js:beads>
+ <js:series>
+ <js:BarChartSeries yField="value"
fillColor="0xFF964D">
- <basic:itemRenderer>
+ <js:itemRenderer>
<fx:Component>
- <basic:BoxItemRenderer />
+ <js:BoxItemRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:BarChartSeries>
- </basic:series>
- </basic:BarChart>-->
+ </js:itemRenderer>
+ </js:BarChartSeries>
+ </js:series>
+ </js:BarChart>-->
- </basic:Container>
-</basic:View>
\ No newline at end of file
+ </js:Container>
+</js:View>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/views/SearchView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/SearchView.mxml b/examples/MobileTrader/src/views/SearchView.mxml
index 6b834d7..6e73d71 100755
--- a/examples/MobileTrader/src/views/SearchView.mxml
+++ b/examples/MobileTrader/src/views/SearchView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:apache="org.apache.flex.html.beads.*"
xmlns:local="*"
className="StockView">
@@ -33,5 +33,5 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Label text="Search View" x="20" y="100" />
-</basic:View>
+ <js:Label text="Search View" x="20" y="100" />
+</js:View>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/views/StockView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/StockView.mxml b/examples/MobileTrader/src/views/StockView.mxml
index 31ff256..998a76a 100755
--- a/examples/MobileTrader/src/views/StockView.mxml
+++ b/examples/MobileTrader/src/views/StockView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:apache="org.apache.flex.html.beads.*"
xmlns:local="*"
className="StockView">
@@ -68,32 +68,32 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Container>
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- <basic:ViewBaseDataBinding />
- </basic:beads>
- <basic:style>
- <basic:SimpleCSSStyles top="10px" left="10px" />
- </basic:style>
+ <js:Container>
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ <js:ViewBaseDataBinding />
+ </js:beads>
+ <js:style>
+ <js:SimpleCSSStyles top="10px" left="10px" />
+ </js:style>
- <basic:Label id="stockSymbol" text="{stock.symbol}" className="ViewTitle" />
- <basic:Label id="stockName" text="{stock.name}" className="StockName" />
+ <js:Label id="stockSymbol" text="{stock.symbol}" className="ViewTitle" />
+ <js:Label id="stockName" text="{stock.name}" className="StockName" />
- <basic:Container className="StockDetailArea">
- <basic:beads>
- <basic:VerticalColumnLayout numColumns="2" />
- </basic:beads>
+ <js:Container className="StockDetailArea">
+ <js:beads>
+ <js:VerticalColumnLayout numColumns="2" />
+ </js:beads>
- <basic:Label text="Last Price:" className="StockLabel" /> <basic:Label id="lastPrice" className="StockValue" />
- <basic:Label text="Open Price:" className="StockLabel" /> <basic:Label id="openPrice" className="StockValue" />
- <basic:Label text="Low Price:" className="StockLabel" /> <basic:Label id="lowPrice" className="StockValue" />
- <basic:Label text="High Price:" className="StockLabel" /> <basic:Label id="highPrice" className="StockValue" />
- <basic:Label text="Change: " className="StockLabel" /> <basic:Label id="changeAmount" className="StockValue" />
- </basic:Container>
+ <js:Label text="Last Price:" className="StockLabel" /> <js:Label id="lastPrice" className="StockValue" />
+ <js:Label text="Open Price:" className="StockLabel" /> <js:Label id="openPrice" className="StockValue" />
+ <js:Label text="Low Price:" className="StockLabel" /> <js:Label id="lowPrice" className="StockValue" />
+ <js:Label text="High Price:" className="StockLabel" /> <js:Label id="highPrice" className="StockValue" />
+ <js:Label text="Change: " className="StockLabel" /> <js:Label id="changeAmount" className="StockValue" />
+ </js:Container>
- <basic:Container className="StockDetailArea">
- <basic:TextButton text="Remove From List" width="200" className="StockRemoveButton" click="removeFromList()" />
- </basic:Container>
- </basic:Container>
-</basic:View>
\ No newline at end of file
+ <js:Container className="StockDetailArea">
+ <js:TextButton text="Remove From List" width="200" className="StockRemoveButton" click="removeFromList()" />
+ </js:Container>
+ </js:Container>
+</js:View>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/MobileTrader/src/views/WatchListView.mxml
----------------------------------------------------------------------
diff --git a/examples/MobileTrader/src/views/WatchListView.mxml b/examples/MobileTrader/src/views/WatchListView.mxml
index b10b987..42048f3 100755
--- a/examples/MobileTrader/src/views/WatchListView.mxml
+++ b/examples/MobileTrader/src/views/WatchListView.mxml
@@ -17,9 +17,9 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:View xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:View xmlns:fx="http://ns.adobe.com/mxml/2009"
title="Watch List"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:controller="controller.*"
xmlns:local="*"
className="WatchListView"
@@ -84,71 +84,71 @@ limitations under the License.
]]>
</fx:Script>
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
- <basic:Container className="WatchListInputArea">
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Label text="Symbol:" />
- <basic:TextInput id="symbolName" />
- <basic:TextButton text="Add" click="addSymbol()" />
- </basic:Container>
+ <js:Container className="WatchListInputArea">
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Label text="Symbol:" />
+ <js:TextInput id="symbolName" />
+ <js:TextButton text="Add" click="addSymbol()" />
+ </js:Container>
- <basic:Container x="0" y="0" className="WatchListInner">
- <basic:beads>
- <basic:ScrollingContainerView />
- <basic:NonVirtualVerticalScrollingLayout />
- </basic:beads>
+ <js:Container x="0" y="0" className="WatchListInner">
+ <js:beads>
+ <js:ScrollingContainerView />
+ <js:NonVirtualVerticalScrollingLayout />
+ </js:beads>
- <basic:DataGrid id="dataGrid" change="selectRow()" width="480" height="480" className="WatchListDataGrid">
- <basic:beads>
- <basic:SimpleBinding
+ <js:DataGrid id="dataGrid" change="selectRow()" width="480" height="480" className="WatchListDataGrid">
+ <js:beads>
+ <js:SimpleBinding
eventName="update"
sourceID="dataModel"
sourcePropertyName="watchList"
destinationPropertyName="dataProvider" />
- </basic:beads>
- <basic:columns>
- <basic:DataGridColumn label="Symbol" dataField="symbol">
- <basic:itemRenderer>
+ </js:beads>
+ <js:columns>
+ <js:DataGridColumn label="Symbol" dataField="symbol">
+ <js:itemRenderer>
<fx:Component>
- <basic:StringItemRenderer />
+ <js:StringItemRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="Open" dataField="open">
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="Open" dataField="open">
+ <js:itemRenderer>
<fx:Component>
<renderers:StockRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="Last" dataField="last" >
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="Last" dataField="last" >
+ <js:itemRenderer>
<fx:Component>
<renderers:StockRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="High" dataField="high" >
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="High" dataField="high" >
+ <js:itemRenderer>
<fx:Component>
<renderers:StockRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- <basic:DataGridColumn label="Low" dataField="low" >
- <basic:itemRenderer>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ <js:DataGridColumn label="Low" dataField="low" >
+ <js:itemRenderer>
<fx:Component>
<renderers:StockRenderer />
</fx:Component>
- </basic:itemRenderer>
- </basic:DataGridColumn>
- </basic:columns>
- </basic:DataGrid>
- </basic:Container>
+ </js:itemRenderer>
+ </js:DataGridColumn>
+ </js:columns>
+ </js:DataGrid>
+ </js:Container>
-</basic:View>
\ No newline at end of file
+</js:View>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/StatesTest/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/StatesTest/src/MyInitialView.mxml b/examples/StatesTest/src/MyInitialView.mxml
index c57c4ff..116ea19 100644
--- a/examples/StatesTest/src/MyInitialView.mxml
+++ b/examples/StatesTest/src/MyInitialView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:core="library://ns.apache.org/flexjs/core"
initComplete="initControls()" xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
@@ -93,72 +93,72 @@ limitations under the License.
margin-bottom: 10px;
}
</fx:Style>
- <basic:states>
+ <js:states>
<mx:State name="hideAll" />
<mx:State name="showAll" />
- </basic:states>
- <basic:Container x="0" y="0" className="topContainer" >
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:Label width="300" text="Enter Stock Symbol or choose from list:" />
- <basic:Container>
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Container className="leftSide">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:TextInput id="symbolTI" >
- <basic:beads>
- <basic:SimpleBinding eventName="stockSymbolChanged"
+ </js:states>
+ <js:Container x="0" y="0" className="topContainer" >
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:Label width="300" text="Enter Stock Symbol or choose from list:" />
+ <js:Container>
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Container className="leftSide">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:TextInput id="symbolTI" >
+ <js:beads>
+ <js:SimpleBinding eventName="stockSymbolChanged"
sourceID="applicationModel"
sourcePropertyName="stockSymbol"
destinationPropertyName="text" />
- </basic:beads>
- </basic:TextInput>
- <basic:TextButton text="Get Quote" className="quoteButton"
+ </js:beads>
+ </js:TextInput>
+ <js:TextButton text="Get Quote" className="quoteButton"
click="_symbol = symbolTI.text; dispatchEvent(new CustomEvent('buttonClicked'))" />
- <basic:Label id="field" />
- <basic:Label className="output" height="24">
- <basic:beads>
- <basic:SimpleBinding eventName="responseTextChanged"
+ <js:Label id="field" />
+ <js:Label className="output" height="24">
+ <js:beads>
+ <js:SimpleBinding eventName="responseTextChanged"
sourceID="applicationModel"
sourcePropertyName="responseText"
destinationPropertyName="text" />
- </basic:beads>
- </basic:Label>
- </basic:Container>
- <basic:Container className="rightSide">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:DropDownList id="list" width="100" height="17"
+ </js:beads>
+ </js:Label>
+ </js:Container>
+ <js:Container className="rightSide">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:DropDownList id="list" width="100" height="17"
change="_symbol = list.selectedItem as String; dispatchEvent(new CustomEvent('listChanged'))">
- <basic:beads>
- <basic:ConstantBinding
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="strings"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:DropDownList>
- <basic:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
- <basic:CheckBox id="showAllData" text="Show All Data" change="setState()" />
- </basic:Container>
- </basic:Container>
- <basic:Label width="300" text.showAll="110" includeIn="showAll" />
- <basic:TextArea id="ta" width="300" height="100" height.showAll="110"
+ </js:beads>
+ </js:DropDownList>
+ <js:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
+ <js:CheckBox id="showAllData" text="Show All Data" change="setState()" />
+ </js:Container>
+ </js:Container>
+ <js:Label width="300" text.showAll="110" includeIn="showAll" />
+ <js:TextArea id="ta" width="300" height="100" height.showAll="110"
includeIn="showAll">
- <basic:beads>
- <basic:SimpleBinding eventName="responseDataChanged"
+ <js:beads>
+ <js:SimpleBinding eventName="responseDataChanged"
sourceID="applicationModel"
sourcePropertyName="allData"
destinationPropertyName="text" />
- </basic:beads>
- </basic:TextArea>
- </basic:Container>
-</basic:ViewBase>
+ </js:beads>
+ </js:TextArea>
+ </js:Container>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/StatesTest/src/StatesTest.mxml
----------------------------------------------------------------------
diff --git a/examples/StatesTest/src/StatesTest.mxml b/examples/StatesTest/src/StatesTest.mxml
index 6f5ee7e..cf5e9e6 100644
--- a/examples/StatesTest/src/StatesTest.mxml
+++ b/examples/StatesTest/src/StatesTest.mxml
@@ -17,36 +17,36 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
initialize="MyModel(model).stockSymbol='ADBE'"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
- <basic:model>
+ </js:initialView>
+ <js:model>
<models:MyModel />
- </basic:model>
- <basic:controller>
+ </js:model>
+ <js:controller>
<controllers:MyController />
- </basic:controller>
- <basic:beads>
- <basic:HTTPService id="service">
- <basic:LazyCollection id="collection">
- <basic:inputParser>
- <basic:JSONInputParser />
- </basic:inputParser>
- <basic:itemConverter>
+ </js:controller>
+ <js:beads>
+ <js:HTTPService id="service">
+ <js:LazyCollection id="collection">
+ <js:inputParser>
+ <js:JSONInputParser />
+ </js:inputParser>
+ <js:itemConverter>
<local:StockDataJSONItemConverter />
- </basic:itemConverter>
- </basic:LazyCollection>
- </basic:HTTPService>
- <basic:ViewSourceContextMenuOption />
- </basic:beads>
-</basic:Application>
\ No newline at end of file
+ </js:itemConverter>
+ </js:LazyCollection>
+ </js:HTTPService>
+ <js:ViewSourceContextMenuOption />
+ </js:beads>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/StockQuote/src/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/examples/StockQuote/src/MyInitialView.mxml b/examples/StockQuote/src/MyInitialView.mxml
index ef54a26..95f3a8c 100644
--- a/examples/StockQuote/src/MyInitialView.mxml
+++ b/examples/StockQuote/src/MyInitialView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
initComplete="initControls()">
<fx:Script>
<![CDATA[
@@ -100,70 +100,70 @@ limitations under the License.
}
}
</fx:Style>
- <basic:Container x="0" y="0" className="topContainer" >
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:Label width="300" text="Enter Stock Symbol or choose from list:" />
- <basic:Container>
- <basic:beads>
- <basic:NonVirtualHorizontalLayout />
- </basic:beads>
- <basic:Panel title="Left Side" className="leftSide">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:TextInput id="symbolTI" >
- <basic:beads>
- <basic:SimpleBinding eventName="stockSymbolChanged"
+ <js:Container x="0" y="0" className="topContainer" >
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:Label width="300" text="Enter Stock Symbol or choose from list:" />
+ <js:Container>
+ <js:beads>
+ <js:NonVirtualHorizontalLayout />
+ </js:beads>
+ <js:Panel title="Left Side" className="leftSide">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:TextInput id="symbolTI" >
+ <js:beads>
+ <js:SimpleBinding eventName="stockSymbolChanged"
sourceID="applicationModel"
sourcePropertyName="stockSymbol"
destinationPropertyName="text" />
- </basic:beads>
- </basic:TextInput>
- <basic:Label id="field" />
- <basic:Label className="output" height="24">
- <basic:beads>
- <basic:SimpleBinding eventName="responseTextChanged"
+ </js:beads>
+ </js:TextInput>
+ <js:Label id="field" />
+ <js:Label className="output" height="24">
+ <js:beads>
+ <js:SimpleBinding eventName="responseTextChanged"
sourceID="applicationModel"
sourcePropertyName="responseText"
destinationPropertyName="text" />
- </basic:beads>
- </basic:Label>
- <basic:TextButton text="Get Quote" className="quoteButton"
+ </js:beads>
+ </js:Label>
+ <js:TextButton text="Get Quote" className="quoteButton"
click="_symbol = symbolTI.text; dispatchEvent(new CustomEvent('buttonClicked'))" />
- </basic:Panel>
- <basic:Panel title="Right Side" className="rightSide">
- <basic:beads>
- <basic:NonVirtualVerticalLayout />
- </basic:beads>
- <basic:DropDownList id="list" width="100" height="17"
+ </js:Panel>
+ <js:Panel title="Right Side" className="rightSide">
+ <js:beads>
+ <js:NonVirtualVerticalLayout />
+ </js:beads>
+ <js:DropDownList id="list" width="100" height="17"
change="_symbol = list.selectedItem as String; dispatchEvent(new CustomEvent('listChanged'))">
- <basic:beads>
- <basic:ConstantBinding
+ <js:beads>
+ <js:ConstantBinding
sourceID="applicationModel"
sourcePropertyName="strings"
destinationPropertyName="dataProvider" />
- </basic:beads>
- </basic:DropDownList>
- <basic:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
- <basic:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
- <basic:CheckBox id="showAllData" text="Show All Data" />
- </basic:Panel>
- </basic:Container>
- <basic:TextArea id="ta" width="300" height="100">
- <basic:beads>
- <basic:SimpleBinding eventName="change"
+ </js:beads>
+ </js:DropDownList>
+ <js:RadioButton id="radio1" text="Price" value="Ask" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio2" text="Change" value="Change" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio3" text="Day's High" value="DaysHigh" groupName="group1" change="radioChanged(event)"/>
+ <js:RadioButton id="radio4" text="Day's Low" value="DaysLow" groupName="group1" change="radioChanged(event)"/>
+ <js:CheckBox id="showAllData" text="Show All Data" />
+ </js:Panel>
+ </js:Container>
+ <js:TextArea id="ta" width="300" height="100">
+ <js:beads>
+ <js:SimpleBinding eventName="change"
sourceID="showAllData"
sourcePropertyName="selected"
destinationPropertyName="visible" />
- <basic:SimpleBinding eventName="responseDataChanged"
+ <js:SimpleBinding eventName="responseDataChanged"
sourceID="applicationModel"
sourcePropertyName="allData"
destinationPropertyName="text" />
- </basic:beads>
- </basic:TextArea>
- </basic:Container>
-</basic:ViewBase>
+ </js:beads>
+ </js:TextArea>
+ </js:Container>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/StockQuote/src/StockQuote.mxml
----------------------------------------------------------------------
diff --git a/examples/StockQuote/src/StockQuote.mxml b/examples/StockQuote/src/StockQuote.mxml
index 3f2d454..cb3d098 100644
--- a/examples/StockQuote/src/StockQuote.mxml
+++ b/examples/StockQuote/src/StockQuote.mxml
@@ -17,36 +17,36 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
initialize="MyModel(model).stockSymbol='ADBE'"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
- <basic:model>
+ </js:initialView>
+ <js:model>
<models:MyModel />
- </basic:model>
- <basic:controller>
+ </js:model>
+ <js:controller>
<controllers:MyController />
- </basic:controller>
- <basic:beads>
- <basic:HTTPService id="service">
- <basic:LazyCollection id="collection">
- <basic:inputParser>
- <basic:JSONInputParser />
- </basic:inputParser>
- <basic:itemConverter>
+ </js:controller>
+ <js:beads>
+ <js:HTTPService id="service">
+ <js:LazyCollection id="collection">
+ <js:inputParser>
+ <js:JSONInputParser />
+ </js:inputParser>
+ <js:itemConverter>
<local:StockDataJSONItemConverter />
- </basic:itemConverter>
- </basic:LazyCollection>
- </basic:HTTPService>
- <basic:ViewSourceContextMenuOption />
- </basic:beads>
-</basic:Application>
\ No newline at end of file
+ </js:itemConverter>
+ </js:LazyCollection>
+ </js:HTTPService>
+ <js:ViewSourceContextMenuOption />
+ </js:beads>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
----------------------------------------------------------------------
diff --git a/examples/TodoListSampleApp/src/TodoListSampleApp.mxml b/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
index bcfa7cc..e734026 100644
--- a/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
+++ b/examples/TodoListSampleApp/src/TodoListSampleApp.mxml
@@ -18,26 +18,26 @@
//
////////////////////////////////////////////////////////////////////////////////
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:controllers="sample.todo.controllers.*"
xmlns:models="sample.todo.models.*"
xmlns:views="sample.todo.views.*">
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl/>
- </basic:valuesImpl>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl/>
+ </js:valuesImpl>
- <basic:controller>
+ <js:controller>
<controllers:TodoListController/>
- </basic:controller>
+ </js:controller>
- <basic:model>
+ <js:model>
<models:TodoListModel/>
- </basic:model>
+ </js:model>
- <basic:initialView>
+ <js:initialView>
<views:TodoListView/>
- </basic:initialView>
+ </js:initialView>
-</basic:Application>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
----------------------------------------------------------------------
diff --git a/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml b/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
index 7bbe027..9cff3cf 100644
--- a/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
+++ b/examples/TodoListSampleApp/src/sample/todo/views/TodoListView.mxml
@@ -17,8 +17,8 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:svg="library://ns.apache.org/flexjs/svg">
<fx:Script>
@@ -57,36 +57,36 @@ limitations under the License.
]]>
</fx:Script>
- <basic:Panel title="FlexJS TODO List" width="600">
- <basic:beads>
- <basic:NonVirtualVerticalLayout/>
- </basic:beads>
+ <js:Panel title="FlexJS TODO List" width="600">
+ <js:beads>
+ <js:NonVirtualVerticalLayout/>
+ </js:beads>
- <basic:TextInput id="todoInput"
+ <js:TextInput id="todoInput"
width="300"
change="logTodo()"/>
- <basic:List id="todoList"
+ <js:List id="todoList"
itemRenderer="sample.todo.renderers.TodoItemRenderer"
width="300" height="400">
<!-- dataProvider="{TodoListModel(applicationModel).todos}" -->
- <basic:beads>
- <basic:ConstantBinding sourceID="applicationModel"
+ <js:beads>
+ <js:ConstantBinding sourceID="applicationModel"
sourcePropertyName="todos"
destinationPropertyName="dataProvider"/>
- </basic:beads>
- </basic:List>
-
- <basic:Container>
- <basic:beads>
- <basic:NonVirtualHorizontalLayout/>
- </basic:beads>
- <basic:Label id="statusLabel" text="N items left"/>
+ </js:beads>
+ </js:List>
+
+ <js:Container>
+ <js:beads>
+ <js:NonVirtualHorizontalLayout/>
+ </js:beads>
+ <js:Label id="statusLabel" text="N items left"/>
<svg:TextButton text="All" width="100" height="30" click="showAll()" />
<svg:TextButton text="Active" width="100" height="30" click="showActive()" />
<svg:TextButton text="Completed" width="100" height="30" click="showCompleted()" />
- </basic:Container>
- </basic:Panel>
+ </js:Container>
+ </js:Panel>
<fx:Style>
@namespace basic "library://ns.apache.org/flexjs/basic";
@@ -106,4 +106,4 @@ limitations under the License.
}
</fx:Style>
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.mxml b/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.mxml
index 558f1e6..a97b086 100644
--- a/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.mxml
+++ b/frameworks/projects/Core/as/tests/FlexUnitFlexJSApplication.mxml
@@ -18,8 +18,8 @@ limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
applicationComplete="runTests()"
>
<fx:Script>
@@ -39,8 +39,8 @@ limitations under the License.
]]>
</fx:Script>
- <basic:valuesImpl>
- <basic:SimpleValuesImpl />
- </basic:valuesImpl>
+ <js:valuesImpl>
+ <js:SimpleValuesImpl />
+ </js:valuesImpl>
-</basic:Application>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/TitleBarView.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/TitleBarView.mxml b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/TitleBarView.mxml
index 22baa23..dba3827 100644
--- a/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/TitleBarView.mxml
+++ b/frameworks/projects/HTML/asjs/src/org/apache/flex/html/beads/TitleBarView.mxml
@@ -25,8 +25,8 @@ limitations under the License.
@playerversion AIR 2.6
@productversion FlexJS 0.0
-->
-<basic:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:MXMLBeadViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:mx="library://ns.apache.org/flexjs/mx"
>
<fx:Script>
@@ -43,17 +43,17 @@ limitations under the License.
}
]]>
</fx:Script>
- <basic:beads>
- <basic:MXMLBeadViewBaseDataBinding />
- <basic:LayoutChangeNotifier watchedProperty="{ITitleBarModel(model).title}" />
- </basic:beads>
+ <js:beads>
+ <js:MXMLBeadViewBaseDataBinding />
+ <js:LayoutChangeNotifier watchedProperty="{ITitleBarModel(model).title}" />
+ </js:beads>
- <basic:Label id="titleLabel" text="{ITitleBarModel(model).title}" >
- <basic:style>
- <basic:SimpleCSSStyles fontWeight="inherit" margin="5" />
- </basic:style>
- </basic:Label>
- <basic:CloseButton id="closeButton" click="clickHandler()"
+ <js:Label id="titleLabel" text="{ITitleBarModel(model).title}" >
+ <js:style>
+ <js:SimpleCSSStyles fontWeight="inherit" margin="5" />
+ </js:style>
+ </js:Label>
+ <js:CloseButton id="closeButton" click="clickHandler()"
visible="{ITitleBarModel(model).showCloseButton}"/>
-</basic:MXMLBeadViewBase>
+</js:MXMLBeadViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/frameworks/projects/HTML/asjs/tests/FlexUnitFlexJSApplication.mxml
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/asjs/tests/FlexUnitFlexJSApplication.mxml b/frameworks/projects/HTML/asjs/tests/FlexUnitFlexJSApplication.mxml
index a8d533c..06ad1d6 100644
--- a/frameworks/projects/HTML/asjs/tests/FlexUnitFlexJSApplication.mxml
+++ b/frameworks/projects/HTML/asjs/tests/FlexUnitFlexJSApplication.mxml
@@ -18,8 +18,8 @@ limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
applicationComplete="runTests()"
>
<fx:Script>
@@ -39,8 +39,8 @@ limitations under the License.
]]>
</fx:Script>
- <basic:valuesImpl>
- <basic:SimpleValuesImpl />
- </basic:valuesImpl>
+ <js:valuesImpl>
+ <js:SimpleValuesImpl />
+ </js:valuesImpl>
-</basic:Application>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/MyInitialView.mxml
----------------------------------------------------------------------
diff --git a/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/MyInitialView.mxml b/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/MyInitialView.mxml
index 5599c40..fe47862 100644
--- a/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/MyInitialView.mxml
+++ b/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/MyInitialView.mxml
@@ -17,10 +17,10 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
>
- <basic:TextButton id="btn" text="Click me" x="100" y="100" />
+ <js:TextButton id="btn" text="Click me" x="100" y="100" />
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/TextButton.mxml
----------------------------------------------------------------------
diff --git a/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/TextButton.mxml b/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/TextButton.mxml
index 56e1d37..d4ae6fc 100644
--- a/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/TextButton.mxml
+++ b/marmotinni/tests/FlexJS/framework/org/apache/flex/html/staticControls/TextButton/TextButton.mxml
@@ -17,11 +17,11 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:local="*"
>
- <basic:initialView>
+ <js:initialView>
<local:MyInitialView />
- </basic:initialView>
-</basic:Application>
\ No newline at end of file
+ </js:initialView>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/BasicTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTests.mxml b/mustella/tests/basicTests/BasicTests.mxml
index 7ed2c74..b8835e5 100644
--- a/mustella/tests/basicTests/BasicTests.mxml
+++ b/mustella/tests/basicTests/BasicTests.mxml
@@ -17,8 +17,8 @@
limitations under the License.
-->
-<basic:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+<js:ViewBase xmlns:fx="http://ns.adobe.com/mxml/2009"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:haloviews="halo.views.*"
xmlns:sparkviews="spark.views.*"
@@ -32,7 +32,7 @@
<fx:Style source="BasicTests.css"/>
<!-- STEP 1: Add a state for your test here -->
- <basic:states>
+ <js:states>
<mx:State name="basicTest" />
<mx:State name="haloButtonTest" />
<mx:State name="haloCheckBoxTest" />
@@ -103,7 +103,7 @@
<!--<mx:State name="sparkCurrencyValidatorTest" />-->
<!--<mx:State name="sparkNumberValidatorTest" />-->
<!--<mx:State name="sparkSortTest" /> -->
- </basic:states>
+ </js:states>
<!-- STEP 2: Add an mxml component with the widgets for your test here -->
<haloviews:ButtonTests id="haloButtonTests" includeIn="haloButtonTest" />
@@ -208,4 +208,4 @@
<mx:TextInput id="newStateInput" text="" enter="{currentState=newStateInput.text}" />
</s:Group>
-->
-</basic:ViewBase>
+</js:ViewBase>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/BasicTestsApp.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/BasicTestsApp.mxml b/mustella/tests/basicTests/BasicTestsApp.mxml
index c2fe853..3df88e8 100644
--- a/mustella/tests/basicTests/BasicTestsApp.mxml
+++ b/mustella/tests/basicTests/BasicTestsApp.mxml
@@ -17,40 +17,40 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-<basic:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
+<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:local="*"
- xmlns:basic="library://ns.apache.org/flexjs/basic"
+ xmlns:js="library://ns.apache.org/flexjs/basic"
xmlns:models="models.*"
xmlns:controllers="controllers.*"
>
- <basic:valuesImpl>
- <basic:SimpleCSSValuesImpl />
- </basic:valuesImpl>
- <basic:initialView>
+ <js:valuesImpl>
+ <js:SimpleCSSValuesImpl />
+ </js:valuesImpl>
+ <js:initialView>
<local:BasicTests />
- </basic:initialView>
+ </js:initialView>
<!--
- <basic:model>
+ <js:model>
<models:MyModel />
- </basic:model>
- <basic:controller>
+ </js:model>
+ <js:controller>
<controllers:MyController />
- </basic:controller>
+ </js:controller>
-->
- <basic:beads>
- <basic:MixinManager />
+ <js:beads>
+ <js:MixinManager />
<!--
- <basic:HTTPService id="service">
- <basic:LazyCollection id="collection">
- <basic:inputParser>
- <basic:JSONInputParser />
- </basic:inputParser>
- <basic:itemConverter>
+ <js:HTTPService id="service">
+ <js:LazyCollection id="collection">
+ <js:inputParser>
+ <js:JSONInputParser />
+ </js:inputParser>
+ <js:itemConverter>
<local:StockDataJSONItemConverter />
- </basic:itemConverter>
- </basic:LazyCollection>
- </basic:HTTPService>
- <basic:ViewSourceContextMenuOption />
+ </js:itemConverter>
+ </js:LazyCollection>
+ </js:HTTPService>
+ <js:ViewSourceContextMenuOption />
-->
- </basic:beads>
-</basic:Application>
\ No newline at end of file
+ </js:beads>
+</js:Application>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml b/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
index 69e0683..47271f0 100644
--- a/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
+++ b/mustella/tests/basicTests/dmv/scripts/ChartsTestScript.mxml
@@ -86,4 +86,4 @@
</body>
</TestCase>
</testCases>
-</UnitTester>
\ No newline at end of file
+</UnitTester>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/dmv/views/ChartsTests.mxml b/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
index f7a8d99..e620f9f 100644
--- a/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
+++ b/mustella/tests/basicTests/dmv/views/ChartsTests.mxml
@@ -135,4 +135,4 @@
<mx:PieSeries field="open"/>
</mx:series>
</mx:PieChart>
-</mx:VBox>
\ No newline at end of file
+</mx:VBox>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml b/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
index 1cf41a2..9d7e0b4 100644
--- a/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
+++ b/mustella/tests/basicTests/graphics/views/comps/EllipseBasic2.mxml
@@ -31,4 +31,4 @@
</s:Ellipse>
</s:Graphic>
-</mx:Canvas>
\ No newline at end of file
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml b/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
index 6c3addc..175522e 100644
--- a/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
+++ b/mustella/tests/basicTests/graphics/views/comps/RectBasic3.mxml
@@ -31,4 +31,4 @@
</s:Rect>
</s:Graphic>
-</mx:Canvas>
\ No newline at end of file
+</mx:Canvas>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/6a35711f/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
----------------------------------------------------------------------
diff --git a/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml b/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
index ab7a79e..434a883 100644
--- a/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
+++ b/mustella/tests/basicTests/graphics/views/comps/TextGraphicBasic1.mxml
@@ -29,4 +29,4 @@
</s:RichText>
</s:Graphic>
-</mx:Canvas>
\ No newline at end of file
+</mx:Canvas>