2

I have a scenario where i need to call two remote action methods. Second method needs an input parameter which is the output of first method. Can i nest the second remote call into first one. Is there anything wrong in doing this ? Is there any better approach ?

0

1 Answer 1

3

Yes you can nest them. Your invocation of the second method should be in the callback of the first method. See this post:

Is it possible to execute remote functions in order?

Not the answer you're looking for? Browse other questions tagged or ask your own question.