You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by membersound <me...@web.de> on 2012/11/27 14:45:49 UTC

Add icon to a t:submit

Hi,

I want to add icons to my buttons.
For a link I do it like <t:pagelink...> <${context:layout/icon.png}>
</t:pagelink>

But how can I apply this to a <t:submit value="text"/>? How to I get the
icon into the value field?



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Add-icon-to-a-t-submit-tp5718324.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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


Re: Add icon to a t:submit

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Tue, 27 Nov 2012 11:45:49 -0200, membersound <me...@web.de> wrote:

> Hi,

Hi!

> I want to add icons to my buttons.
> For a link I do it like <t:pagelink...> <${context:layout/icon.png}>
> </t:pagelink>
>
> But how can I apply this to a <t:submit value="text"/>? How to I get the
> icon into the value field?

CSS, nothing Tapestry-specific.

-- 
Thiago H. de Paula Figueiredo

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


Re: Add icon to a t:submit

Posted by arterzatij <ar...@gmail.com>.
I done it with

 <t:linksubmit>
       <${button}> 
  </t:linksubmit>

${button}: asset on tapestry page



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Add-icon-to-a-t-submit-tp5718324p5718347.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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