I would like to use <p:commandLink instead <a href="#">. I would like to add <p:tooltip to my <p:commandLink .
How can I change this?
Code: Select all
<li><a href="#"> <i
class="topbar-icon material-icons animated swing fa fa-fw fa-bell-o"></i>
<h:outputText id="notificationTopbar"
value="#{numberOfUnreadNotificationByEmployeeNotLazyController.numberOf}"
rendered="#{numberOfUnreadNotificationByEmployeeNotLazyController.numberOf != 0}"
styleClass="topbar-badge animated rubberBand" /> <h:outputText
value="Benachrichtungen" styleClass="topbar-item-name" />
</a>
<ul class="animated">
<li role="menuitem"><a href="#" class="topbar-message"> <h:outputText
styleClass="shorten-long-text"
value="Keine Benachrichtungen vorhanden" rendered="#{numberOfUnreadNotificationByEmployeeNotLazyController.numberOf == 0}"/>
</a></li>
</ul> </li>