aspose file tools*
The moose likes Struts and the fly likes html:button underline Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:button underline" Watch "html:button underline" New topic
Author

html:button underline

Manoj Amrutkar
Ranch Hand

Joined: Apr 15, 2006
Posts: 47
<BUTTON accesskey="r" name="myButton" type="reset"><U>R</U>eset</BUTTON>

can i achieve with html:button of struts...

thanks in advance.

Manoj
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
I played around with it a little, and wasn't able to get it to work with <html:buttton>. It seems to show the <u> and </u> as literals rather than creating an underline. Using the <html:button> tag as opposed to the <BUTTON> tag doesn't really buy you anything, though. If you want an ActionForm property to be populated when the button is pressed, just make sure the name attribute of the button matches one of your ActionForm properties.

P.S. In the future, please don't post a follow-up question as a separate thread. Use the "Post Reply" button on the same thread.
[ May 24, 2006: Message edited by: Merrill Higginson ]

Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: html:button underline