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 implement an EngineService, am I right?
On 5/6/07, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
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 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 > "EventListener" for JSON request/response. Am I supposed to do and map an > on > purpose EngineService? > > Thanks > > Martino > -- Jesse Kuhnert Tapestry/Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com