Hi Oliver,

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

On Tue, Sep 1, 2009 at 10:25 AM, Oliver Bauer<oliver.bauer...@web.de> wrote:
> Hello,
>
> i have some problems with the submit component and the parameter t:image.
> The following works fine with T5.1.0.5
>
> <form t:type="form" t:id="myform">
>  <input type="submit" t:type="submit" t:id="viewselection" title="View"/>
> </form>
>
> and as expected the following methods are called
>
> @OnEvent(component="viewselection", value = EventConstants.SELECTED)
> void someMethodName() {
>  logger.debug("With EventConstants");
> }
> void onSelectedFromViewselection() {
>  logger.debug("With onSelectedFromId");
> }
> @OnEvent(value = "selected", component = "viewselection")
> void someOtherMethodName() {
>  logger.debug("With @OnEvent");
> }
>
> but if i want to use an image for the submit none of those methods are called 
> (the image will be rendered correctly).
> I've used each of the following
>
> <input type="submit" t:type="submit" t:id="viewselection" title="View" 
> t:image="context:images/view.png"/>
> <input type="submit" t:type="submit" t:id="viewselection" title="View" 
> t:image="context:images/view.png"/>
> <t:submit t:id="viewselection" title="view" 
> t:image="context:images/view.png"/>
>
> Whats wrong?
>
> TIA,
> Oliver
> ________________________________________________________________
> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>

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

Reply via email to