<pv:menu widgetVar="paradiseMenuWidget" don't update menu after user change login

Post Reply
leo76
Posts: 13
Joined: 03 Jul 2020, 09:44

17 Nov 2022, 20:36

Hi guys,

I'm using menu <pv:menu widgetVar="paradiseMenuWidget" model="#{MenuBean.model}" /> in .xhtml and Bean to profile menu item for different users.

MenuBean.model is invoked only first login, and menu items dosen't update at second login.

Please help me!

Leo

mert.sincan
Posts: 5220
Joined: 29 Jun 2013, 12:38

18 Nov 2022, 12:21

Hi,

You can update it using specific menu id;

Code: Select all

<pv:menu id="layoutMenuId" ...>
And
https://primefaces.github.io/primefaces ... me-updates

Best Regards,

leo76
Posts: 13
Joined: 03 Jul 2020, 09:44

18 Nov 2022, 19:15

Tank's it works.

mert.sincan
Posts: 5220
Joined: 29 Jun 2013, 12:38

21 Nov 2022, 14:25

Glad to hear, thanks a lot for the update!

Post Reply

Return to “Paradise - PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest