This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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


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
 
Have you checked out Aspose?
 
subject: html:button underline
 
It's not a secret anymore!