You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2018/05/08 22:25:48 UTC

[royale-asjs] branch develop updated: update blog example 6 to new name that refers to the use of Data Binding

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 89e581f  update blog example 6 to new name that refers to the use of Data Binding
89e581f is described below

commit 89e581ff29b5c4f4edb9023aca1a4235528ae621
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Wed May 9 00:25:44 2018 +0200

    update blog example 6 to new name that refers to the use of Data Binding
---
 .../README.txt                                                      | 4 ++--
 .../asconfig.json                                                   | 0
 .../build.xml                                                       | 2 +-
 .../pom.xml                                                         | 6 +++---
 .../src/main/resources/jewel-example-index-template.html            | 0
 .../src/main/resources/styles.css                                   | 0
 ..._text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml} | 4 ++--
 examples/blog/pom.xml                                               | 1 +
 8 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/README.txt b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/README.txt
similarity index 86%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/README.txt
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/README.txt
index 8faeb0f..b237eca 100644
--- a/examples/blog/BE0006_Using_Jewel_TextInput_Control/README.txt
+++ b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/README.txt
@@ -19,9 +19,9 @@
 
 DESCRIPTION
 
-Using Jewel TextInput Control
+Binding the text property of a Jewel TextInput to update a Label
 
-In this example we'll Learn how to configure a group of Jewel RadioButton controls in a Royale application.
+Learn how to change a Label’s text with a Jewel TextInput using both a change event and data binding.
 ---
 
 
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/asconfig.json b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/asconfig.json
similarity index 100%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/asconfig.json
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/asconfig.json
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/build.xml b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
similarity index 95%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/build.xml
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
index 095fef3..99e33df 100644
--- a/examples/blog/BE0006_Using_Jewel_TextInput_Control/build.xml
+++ b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/build.xml
@@ -19,7 +19,7 @@
 -->
 
 
-<project name="BE0005_Creating_a_group_of_Jewel_RadioButtons" default="main" basedir=".">
+<project name="BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label" default="main" basedir=".">
     <property name="ROYALE_HOME" location="../../.."/>
     <property name="example" value="App" />
     
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/pom.xml b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
similarity index 89%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/pom.xml
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
index ac33509..8f18d10 100644
--- a/examples/blog/BE0006_Using_Jewel_TextInput_Control/pom.xml
+++ b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/pom.xml
@@ -26,11 +26,11 @@
     <version>0.9.4-SNAPSHOT</version>
   </parent>
 
-  <artifactId>BE0006_Using_Jewel_TextInput_Control</artifactId>
+  <artifactId>BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label</artifactId>
   <version>0.9.4-SNAPSHOT</version>
   <packaging>swf</packaging>
 
-  <name>Apache Royale: Examples: Blog: 0006: Using Jewel TextInput Control</name>
+  <name>Apache Royale: Examples: Blog: 0006: Binding the text property of a Jewel Textinput to update a text label</name>
 
   <build>
     <sourceDirectory>src/main/royale</sourceDirectory>
@@ -40,7 +40,7 @@
         <artifactId>royale-maven-plugin</artifactId>
         <extensions>true</extensions>
         <configuration>
-          <mainClass>BE0006_Using_Jewel_TextInput_Control.mxml</mainClass>
+          <mainClass>BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml</mainClass>
           <targets>JSRoyale,SWF</targets>
           <debug>false</debug>
           <htmlTemplate>${basedir}/target/javascript/bin/js-debug/jewel-example-index-template.html</htmlTemplate>
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/resources/jewel-example-index-template.html b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/resources/jewel-example-index-template.html
similarity index 100%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/resources/jewel-example-index-template.html
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/resources/jewel-example-index-template.html
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/resources/styles.css b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/resources/styles.css
similarity index 100%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/resources/styles.css
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/resources/styles.css
diff --git a/examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/royale/BE0006_Using_Jewel_TextInput_Control.mxml b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/royale/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml
similarity index 93%
rename from examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/royale/BE0006_Using_Jewel_TextInput_Control.mxml
rename to examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/royale/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml
index 53f7a3a..ba2915b 100644
--- a/examples/blog/BE0006_Using_Jewel_TextInput_Control/src/main/royale/BE0006_Using_Jewel_TextInput_Control.mxml
+++ b/examples/blog/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label/src/main/royale/BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label.mxml
@@ -46,7 +46,7 @@
 
             <j:TextInput id="textinput" change="textChanged(event)">
                 <j:beads>
-                    <j:TextPromptBead prompt="Using change event"/>
+                    <j:TextPrompt prompt="Using change event"/>
                 </j:beads>
             </j:TextInput>
 
@@ -54,7 +54,7 @@
 
             <j:TextInput id="databinding_ti">
                 <j:beads>
-                    <j:TextPromptBead prompt="Using databinding"/>
+                    <j:TextPrompt prompt="Using databinding"/>
                 </j:beads>
             </j:TextInput>
 
diff --git a/examples/blog/pom.xml b/examples/blog/pom.xml
index 533c6c2..b67b3d2 100644
--- a/examples/blog/pom.xml
+++ b/examples/blog/pom.xml
@@ -38,6 +38,7 @@
     <module>BE0003_Using_Jewel_Slider_Control</module>
     <module>BE0004_Adding_an_item_to_a_Jewel_List</module>
     <module>BE0005_Creating_a_group_of_Jewel_RadioButtons</module>
+    <module>BE0006_Binding_the_text_property_of_a_Jewel_Textinput_to_update_a_text_label</module>
   </modules>
 
   <build>

-- 
To stop receiving notification emails like this one, please contact
carlosrovira@apache.org.