Hello Jesse, not really, as I understood the bind, needs a url right?
What I need is that url :) I think I might be going against tapestry
internal architecture (I don't fully understand it, but for what I've
seen it seems that it always bind in the url the component it's
invoking right? like: contextpath/pageName,componentId.direct?params

I guess what I'd like to have is a way to call a listener based on a
url parameter, no component attached, just like the way Struts (oops,
just killed a baby seal) does with LookupDispatchAction. I'm aware
people might want to purge me from the list now :P

On 8/24/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
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.



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

Reply via email to