flex - Freely creating BlazeDS RemoteObjects -


So I know the standard MXML syntax of Blazads to create remote objects. Ex:

  & lt; S: Remote object id = "SIM" destination = "simulation web service" & gt; & Lt; S: Method Name = "getAvailableTargetNames" results = "Settration Name (Event)" /> & Lt; S: Method Name = "getAvailableToolNames" result = "Setturnname (event)" /> & Lt; S: Method Name = "getAvailableActionNames" Results = "Set Name Name (Event)" /> & Lt; S: Method Name = "Simulation" result = "Reset field (event)" /> & Lt; / S: RemoteObject & gt;  

But this is not enough what I want to do. This allows me to make the code immediately behind the page code as SimulationWebService , while I want to do many different things depending on user's actions, in which Not even born at all. How do I create this same thing from action script?

I'm not sure that I understand correctly, are you saying that to create code Is an example of a remote service? If so, then this is wrong. Nothing is made on the server until you perform the service. I believe in using the send () method.

Or are you saying that this code creates an example of the SIM named RemoteObject created in your Flex application? If so, this is probably true, although we can not tell to make sure that the code snippet you provided

You can create a remoting object conditionally in the action script. Or you can create RemoteObject in a component other than the main component and start the component as if you need to make a remote call.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -