Topbar - I need rendered function option
Posted: 14 Jul 2019, 12:39
Hi all,
In the topbar.xhtml we have code like this:
But I need now to hide or to show this menu entry. For p:link I can add the rendered function, but I need it also for <li role="menuitem">.
How can I do this?
In the topbar.xhtml we have code like this:
Code: Select all
<ul class="animated">
<li role="menuitem"><p:link
outcome="/portal/offerEdit.jsf">
<i class="fa fa-fw fa-file-text-o"></i>
<span>Angebot erstellen</span>
</p:link></li>
How can I do this?