You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by #Cyrille37# <cy...@gmail.com> on 2007/07/02 08:31:32 UTC

[T4] about JSON in Tapestry

Hi,
I can see that JSon is implemented in Tapestry4.1.x 
(IJSONRender,ResponseBuilder)

Today I use JSon for communicate between Java Applet and WebApp, I've go 
a Servlet that make the bridge from JSon call to the WebApp via some 
Spring Beans.

Perhaps I can stop to use this Servlet and manage JSon exchanges 
directly with Tapestry but I do not know where to start.

Can you give me some points please ?
Thanks
cyrille




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T4] about JSON in Tapestry

Posted by #Cyrille37# <cy...@gmail.com>.
Igor Drobiazko a écrit :
> Hi,
>
> in tapestry JSON is used to render the asynchronous response to the 
> client.
> Lets say you have an ajax component which has some javascript.
> The component provides needed data for its javascript via JSON.
>
> I'm not sure whether it is your scenario but you could have a look at:
> http://tapestry.apache.org/tapestry4.1/ajax/json.html
Thanks,

I'll try to make a page/component which live like those ajax enabled 
components.

cyrille.

>
> br, Igor
>
> On 7/2/07, #Cyrille37# <cy...@gmail.com> wrote:
>>
>> Hi,
>> I can see that JSon is implemented in Tapestry4.1.x
>> (IJSONRender,ResponseBuilder)
>>
>> Today I use JSon for communicate between Java Applet and WebApp, I've go
>> a Servlet that make the bridge from JSon call to the WebApp via some
>> Spring Beans.
>>
>> Perhaps I can stop to use this Servlet and manage JSon exchanges
>> directly with Tapestry but I do not know where to start.
>>
>> Can you give me some points please ?
>> Thanks
>> cyrille
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: [T4] about JSON in Tapestry

Posted by Igor Drobiazko <ig...@gmail.com>.
Hi,

in tapestry JSON is used to render the asynchronous response to the client.
Lets say you have an ajax component which has some javascript.
The component provides needed data for its javascript via JSON.

I'm not sure whether it is your scenario but you could have a look at:
http://tapestry.apache.org/tapestry4.1/ajax/json.html

br, Igor

On 7/2/07, #Cyrille37# <cy...@gmail.com> wrote:
>
> Hi,
> I can see that JSon is implemented in Tapestry4.1.x
> (IJSONRender,ResponseBuilder)
>
> Today I use JSon for communicate between Java Applet and WebApp, I've go
> a Servlet that make the bridge from JSon call to the WebApp via some
> Spring Beans.
>
> Perhaps I can stop to use this Servlet and manage JSon exchanges
> directly with Tapestry but I do not know where to start.
>
> Can you give me some points please ?
> Thanks
> cyrille
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>