You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by URTsreenivas <sr...@uroomtech.com> on 2009/04/30 05:52:59 UTC

Adding Text & Image to struts tag

i am using struts submit tag . i want to add the both text and image to
struts submit button how is it possible? 

Thanks in Advance
-- 
View this message in context: http://www.nabble.com/Adding-Text---Image-to-struts-tag-tp23309438p23309438.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Adding Text & Image to struts tag

Posted by "Kishan G. Chellap Paandy" <ki...@spanservices.com>.
And also have a look at http://struts.apache.org/2.1.6/docs/submit.html 

Thank you.
Regards,
Kishan.G
 
Senior Software Engineer.
www.spansystems.com




-----Original Message-----
From: Kishan G. Chellap Paandy 
Sent: Thursday, April 30, 2009 5:33 PM
To: 'Struts Users Mailing List'
Subject: RE: Adding Text & Image to struts tag

Hi Sreenivas,

For image use submit "type" as image and "src" (this image you will
design with the text you want), if you want to use text use submit type
as input or button. If you want to use both make use of submit tag's
cssClass and type as input or button. 

May be this will help.

Thank you.
Regards,
Kishan.G
 
Senior Software Engineer.
www.spansystems.com




-----Original Message-----
From: URTsreenivas [mailto:sreenivas.jawaji@uroomtech.com] 
Sent: Thursday, April 30, 2009 9:23 AM
To: user@struts.apache.org
Subject: Adding Text & Image to struts tag


i am using struts submit tag . i want to add the both text and image to
struts submit button how is it possible? 

Thanks in Advance
-- 
View this message in context:
http://www.nabble.com/Adding-Text---Image-to-struts-tag-tp23309438p23309
438.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


RE: Adding Text & Image to struts tag

Posted by "Kishan G. Chellap Paandy" <ki...@spanservices.com>.
Hi Sreenivas,

For image use submit "type" as image and "src" (this image you will
design with the text you want), if you want to use text use submit type
as input or button. If you want to use both make use of submit tag's
cssClass and type as input or button. 

May be this will help.

Thank you.
Regards,
Kishan.G
 
Senior Software Engineer.
www.spansystems.com




-----Original Message-----
From: URTsreenivas [mailto:sreenivas.jawaji@uroomtech.com] 
Sent: Thursday, April 30, 2009 9:23 AM
To: user@struts.apache.org
Subject: Adding Text & Image to struts tag


i am using struts submit tag . i want to add the both text and image to
struts submit button how is it possible? 

Thanks in Advance
-- 
View this message in context:
http://www.nabble.com/Adding-Text---Image-to-struts-tag-tp23309438p23309
438.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org