Description
CommandButton component that can contain one or more child commandButtons as menu items
API
component-family |
net.sf.yui4jsf |
renderer-type |
net.sf.yui4jsf.component.MenuButtonRenderer
|
component-class |
net.sf.yui4jsf.component.button.MenuButton
|
renderer-class |
net.sf.yui4jsf.component.button.MenuButtonRenderer
|
tag-class |
net.sf.yui4jsf.component.button.MenuButtonTag
|
Usage
<yui:menuButton caption="The YUI4JSF Team">
<yui:menuButtonItem value="Cagatay" action="#{menuButtonBean.sayCagatay}">
<yui:menuButtonItem value="Mert" action="#{menuButtonBean.sayMert}">
<yui:menuButtonItem value="Yigit" action="#{menuButtonBean.sayYigit}">
<yui:menuButtonItem value="Hassan" action="#{menuButtonBean.sayHassan}">
<yui:menuButtonItem value="Hazem" action="#{menuButtonBean.sayHazem}">
</yui:menuButton>
Attributes
<yui:menuButton>
Standard Attributes - id, rendered, binding
caption - String value indicates the caption of the menu button.
Instructions
see menuButton.jsp for an example
Additional Information
NONE