Annotation Type InvokableJSON


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface InvokableJSON
    Annotate methods with this if you want them to be invoked by your javascript via the wicket callback URL. These are essentially JSON RPC methods. The method signature should be: public JSONObject methodName(JSONObject argument) and may optionally throw JSONException.