Hello,
I need to migrate
setIcon("/images/search-18.png"); and
setLabel(" "); for org.primefaces.component.tabview.Tab
How shall I do it, please?
Thanks in advance.
Migration from icefaces to primefaces 5.x ...Tab.setIcon
I don't know IceFaces, so just guessing...
- Label : see the docs, there is a 'title' attribute
- Icon: Search the internet: http://stackoverflow.com/questions/8977 ... tab-header
So if you want them combined, use the facet for title and icon and add the facet programmatically (is a generic jsf thing)
- Label : see the docs, there is a 'title' attribute
- Icon: Search the internet: http://stackoverflow.com/questions/8977 ... tab-header
So if you want them combined, use the facet for title and icon and add the facet programmatically (is a generic jsf thing)
Either you can use icon attribute(available for few components) or else use it as CSS style class
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/
___________________
Sudheer Jonna
-
- Information
-
Who is online
Users browsing this forum: No registered users and 22 guests