[jbosstools-issues] [JBoss JIRA] (JBIDE-21299) EL Knowledge Base Problem with PrimeFaces functions

Andrei Ivanov (JIRA) issues at jboss.org
Tue Dec 15 03:49:00 EST 2015


    [ https://issues.jboss.org/browse/JBIDE-21299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13141071#comment-13141071 ] 

Andrei Ivanov commented on JBIDE-21299:
---------------------------------------

Thank you :)
I guess I'll open one too for unrecognized methods on enums


> EL Knowledge Base Problem with PrimeFaces functions
> ---------------------------------------------------
>
>                 Key: JBIDE-21299
>                 URL: https://issues.jboss.org/browse/JBIDE-21299
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsf
>    Affects Versions: 4.3.0.Final
>         Environment: Eclipse Mars.1 (4.5.1), Primefaces 5.x
>            Reporter: Andrei Ivanov
>            Assignee: Viacheslav Kabanovich
>            Priority: Minor
>             Fix For: 4.3.1.Beta2, 4.4.0.Alpha1
>
>
> The PrimeFaces functions are not recognized:
> {noformat}
> "ifAnyGranted" cannot be resolved
> "ifGranted" cannot be resolved
> "remoteUser" cannot be resolved
> {noformat}
> These are defined in {{org.primefaces.util.SecurityUtils}} and {{primefaces-5.3.jar/META-INF/primefaces-p.taglib.xml}}.
> {code: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>
> {code}
> Similar to JBIDE-12317



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list