Not be able to process in top profil menu

Post Reply
khiter
Posts: 5
Joined: 12 Sep 2011, 12:36

02 Feb 2018, 16:00

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

User avatar
aragorn
Posts: 2985
Joined: 29 Jun 2013, 12:38

08 Feb 2018, 15:49

I tested it and it works fine for me. Do you get an error the console?

Regards,

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest