button

A button. Buttons are either a <button> or a <a> element depending on whether you give the button an "href" attribute or not.

Example
<button context="primary">... </button>
Output
<button class="btn btn-primary">... </button>

Tag Information
Tag Class org.bootstrapjsp.tags.core.button.Button
Body Content scriptless
Dynamic Attributes true

Attributes

Name Description Flags
block Setting block to "true" will cause the button to be a block level button, spanning the full width of the parent.
rtexprvalue
dismiss Sets the "data-dismiss" attribute of the button. Any value is allowed, there is no validation.
rtexprvalue
href Setting an "href" on a button will change the button to an anchor so it can be clicked on to trigger navigation to the given URL.
rtexprvalue
target Sets the "data-target" attribute of the button. The given value is prepended with a hash for you if one is not given. Absolute URLs are not supported.
rtexprvalue