or I should use the commandbutton directly and don't use topbar-icon to do this?
Thank you
PF6.0
omega 1.1.1
Code: Select all
<p:commandLink actionListener="#" id="languagePanel">
<span class="topbar-icon fa fa-language"></span>
</p:commandLink>
<p:overlayPanel id="languageoverlayPanel" for="languagePanel" hideEffect="fade" widgetVar="LPDW">
Test Panel
</p:overlayPanel>
<a href="#">
<span class="topbar-item-text">User</span>
<span class="topbar-icon fa fa-user"></span>
</a>