Rodolfo Hansen wrote:
Nice,
I implemented something very similar to that actually; and now I
actually also need to send json from the client...
I didn't try client - json - wicket yet, but i guess it should be
doable. The main question is how you provide the json content. If it's
through the
Rodolfo Hansen wrote:
How can I use Wicket.Ajax.Request to post a json string to a
DefaultAjaxBehaviour?
Maybe this could help:
http://josephonit.wordpress.com/2010/09/02/wicket-providing-json-content-through-ajax/
On the Javascript side I basically did something like this:
function
Nice,
I implemented something very similar to that actually; and now I
actually also need to send json from the client...
On Thu, 2010-09-09 at 09:31 +0200, Joseph Pachod wrote:
Rodolfo Hansen wrote:
How can I use Wicket.Ajax.Request to post a json string to a
DefaultAjaxBehaviour?
How can I use Wicket.Ajax.Request to post a json string to a
DefaultAjaxBehaviour?
On the Javascript side I basically did something like this:
function setupSend(xhr) {
xhr.setRequestHeader(Wicket-Ajax, true);
if (typeof(Wicket.Focus.lastFocusId) != undefined
Wicket.Focus.lastFocusId