Expand my Community achievements bar.

arkcto
arkcto
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • Hi, I posted a related message last week about how I am unable toretrieve an array of data from a remote object. I am a newbie and I've been able to call Java methods whenthey return a simple String. However, I am unable to get an arrayof Java objects.I have a datagrid in my application that has to ...

    Type

    Discussions

    Views

    653

    Likes

    0

    Replies

    2
  • Thanks guys.JS, I got what you are saying. Now I don't have any errormessages, but the data grid is blank.This is the mxml code. (I added your input)<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"><mx:Script> <![CDATA[ import mx.controls.Alert; import ...

    Type

    Discussions

    Views

    574

    Likes

    0

    Replies

    0
  • Hi,I am a newbie and I've been able to call Java methods whenthey return a simple String. However, I am unable to get acollection of Java objects. I get the following error message : Type Coercion failed: cannot convertmx.rpc.remoting.mxml::Operation@31717b1 to Array.I have a datagrid in my applicat...

    Type

    Discussions

    Views

    940

    Likes

    0

    Replies

    3
  • Please ignore this duplicate message, and look at the mostrecent one with the same message title.Thanks.

    Type

    Discussions

    Views

    391

    Likes

    0

    Replies

    0
  • >>By the way, when you compile mxml yourself, make sureyou use --compiler.services <path_to_services-config.xml>.That works - now .the swf and mxml both work.Thanks so much for your help, matamel.

    Type

    Questions

    Views

    751

    Likes

    0

    Replies

    0
  • And the plot thickens.I removed flex, flex-admin directories, and kept just therpcdataservice (my app) as the only webapp under Tomcat. What I seeis that if I launch .mxml from the browser, it works, but when Ilaunch the .swf file it complains about 'unknown destination'.I compiled the .mxml into .s...

    Type

    Questions

    Views

    756

    Likes

    0

    Replies

    0
  • Tried everything, doesn't work.Even removed flex and flex-admin webapps from Tomcat. Justhave rpcdataservice webapp and inside that the Flex subfolder withthe right configuration files.Also, I used the build.bat (got it from flex samples) tobuild the .swf file from .mxml file. @echo offSET OPTS=-use...

    Type

    Questions

    Views

    753

    Likes

    0

    Replies

    0
  • Thanks matamel,I don't know how it can work on your computer and not onmine. Yes, I am modifying the right configuration files.My full remoting-config file looks like this :<?xml version="1.0" encoding="UTF-8"?><service id="remoting-service" class="flex.messaging.services.RemotingService" messageTyp...

    Type

    Questions

    Views

    748

    Likes

    0

    Replies

    0
  • Hello,I am a newbie and I am trying a simple application to testRPC using RemoteObject. My application takes a name from a textinput field and prints the welcome greeting in a text area.The method to execute in my RemoteObject is a goofy methodthat takes a person's name and returns the String welcom...

    Type

    Questions

    Views

    1.6K

    Likes

    0

    Replies

    11
Top badges earned by arkcto
Customize the badges you want to showcase on your profile