Hello,

I'm looking for a proper way of using built-in Ajax support in T 4.1.1, and
having a bit of a trouble with the following scenario.

I'm trying to push json back down to the client after using DirectLink's (or
any other IDynamicInvoker, e.g. Form) json="true" parameter, or some other
option, like @EventListener. I can't seem to figure out how I could get the
listener method to build json object to return. Also, once the object is
returned, how would I specify a callback function on the client side to deal
with returned data?

T 4.1.1 does make it simple to reload any components after the asynch
request (updateComponents param), but sometimes you want something simpler,
like sending back some data so browser can take care of any changes on
client-side, without having to reload an entire component. I guess I'm
looking for the simplest and most correct way in T4 of implementing JSON-RPC
(http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book9).

Is there any documentation/articles on T's Ajax, which could help me with
this or any other related cases? I'm basically using the source code as the
guide, but in this way figuring out even simplest things takes a while.

Thanks!


                
_______________________________________________________ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to