martin-g commented on a change in pull request #382: WICKET-6688 add RFC and 
replace eval with DOM eval
URL: https://github.com/apache/wicket/pull/382#discussion_r322735334
 
 

 ##########
 File path: 
wicket-core/src/main/java/org/apache/wicket/core/request/handler/IPartialPageRequestHandler.java
 ##########
 @@ -78,6 +78,26 @@
         */
        void appendJavaScript(CharSequence javascript);
 
+       /**
+        * Add function for remote call execution on client side after 
components are replaced.
+        * <p>
+        * wicket-ajax-jquery will look for this function name inside of the 
Wicket.Ajax.RFC namespace
+        * </p>
+        *
+        * @param functionName
+        * @param args
+        */
+       void appendRemoteFunctionCall(CharSequence functionName, Object... 
args);
+
+       /**
+        * Add extra meta data to partial page response.
+        * This is the response meta data, not HTML meta data.
+        *
+        * @param name meta datum name
+        * @param value meta datum value
+        */
+       void addMeta(CharSequence name, CharSequence value);
 
 Review comment:
   may I call this method more than once ?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to