Thank you , it works!
Igor Vaynberg <[EMAIL PROTECTED]> wrote: getrequestcycle().setrequesttarget(new
irequesttarget() {
respond(response r) { r.write(...); }});
-igor
On Jan 14, 2008 6:43 PM, Kevin Liu wrote:
> Hi guys!
> could you tell me how to write json response in the
> AbstractDefaultAjaxBehavior.response(ajaxtarget) method?
> my code :
> ...
> Response response = getResponse();
> response.write("{totalProperty:100,root:[{id:0,name:'name0',descn:'descn0'},]}");
> ...
> but the response is like this:
>
> {totalProperty:100,root:[{id:0,name:'name0',descn:'descn0'},]}
>
>
> how can I remove the
>
>
>
>
>
>
> -Kevin Liu
>
> ---------------------------------
> Never miss a thing. Make Yahoo your homepage.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Kevin Liu
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.