You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2017/01/13 15:07:25 UTC
[3/4] git commit: [flex-asjs] [refs/heads/develop] - - Commented out
an expression which was causing errors with binding if the element being
bound to is null. - Added some ids to fields to allow automated testing -
Added some beads to the phone number f
- Commented out an expression which was causing errors with binding if the element being bound to is null.
- Added some ids to fields to allow automated testing
- Added some beads to the phone number fields to make them numeric and to the password field to make it a password field.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/060352c1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/060352c1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/060352c1
Branch: refs/heads/develop
Commit: 060352c1530b2b17e6ccfeb98d667af40bf49a65
Parents: c6ca72a
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Fri Jan 13 15:45:59 2017 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Fri Jan 13 15:45:59 2017 +0100
----------------------------------------------------------------------
.../FlexJSStore/src/main/flex/HomeView.mxml | 28 +++++++++++++++-----
.../main/flex/productsView/ProductDetails.mxml | 2 +-
2 files changed, 23 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/060352c1/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml b/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
index 9021084..866811c 100755
--- a/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
+++ b/examples/flexjs/FlexJSStore/src/main/flex/HomeView.mxml
@@ -57,8 +57,8 @@ Width and height are hard-coded in the root tag to help the Design view.
<js:SimpleCSSStyles backgroundColor="#ebebe9" left="10" top="10" right="10"/>
</js:style>
<js:Label style="left:10;top:10" text="Search Developers" height="22" className="sectionHeader" />
- <js:TextButton style="left:168;top:30" text="Go" width="27" height="20" className="glass" click="SimpleAlert.show('This feature is not implemented in this sample', 'Go')"/>
- <js:TextInput style="left:10;top:30" height="20" width="150"/>
+ <js:TextButton id="developerSearchButton" style="left:168;top:30" text="Go" width="27" height="20" className="glass" click="SimpleAlert.show('This feature is not implemented in this sample', 'Go')"/>
+ <js:TextInput id="developerSearchInput" style="left:10;top:30" height="20" width="150"/>
</js:Container>
<js:Container height="280" className="homeSection">
@@ -102,15 +102,31 @@ Width and height are hard-coded in the root tag to help the Design view.
<js:style>
<js:SimpleCSSStyles verticalAlign="middle" />
</js:style>
- <js:TextInput height="20" width="40"/>
+ <js:TextInput height="20" width="40">
+ <js:beads>
+ <js:NumericOnlyTextInputBead/>
+ </js:beads>
+ </js:TextInput>
<js:HRule width="8" height="2"/>
- <js:TextInput height="20" width="40"/>
+ <js:TextInput height="20" width="40">
+ <js:beads>
+ <js:NumericOnlyTextInputBead/>
+ </js:beads>
+ </js:TextInput>
<js:HRule width="8" height="2"/>
- <js:TextInput height="20" width="40"/>
+ <js:TextInput height="20" width="40">
+ <js:beads>
+ <js:NumericOnlyTextInputBead/>
+ </js:beads>
+ </js:TextInput>
</js:HContainer>
<js:Label text="Password"/>
- <js:TextInput height="20"/>
+ <js:TextInput height="20">
+ <js:beads>
+ <js:PasswordInputBead/>
+ </js:beads>
+ </js:TextInput>
<js:Spacer height="8" width="100%"/>
<js:CheckBox text="Remember my phone number" selected="true"/>
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/060352c1/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductDetails.mxml
----------------------------------------------------------------------
diff --git a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductDetails.mxml b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductDetails.mxml
index 781d120..5deff16 100755
--- a/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductDetails.mxml
+++ b/examples/flexjs/FlexJSStore/src/main/flex/productsView/ProductDetails.mxml
@@ -107,7 +107,7 @@ limitations under the License.
<js:Label text="{product.highlight2}" style="color:#EE8D0C"/>
- <js:Label text="{cf.format(product.price)}" style="fontWeight:'bold'"/>
+ <!--js:Label text="{cf.format(product.price)}" style="fontWeight:'bold'"/-->
</js:VContainer>
</js:Container>