I want to built a menu.
If I click on a link a output panel will disappear => WORK!
Now I want to click on the new link which was appear, but this link doesn´t work and the submenu will now disappear again.
So I have the problem, that the link doesn´t work and the submenu shouldn´t now disapear.
How can I fix this problem?
Code: Select all
<div class="menu_headline">
<p:commandLink value="Verwaltung"
update="verwaltung">
<f:setPropertyActionListener value="#{true}" target="#{requestScope.renderverwaltungSubmenue}" />
</p:commandLink>
</div>
<p:outputPanel id="verwaltung">
<div id="submenu">
<ul>
<li>
<h:commandLink action="#{apv.findAllArbeitsplatz}"
class="leftnav_1"
value="Alle Verwaltungen"
rendered="#{requestScope.renderverwaltungSubmenue}"/>
</li>
</ul>
</div>
</p:outputPanel>