You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Carsten Dimmek (Jira)" <de...@myfaces.apache.org> on 2019/11/06 08:31:00 UTC
[jira] [Created] (TOBAGO-2008) AuthorizationHelper not working with
composite component expressions
Carsten Dimmek created TOBAGO-2008:
--------------------------------------
Summary: AuthorizationHelper not working with composite component expressions
Key: TOBAGO-2008
URL: https://issues.apache.org/jira/browse/TOBAGO-2008
Project: MyFaces Tobago
Issue Type: Bug
Components: Core
Affects Versions: 4.4.1
Reporter: Carsten Dimmek
When i create a composite component and have a secured method referenced with cc.attrs
the AuthorizationHelper fails to resolve the corresponding bean
{code:java}
<cc:interface>
<cc:attribute name="value" type="MyController"/>
</cc:interface>
<cc:implementation>
<tc:button action="#{cc.attrs.value.approve}"/>
</cc:implementation>
class MyController {
@RolesAllowed("admin")
public void approve() {
}
}{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)