Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-21299

EL Knowledge Base Problem with PrimeFaces functions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 4.3.1.Beta2, 4.4.0.Alpha1
    • 4.3.0.Final
    • jsf
    • None

      The PrimeFaces functions are not recognized:

      "ifAnyGranted" cannot be resolved
      "ifGranted" cannot be resolved
      "remoteUser" cannot be resolved
      

      These are defined in org.primefaces.util.SecurityUtils and primefaces-5.3.jar/META-INF/primefaces-p.taglib.xml.

      <html xmlns="http://www.w3.org/1999/xhtml"
      	xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      	xmlns:h="http://xmlns.jcp.org/jsf/html"
      	xmlns:f="http://xmlns.jcp.org/jsf/core"
      	xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
      	xmlns:p="http://primefaces.org/ui">
      
      #{p:ifAnyGranted('ROLE_USER, ROLE_ADMIN')}
      #{p:ifGranted('ROLE_ADMIN')}
      #{p:remoteUser()}
      
      </html>
      

      Similar to JBIDE-12317

            scabanovich Viacheslav Kabanovich (Inactive)
            andrei.ivanov@gmail.com Andrei Ivanov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: