[ http://issues.apache.org/jira/browse/MYFACES-1108?page=comments#action_12365897 ]
Martin Marinschek commented on MYFACES-1108: -------------------------------------------- Wo-ow Thanks Ernst, that's a nice one. I'll commit it later today. regards, Martin > Added new Attributes to HtmlPanelNavigationMenu, NavigationMenuItem and > HtmlCommandLink > --------------------------------------------------------------------------------------- > > Key: MYFACES-1108 > URL: http://issues.apache.org/jira/browse/MYFACES-1108 > Project: MyFaces > Type: New Feature > Components: Tomahawk > Versions: Nightly > Reporter: Ernst Fastl > Priority: Trivial > Fix For: Nightly > Attachments: PanelNavigation_and_CommandLink_Extensions.patch > > Hi! > Following Features are added by this patch: > HtmlPanelNavigationMenu: > -new Attribute Boolean expandAll: > if true all MenuItems are always expanded > -new Attribute Boolean disabled: > if true all MenuItems are disabled > -new Attribute String disabledStyle: > if a MenuItem is disabled its Style will > be set to disabledStyle. This can > be overwritten by disabledStyle Attribute > of the MenuItem > -new Attribute String disabledStyleClass: > if a MenuItem is disabled its StyleClass will > be set to disabledStyleClass. This can > be overwritten by disabledStyleClass Attribute > of the MenuItem > NavigationMenuItem (and UINavigationMenuItem): > -existing Attribute String icon: > Implemented that if set an UIGraphic with url:icon > will be rendered instead of the UIOutput inside the Link > -new Attribute String target: > HTML-Target-Attribute of the created commandLink > will be set to target if available > -new Attribute Boolean disabled: > if true: > * the rendered CommandLinks disabled-Attribute is set > to true > * the Style of the rendered CommandLink is set to > disabledStyle if available > * the StyleClass of the rendered CommandLink is set to > disabledStyleClass if available > * All Children-NavigationItems are disabled > as well > -new Attribute String disabledStyle: > This Style will be used by this Items CommandLink and > its Children-NavigationItems if the Item is disabled, > can be overwritten in a Child-NavigationItem > -new Attribute String disabledStyleClass: > This StyleClass will be used by this Items CommandLink and > its Children-NavigationItems if the Item is disabled, > can be overwritten in a Child-NavigationItem > HTMLCommandLink: > -new Attribute Boolean disabled: > if true: > * a HTML-Span-Element is rendered instead > of the Anchor-Element > * the Style of the rendered Element is set to > disabledStyle if available > * the StyleClass of the rendered Element is set to > disabledStyleClass if available > -new Attribute String disabledStyle: > This Style will be used by this Components rendered Element > if the Component is disabled > -new Attribute String disabledStyleClass: > This StyleClass will be used by this Components rendered > Element > if the Component is disabled -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira