panel
While not always necessary, sometimes you need to put your DOM in a box. For those situations, try the panel component.
By default, all the <panel> does is apply some basic border and padding to contain some content.
If you set a label attribute, a <panelheading> will automatically be added with the label text as the body, and a <panelbody> will also be added to hold your body. If not, you will need to add your own heading and body.
- Example
- <b:panel label="Heading">...</b:panel>
- Output
- <div class="panel"><div class="panel-heading">...</div></div>
Tag Information | |
---|---|
Tag Class | org.bootstrapjsp.tags.core.panel.Panel |
Body Content | scriptless |
Dynamic Attributes | true |