Re: using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Martino Piccinato
thnx Jesse, I'll look better at the AutoCompleter. But what if I want to use a json request in a client validator? Think about a javascript validator making a request to see if an item with the same code was already inserted making a simple json request to the server, I guess in that case I should

Re: using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Jesse Kuhnert
Implement IJSONRender on a component. http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/dojo/form/Autocompleter.java?view=markup On 5/6/07, Martino Piccinato <[EMAIL PROTECTED]> wrote: Hi all, can anyone give me an example of how to use JSON

using a JSONResponseBuilder (JSON requests/response in tapestry components)

2007-05-06 Thread Martino Piccinato
Hi all, can anyone give me an example of how to use JSON with tapestry? I can see there is a JSONResponseBuidler and I can see there is a tapestry.bindjavascript function that support JSON I can't understand what's the correct way to handle this server side as there seems to be no equivalent "Eve