You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Oliver Bauer <ol...@web.de> on 2009/09/01 09:27:19 UTC

T5.1.0.5 Submit with image (was Re: )

Sorry for the missing subject

> 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-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 
> 


______________________________________________________
GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de


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


Re: T5.1.0.5 Submit with image (was Re: )

Posted by Ulrich Stärk <ul...@spielviel.de>.
https://issues.apache.org/jira/browse/TAP5-711

On 01.09.2009 09:27 schrieb Oliver Bauer:
> Sorry for the missing subject
> 
>> 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-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>>
>>
> 
> 
> ______________________________________________________
> GRATIS für alle WEB.DE-Nutzer: Die maxdome Movie-FLAT!
> Jetzt freischalten unter http://movieflat.web.de
> 
> 
> ---------------------------------------------------------------------
> 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