What, do you mean like "bind" ?

http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/js/tapestry/core.js?view=markup

On 8/24/06, Vinicius Carvalho <[EMAIL PROTECTED]> wrote:

Hello there! In my page I have lots of Asynchronous calls using
XMLHttpRequest. I'm having a hard time dealing with so many calls,
I'll show way:

I did not use the XTile component, because I need a better suport from
the Service, and also It's a fire and forget way, I don't need
response.

So My idea was to create an AjaxSend service + component. The
component writes a sendFunction.

Problem is, I'm dealing with a lot of those components on my screen.
Cuz for each listener in the page I add a component (Bad design I
know). So my question is:

Would be possible to have just one script: let's say:

function asynchSend(url,params[]){
... ajax stuff here
}

and then on my Page, I have methods that would return the Listeners urls?
like :

public String getLogoutLink(){
return the url to the logout method ...
}

Is this possible?

Best Regards

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




--
Jesse Kuhnert
Tapestry/Dojo/(and a dash of TestNG), team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.

Reply via email to