You can enable JSON serialization by including dojo.require("dojo.json") in
your html/jsp e.g.
<script type="text/javascript" src="/path/to/dojo.js"></script>
<script type="text/javascript">
dojo.require("dojo.json"); // serialization to JSON
</script>
Is there a JSON specific function/item you were looking for?
HTH
Martin
______________________________________________
Disclaimer and confidentiality note
Everything in this e-mail and any attachments relates to the official business
of Sender. This transmission is of a confidential nature and Sender does not
endorse distribution to any party other than intended recipient. Sender does
not necessarily endorse content contained within this transmission.
> Date: Thu, 22 Jan 2009 17:48:52 +0500
> Subject: Re: [S2] Exception : Cannot create a session after the response has
> been committed
> From: [email protected]
> To: [email protected]
>
> emm, that would be another lengthy thing :). well thanks .. i'll go with the
> plugin part; since i dun want to reinvent the wheel. i guess it'd be quite
> easy to configure and working with it
> Thanks again
> ..alee
> http://techboard.wordpress.com
>
>
>
> On Thu, Jan 22, 2009 at 5:25 PM, Lukasz Lenart <[email protected]
> > wrote:
>
> > 2009/1/22 alee amin <[email protected]>:
> > > Isn't it anyway that i may get the solution without using any more plugin
> > > (i.e the one is mentioned in last email) ?
> >
> > If you don't want to use next plugin, develop your own specific Result
> > to produce JSON stream or use existing Stream Result to send your
> > string data. Don't do this directly from Action.
> >
> >
> > Regards
> > --
> > Lukasz
> > http://www.lenart.org.pl/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> >
_________________________________________________________________
HotmailĀ® goes where you go. On a PC, on the Web, on your phone.
http://www.windowslive-hotmail.com/learnmore/versatility.aspx#mobile?ocid=TXT_TAGHM_WL_HM_versatility_121208