Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

b:navbar does not support styleClass and class attribute does not work #181

Closed
wfsaxton opened this issue Sep 22, 2015 · 4 comments
Closed

Comments

@wfsaxton
Copy link

HTML components use class attribute for setting the CSS class for components. JSF components use styleClass to do the same. b:navbar "class" attribute says its supports CSS classes, but it doesn't appear to work. This should use styleClass anyway.

@stephanrauh
Copy link
Collaborator

It's true that b:navBar supports neither style nor styleClass. We should fix this.

However, neither the BootsFaces documentation nor the BootsFaces tag library claim to support one of these attributes, so it shouldn't appear in the autocompletion list of your IDE. Maybe - just maybe - you or your IDE are confused by the class attribute every Java class has? Just a far shot.

@wfsaxton
Copy link
Author

Yes, thanks, its the IDE that thinks its an attribute.

@stephanrauh
Copy link
Collaborator

Solved in BootsFaces 0.8.0.

@stephanrauh
Copy link
Collaborator

I've uploaded a new developer snapshot, so you can test my changes. More details at #151.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants