[T4] - Tapestry.bind basic Ajax example

2007-10-19 Thread Loïc Talbot
Hi there, I'm trying to do an XHR request using the same method as "@DirectLink" component. Here is the code: var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); var content; function SendAjaxRequest() { tapestry.bind ("/PhoneBook/app?component=%24DirectLink&

[T4] - Tapestry.bind basic Ajax example

2007-10-18 Thread Loïc Talbot
Hi there, I 'd like to implement a "DirectLink-like" function using tapestry.bind & load functions in order to use the result in other Javascript functions. Here is my simple example: var xmlDoc = new ActiveXObject("Microsoft.XMLDOM"); var content; function SendA