Maybe you are trying to drive screw into a board with a hammer?
I recommend just creating servlet to serve up these json style responses and
then use the excellent json.org libraries(instead of hand constructing json
transform your data structures into json automatically). The only issue
you'll
= + encoding);
response.write(json data);
}
-Original Message-
From: John Armstrong [mailto:siber...@siberian.org]
Sent: 31 iulie 2009 17:33
To: users@wicket.apache.org
Subject: Re: Wicket, Ajax and JSON
Maybe you are trying to drive screw into a board with a hammer?
I
Hi,
Instead of using AbstractDefaultAjaxBehavior you can use its superclass
AbstractAjaxBehavior as follows:
AbstractAjaxBehavior behaviour = new AbstractAjaxBehavior()
{
private static final long serialVersionUID = 1L;
@SuppressWarnings(unchecked)
That's cool.
I'm still surprised to see that whenever something remotely
ressembling stateless/REST comes up in the mailing list, the gut
reaction is: servlets. It might be simpler for a few usecases, but
normally you also want to take advantage of other Wicket features -
precisely the reason why
Maybe someone can document a workable solution in the Wiki for future
generations?
Tx
J
On Fri, Jul 31, 2009 at 10:22 AM, francisco treacy
francisco.tre...@gmail.com wrote:
That's cool.
I'm still surprised to see that whenever something remotely
ressembling stateless/REST comes up in the
Thanks guys, loved the AbstractAjaxBehavior solution, and by the way
jqgrid seems to be more active and the way to go(thanks for pointing it
Richard). Keeping fingers crossed for wiQuery and if they even bring the
flexi or jqgrid to wicket it's gonna prove you can have awesome visual
components in