Page 1 of 1

Not be able to process in top profil menu

Posted: 02 Feb 2018, 16:00
by khiter
hi,
When using usermenu to profil TOP process(actionListener) never works.
the same code in sidarbar profil works.
<a id="menu-button0" href="#" >
<i class="fa fa-align-left" />
<p:graphicImage id="RKBOOB" name="images/avatar.png" library="california-layout" />
</a>

<h:form prependId="false">
<p:menu overlay="true" trigger="RKBOOB" my="left top" at="left bottom">
<p:submenu label="Ajax">
<p:menuitem value="Cyan 01" actionListener="#{mainUserCtrlSBean.setMenuMode(false, false, 'cyan')}" ajax="false"/>
<p:menuitem value="Cyan 02" actionListener="#{mainUserCtrlSBean.setMenuMode(true, false, 'cyan')}" ajax="false"/>
<p:menuitem value="Cyan 03" actionListener="#{mainUserCtrlSBean.setMenuMode(true, true, 'cyan')}" ajax="false"/>
</p:submenu>

</p:menu>
</h:form>


california 1.0
Running on PrimeFaces 6.1.13
Running GlassFish Version: GlassFish Server Open Source Edition 5.0 (build 25)
Initialisation de Mojarra 2.3.2

Re: Not be able to process in top profil menu

Posted: 08 Feb 2018, 15:49
by mert.sincan
I tested it and it works fine for me. Do you get an error the console?

Regards,