Known Workaround: Create a getter method for the Constant.
Ingo Düppe wrote:
Hi,
how can I access a constant integer value within an el-statement.
I like to do something like:
<s:acl domainObject="#{faculty}" hasPermission="#{ACL.GRANT + ACL.UPDATE}">
...
</s:acl>
And ACL is defined as:
public class ACL ... {
public static final Integer GRANT = 1;
public static final Integer CREATE = 2;
public static final Integer UPDATE = 4;
...
}
Any suggestions would be wonderful :-)
Regards
Ingo

