...
Here are some examples for creating buttons using existing JSP tags (html:html-button is most useful when you want something other than text on your button, like an icon that comes from font awesome or glyphicons; otherwise, html:submit is a great solution):
Code Block | ||
---|---|---|
| ||
<html:html-button property="methodToCall.addAdvanceDeposit" alt="Add an Advance Deposit" title="Add an Advance Deposit" styleClass="btn btn-green skinny" value="Add" innerHTML="<span class=\"fa fa-plus\"></span>"/> <html:submit property="methodToCall.search" value="Search" styleClass="btn btn-default" alt="Search" title="Search" /> |
...