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

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

commit 790d6550191e408747445787d94b30eddf9fc0e9
Author: greg-dove <[email protected]>
AuthorDate: Fri Feb 15 14:55:24 2019 +1300

    Quick improvements to AMF testing app display
---
 .../mxroyale/RemoteObjectAMFTest/src/main/royale/App.mxml    | 12 ++++++------
 .../src/main/royale/valueObjects/ClientValueObject.as        |  4 ++++
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/App.mxml 
b/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/App.mxml
index bb519a0..df69a25 100644
--- a/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/App.mxml
+++ b/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/App.mxml
@@ -204,7 +204,7 @@ limitations under the License.
             </mx:VBox>
             <mx:Button label="Send to Name" click="service.echo()"/>
         </mx:HBox>
-        <mx:Label text="{(service.echo as Operation).lastResult}"/>
+        <mx:Label text="{(service.echo as Operation).lastResult}" height="15"/>
     </mx:VBox>
     <mx:VBox width="400">
         <mx:HBox>
@@ -214,7 +214,7 @@ limitations under the License.
             </mx:VBox>
             <mx:Button label="Send to Name (With Responder)" 
click="sendEcho(event)"/>
         </mx:HBox>
-        <mx:Label id="result_txt"/>
+        <mx:Label id="result_txt" height="15"/>
     </mx:VBox>
     <!-- <mx:VBox width="400">
         <mx:HBox>
@@ -230,20 +230,20 @@ limitations under the License.
         <mx:Button label="Get Array Of Objects" 
click="service.getObjectArray1()"/>
         <mx:List id="list" labelField="id" width="100%" height="200"
                  dataProvider="{(service.getObjectArray1 as 
Operation).lastResult}" />
-        <mx:Label text="{list.selectedItem}"/>
+        <mx:Label text="{list.selectedItem}" height="15"/>
     </mx:VBox>
     <mx:VBox width="400">
         <mx:Button label="Get Some Product" click="service.getSomeProduct()"/>
-        <mx:Label text="{((service.getSomeProduct as Operation).lastResult as 
Product).name}"/>
+        <mx:Label text="{((service.getSomeProduct as Operation).lastResult as 
Product).name}"  height="15"/>
     </mx:VBox>
     <mx:VBox width="400">
         <mx:Button label="Send client vo to java" click="sendClientVO(event)"/>
         <!-- <mx:Label text="{(service.sendSomeProduct as 
Operation).lastResult as String}"/> -->
-        <mx:Label id="result2_txt"/>
+        <mx:Label id="result2_txt"  height="15"/>
     </mx:VBox>
     <mx:VBox width="400">
         <mx:Button label="Send complex object to java" 
click="sendSomeProduct(event)"/>
         <!-- <mx:Label text="{(service.sendSomeProduct as 
Operation).lastResult as String}"/> -->
-        <mx:Label id="result3_txt"/>
+        <mx:Text id="result3_txt"  height="45" width="400"/>
     </mx:VBox>
 </mx:Application>
diff --git 
a/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/valueObjects/ClientValueObject.as
 
b/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/valueObjects/ClientValueObject.as
index 3989ca0..796cd51 100644
--- 
a/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/valueObjects/ClientValueObject.as
+++ 
b/examples/mxroyale/RemoteObjectAMFTest/src/main/royale/valueObjects/ClientValueObject.as
@@ -36,6 +36,10 @@ package valueObjects
         {
             _id = value;
         }
+               
+               public function toString():String{
+                       return 'clientside representation (ClientValueObject) ' 
+ id;
+               }
 
        }
 }

Reply via email to