Issue with p:ifAnyGranted/Granted post migration to ver 6.0

jQuery UI Widgets
Post Reply
nisarg
Posts: 2
Joined: 30 Aug 2016, 09:03

30 Aug 2016, 09:12

Hi I have recently migrated from PrimeFaces 3.5 to 6.0 and I am facing issue with updating p:ifAnyGranted/ifGranted/ifAllGranted in all my xhtml files.
Example would be:

Code: Select all

<p:tab title="View transactions"
                   rendered="#{p:ifAnyGranted('ROLE_ADMINISTRATOR,ROLE_TEAM_LEADER,ROLE_CONSULTANT,ROLE_SUPPLIER,ROLE_ACCOUNTANT')}">
As can be seen above, I also tried removing spaces which I had after each of the role text.

I am not even getting any errors for this. Before this I had <sec: everywhere and I followed the instructions from user guide PDF on page 619.



:?: :?: :?: :oops: :cry: :shock: :? :roll: :ugeek:

Post Reply

Return to “PrimeUI”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 11 guests