Hi Andrea,

I guess your problem is related to jQuery's validation of the response.
To parse the text response to JSON jQuery needs
1) correct response content-type header
2) valid JSON - make sure the keys are in double quotes

Show us your code and the produced response for more help.


On Mon, Jun 10, 2013 at 2:02 PM, Andrea Del Bene <an.delb...@gmail.com>wrote:

> Hi,
>
> can anybody point me to some code that illustrates how to produce a JSON
> valid text with a mounted resource? My goal is to load it via AJAX in a
> page with JQuery function getJSON.
> I've tried to directly write JSON into the response object without any
> success.
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org<users-unsubscr...@wicket.apache.org>
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to