[ http://issues.apache.org/jira/browse/MYFACES-117?page=all ]
Manfred Geiler resolved MYFACES-117:
------------------------------------
Assign To: Manfred Geiler
Resolution: Fixed
Fix Version: Nightly Build
Applied Brunos patch, because it won't harm anyone. It is intuitive that
defining the styleClass at the component itself - of course - overrides any
other indirect styleClass. So if someone overrides the commandNavigation
styleClass he propably knows what he is doing ;-)
> styleClass attribute Ignored for commandNavigation tag
> ------------------------------------------------------
>
> Key: MYFACES-117
> URL: http://issues.apache.org/jira/browse/MYFACES-117
> Project: MyFaces
> Type: Bug
> Versions: 1.0.7 beta
> Environment: Window XP, Tomcat
> Reporter: Ted Jones
> Assignee: Manfred Geiler
> Fix For: Nightly Build
> Attachments: MYFACES-117_patch.txt
>
> The panelNavigation stlye class values are picked up, but using the
> styleClass attribute in the commanNavigation tag has no effect.
> <x:panelNavigation
> id="license_nav"
> styleClass="navigation"
> separatorClass="navseparator"
> itemClass="navitem"
> activeItemClass="navitem_active"
> openItemClass="navitem_open">
> <x:commandNavigation
> id="customerNavID"
> action="customer"
> actionListener="#{navigateBean.customerSelected}"
> immediate="true"
> value="Customer"
> styleClass="#{navigateBean.customerStyleClass}"/>
>
> <x:commandNavigation
> id="infoNavID"
> action="licenseinfo"
> actionListener="#{navigateBean.infoSelected}"
> value="License Info"
> styleClass="#{navigateBean.customerStyleClass}"/>
> </x:panelNavigation>
--
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