I believe this behavior is useful for this component. I think the ability to change the style class based on some
server state is very nice and adds flexibility beyond the default
styles. That was the use case I had when I wrote the defect. I assume this is why this atrribute was included in the first
place?
On 5/24/05, sean schofield (JIRA) <
[email protected]> wrote:
[ http://issues.apache.org/jira/browse/MYFACES-117?page=comments#action_66195
]
sean schofield commented on MYFACES-117:
----------------------------------------
Manfred, I am thinking we should mark this as Won't Fix (that is essentially what Bruno is recommending.)
> 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
> 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="">> actionListener="#{navigateBean.customerSelected}"
> immediate="true"
> value="Customer"
> styleClass="#{
navigateBean.customerStyleClass}"/>
> <x:commandNavigation
> id="infoNavID"
> action="">> 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