• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to replace submit tag with stylesheet

 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need to change the below line to use stylesheet. Can some one help out?.
<td><html:submit property="method"><bean:message key="button.edit"/></html:submit>

I was told to use stlesheet class for all buttons. Example looks like this

<input name="save" type="submit" value="Save" class="form_button" >

How can i replace the bove line using style sheet ?. I am using LookupDispatchAction for action class.

Thanks
Sudhakar
 
Seb Mathe
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the styleClass attribute :

<html:submit property="method" styleClass="className">...
 
sudhakar Tadepalli
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks that works.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic