Interface MenuItem

    • Method Detail

      • getIconPos

        String getIconPos()
      • shouldRenderChildren

        boolean shouldRenderChildren()
      • isDisabled

        boolean isDisabled()
      • getOnclick

        String getOnclick()
      • getStyleClass

        String getStyleClass()
      • getUrl

        String getUrl()
        The URL to redirect to after the menu item has been clicked. Similar to outcome which allows to specify a navigation case, but the value is not touched (no prepending of the contextPath, not appending the sessionId or windowId), just encoded. Specifying a url which is not null causes command to be ignored.
        Returns:
        the URL.
      • getTarget

        String getTarget()
      • getOutcome

        String getOutcome()
        The JSF outcome of a navigation case which is resolved by the configured NavigationHandler. Similar to url, but url allows to specify fully qualified URLs.
        Returns:
        the outcome.
      • getFragment

        String getFragment()
      • isIncludeViewParams

        boolean isIncludeViewParams()
      • isAjax

        boolean isAjax()
      • setStyleClass

        void setStyleClass​(String styleClass)
      • isDynamic

        boolean isDynamic()
      • getCommand

        String getCommand()
        A MethodExpression in the form of a string which is called after the menu item has been clicked. It is ignored when url is not null.
        Returns:
        The outcome, which will be used for navigation.
      • isImmediate

        boolean isImmediate()
      • getClientId

        String getClientId()
      • getContainerStyle

        String getContainerStyle()
      • getContainerStyleClass

        String getContainerStyleClass()
      • isEscape

        boolean isEscape()