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 45304ed little fixes to amf interface
45304ed is described below
commit 45304ed47b1a55623f5ff25217ed38b763522d83
Author: Carlos Rovira <[email protected]>
AuthorDate: Tue Apr 24 18:13:45 2018 +0200
little fixes to amf interface
---
examples/royale/RemoteObjectAMFTest/src/main/royale/App.mxml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/examples/royale/RemoteObjectAMFTest/src/main/royale/App.mxml
b/examples/royale/RemoteObjectAMFTest/src/main/royale/App.mxml
index a057c90..21c3b91 100644
--- a/examples/royale/RemoteObjectAMFTest/src/main/royale/App.mxml
+++ b/examples/royale/RemoteObjectAMFTest/src/main/royale/App.mxml
@@ -50,7 +50,7 @@ limitations under the License.
else if (evt.data is Product)
{
var product:Product = evt.data as Product;
- received2.text = "Received: product name is '" +
product.name + "' and product description is '" + product.description + "'" ;
+ received3.text = "Received: product name is '" +
product.name + "' and product description is '" + product.description + "'" ;
} else
{
var arr:ArrayList = new ArrayList(evt.data as Array);
@@ -76,7 +76,7 @@ limitations under the License.
protected function reportChange():void
{
var vo:ClientValueObject = list.selectedItem as
ClientValueObject;
- received.text = "selected " + vo.id;
+ received2.text = "Selected: " + vo.id;
}
]]>
@@ -125,6 +125,7 @@ limitations under the License.
<j:TextButton text="Get Array of ValueObjects"
emphasized="true" click="getVOs()" width="100%"/>
<j:List id="list" labelField="id" width="100%" height="200"
change="reportChange()"/>
+ <j:Label id="received2" text="Selected:"/>
</js:Group>
<js:Group className="container" width="400">
@@ -132,7 +133,7 @@ limitations under the License.
<j:VerticalLayoutWithPaddingAndGap gap="10"/>
</js:beads>
<j:TextButton text="Get Some Product" primary="true"
click="getSomeProduct()"/>
- <js:MultilineLabel id="received2" text="Received:"/>
+ <js:MultilineLabel id="received3" text="Received:"/>
</js:Group>
</js:View>
--
To stop receiving notification emails like this one, please contact
[email protected].