You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by P....@albourne.com on 2010/10/15 09:24:22 UTC

Looks like a bug with image submit

Hi,

When using an image submit button it appears that the onSelected event never fires: I.e:

This works:
<!--tml-->
<input t:type="submit"  t:id="notesSearch"  alt="Search" title="Search"/>

//Java
       void onSelectedFromNotesSearch(){
           // is invoked
        }

But this doesn't:
<!--tml-->
<input t:type="submit" t:image="asset:context:images/searcharrow.png" t:id="notesSearch"  alt="Search" title="Search"/>

//Java
     void onSelectedFromNotesSearch(){
              // is not invoked
        }

I am using Tapestry 5.1.0.5.

Cheers,
Peter



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Looks like a bug with image submit

Posted by Peter Stavrinides <P....@albourne.com>.
Ahh yes, thanks! I see it was fixed over a year ago, but wasn't 5.1.0.6 and 5.1.0.7 voted down?


----- Original Message -----
From: "Stephan Windmüller" <st...@tu-dortmund.de>
To: users@tapestry.apache.org
Sent: Friday, 15 October, 2010 12:13:23 GMT +02:00 Athens, Beirut, Bucharest, Istanbul
Subject: Re: Looks like a bug with image submit

On 15.10.2010 09:24, P.Stavrinides@albourne.com wrote:

> When using an image submit button it appears that the onSelected event never fires:

Yes, and it is a known one:

https://issues.apache.org/jira/browse/TAP5-711

Regards
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Looks like a bug with image submit

Posted by Stephan Windmüller <st...@tu-dortmund.de>.
On 15.10.2010 09:24, P.Stavrinides@albourne.com wrote:

> When using an image submit button it appears that the onSelected event never fires:

Yes, and it is a known one:

https://issues.apache.org/jira/browse/TAP5-711

Regards
 Stephan

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org