badge (Tobago Core VDL Documentation)
-
- Description:
-
Renders a badge element.
UIComponentClass: org.apache.myfaces.tobago.component.UIBadge
RendererType:
Supported markups:
- pill
- Make badges more rounded.
- primary
- Set badge color to primary color of the theme.
- secondary
- Set badge color to secondary color of the theme.
- danger
- Set badge color to danger color of the theme.
- warning
- Set badge color to warning color of the theme.
- success
- Set badge color to success color of the theme.
- info
- Set badge color to info color of the theme.
- light
- Set badge color to light color of the theme.
- dark
- Set badge color to dark color of the theme.
- none
- Colorless badge.
Info | Value |
---|---|
Component Type | org.apache.myfaces.tobago.Badge |
Handler Class | org.apache.myfaces.tobago.facelets.TobagoComponentHandler |
Renderer Type | Badge |
Description | None |
Name | Required | Type | Description |
---|---|---|---|
binding |
false |
javax.el.ValueExpression (must evaluate to jakarta.faces.component.UIComponent )
|
The value binding expression linking this component to a property in a backing bean. For Facelets, the component is the outer UIPanel, not the input control. Type: jakarta.faces.component.UIComponent |
id |
false |
java.lang.String |
The component identifier for this component. This value must be unique within the closest parent component that is a naming container. Type: java.lang.String |
image |
false |
javax.el.ValueExpression (must evaluate to java.lang.String )
|
Url to an image to display. Type: java.lang.String |
markup |
false |
javax.el.ValueExpression (must evaluate to org.apache.myfaces.tobago.context.Markup )
|
Indicate markup of this component. The allowed markups can be defined or overridden in the theme. The value ‘none’ should not be used any longer. Just leave the attribute empty, or use a NULL pointer. Type: org.apache.myfaces.tobago.context.Markup |
rendered |
false |
javax.el.ValueExpression (must evaluate to java.lang.Boolean )
|
Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. Type: boolean Default: true |
tip |
false |
javax.el.ValueExpression (must evaluate to java.lang.String )
|
Text value to display as tooltip. Type: java.lang.String |
value |
false |
javax.el.ValueExpression (must evaluate to java.lang.Object )
|
The current value of this component. Type: java.lang.Object |
Output generated by Vdldoc View Declaration Language Documentation Generator.