10. Facelets UI Tag Reference
Contents > Facelets UI Tag Reference > ui:debug
ui:debug |
|
The UI Debug tag allows you to display helpful information about the JSF component tree and scoped variables in your browser when you test your JSF pages. The hotkey attribute specifies a key combination (CTRL + SHIFT + D is the default value) to display the popup window containing the information. The UI Debug tag can be enabled or disabled by setting the rendered attribute.
Example
<h:commandButton value="Continue Shopping" action="#{shoppingCartBean.saveCart}">
<ui:debug />
</h:commandButton>
HTML Output
This tag generates JavaScript that launches a popup window for debugging purposes.
|
Tag Attributes
| hotkey |
Text |
| |
| The key to press with 'CTRL' + 'SHIFT' to display the debug popup window. The default value is CTRL + SHIFT + D. This attribute does not accept EL expressions. |
| rendered |
Boolean |
| |
| A value-binding expression that evaluates to a Boolean condition indicating if this component should be rendered. |
|