Re: How to sen request directly to backend

26 views
Skip to first unread message

Ralph Schaer

unread,
Nov 26, 2013, 9:09:56 AM11/26/13
to extdire...@googlegroups.com
You can use a simple method call for this

Create a spring bean with @ExtDirectMethod annotated methods.

@Service
public class TestAction {

  @ExtDirectMethod
  public String doEcho(String message) {
    return message;
  }

and then you are able to call these methods in javascript like this

   testAction.doEcho(aParameter)




Reply all
Reply to author
Forward
0 new messages