Hide menuitem's params on URL

UI Components for JSF
Post Reply
rogerio.valente
Posts: 1
Joined: 13 Feb 2014, 18:35

22 May 2017, 21:24

I'm using MenuModel to show a Dynamic Menu basing on user profile and I need to pass some params on menuitem's click.
This first step was easy to solve with setParam method in the menu's build moment and retrieve them on my bean with getRequestParameterMap() method.
My problem is those params are being show in URL after user's click and this cannot occur.
I'd tried to use setIncludeViewParams(false) method but doesn't work.

How can I hide the params from user on URL ?
Rogério Valente
______________________________
PrimeFaces 5.3, PrimeFaces Extensions 4.0.0 | JSF 2.2.5

daniel.lucindo
Posts: 1
Joined: 25 Sep 2020, 21:40

25 Sep 2020, 21:45

You should put those parameters in your user's session :roll: .
Take care.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 54 guests