On 08/15/2012 03:25 PM, Nicky Ramone wrote:
I'm not clear on what 'app' is, although it looks like the Jenkins object.
Right.
I have defined the getMyCustomPermission() method, but it doesn't work.
Maybe the 'it' variable is not correctly parsed when being inside ${h...}?
It ought to work. 'it' will be bound to whatever object is the "subject" of the page, so make sure getMyCustomPermission is defined in the right class. Try inserting some
debugging fragments:
it=<j:out value="${it}"/>
it.myCustomPermission=<j:out value="${it.myCustomPermission}"/>