Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.richfaces.component;
 
 import  javax.faces.component.UIComponentBase;
 
The <rich:dropDownMenu> component is used for creating a drop-down, hierarchical menu. It can be used with the <rich:toolbar> component to create menus in an application's toolbar.
        @Facet(name = "label", generate = false), @Facet(name = "labelDisabled", generate = false) }, renderer = @JsfRenderer(type = .), tag = @Tag(name = "dropDownMenu"), attributes = {
        "events-mouse-props.xml""events-key-props.xml""core-props.xml""i18n-props.xml""position-props.xml" })
public abstract class AbstractDropDownMenu extends AbstractMenuContainer {
    public static final String COMPONENT_TYPE = "org.richfaces.DropDownMenu";
    public static final String COMPONENT_FAMILY = "org.richfaces.DropDownMenu";

    
The text label for the menu item. Alternatively, use the label facet to define content for the label
    @Attribute
    public abstract String getLabel();
    public Object getCssRoot() {
        return "ddm";
    }
    public enum Facets {
        label,
        labelDisabled
    }
New to GrepCode? Check out our FAQ X