Re: Async=true stops listener from being called in ImageSubmit

2006-10-17 Thread Jesse Kuhnert

I was looking at this just now, but sleep is starting to take hold so it'll
have to wait until tomorrow. Looks like it will be easy enough to fix (js
only issue), but I need to of course carefully think through things and I
don't feel like I'm doing that this late at night.

On 10/16/06, Peter Beshai [EMAIL PROTECTED] wrote:


Err, that should read doImageSubmit()  (the LinkSubmit pointed to that
listener.. but they both do the same thing)


From: Peter Beshai [EMAIL PROTECTED]
Reply-To: Tapestry users users@tapestry.apache.org
To: users@tapestry.apache.org
Subject: Async=true stops listener from being called in ImageSubmit
Date: Mon, 16 Oct 2006 14:07:13 -0400

Has anyone else experienced this?

As soon as I add the binding async=true to my ImageSubmit, it stops
calling
the listener. If I remove the binding, it works as expected. When I try
changing ImageSubmit to LinkSubmit, it works with and without async=true.
Any ideas?

Here is the code I am using:

@Component(bindings = {action=listener:doImageSubmit,
image=myImageSubmitImage, async=true})
public abstract ImageSubmit getMyImageSubmit();

@Asset(/image.gif)
public abstract IAsset getMyImageSubmitImage();


public void doLinkSubmit(IRequestCycle cycle) {
... //breakpoint in here to see if it is called
cycle.getResponseBuilder().updateComponent(myForm);
}


Peter Beshai

_
Essayez la nouvelle génération de recherche avec Live Search.
http://www.live.com/?mkt=fr-ca


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


_
Découvrez Live Search de votre PC ou de votre appareil mobile dès
aujourd'hui. http://www.live.com/?mkt=fr-ca


-
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. http://blog.opencomponentry.com


RE: Async=true stops listener from being called in ImageSubmit

2006-10-16 Thread Peter Beshai
Err, that should read doImageSubmit()  (the LinkSubmit pointed to that 
listener.. but they both do the same thing)




From: Peter Beshai [EMAIL PROTECTED]
Reply-To: Tapestry users users@tapestry.apache.org
To: users@tapestry.apache.org
Subject: Async=true stops listener from being called in ImageSubmit
Date: Mon, 16 Oct 2006 14:07:13 -0400

Has anyone else experienced this?

As soon as I add the binding async=true to my ImageSubmit, it stops calling 
the listener. If I remove the binding, it works as expected. When I try 
changing ImageSubmit to LinkSubmit, it works with and without async=true. 
Any ideas?


Here is the code I am using:

@Component(bindings = {action=listener:doImageSubmit,
   image=myImageSubmitImage, async=true})
   public abstract ImageSubmit getMyImageSubmit();

   @Asset(/image.gif)
   public abstract IAsset getMyImageSubmitImage();


public void doLinkSubmit(IRequestCycle cycle) {
   ... //breakpoint in here to see if it is called
   cycle.getResponseBuilder().updateComponent(myForm);
   }


Peter Beshai

_
Essayez la nouvelle génération de recherche avec Live Search. 
http://www.live.com/?mkt=fr-ca



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



_
Découvrez Live Search de votre PC ou de votre appareil mobile dès 
aujourd’hui. http://www.live.com/?mkt=fr-ca



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