Re: Can't Get IAuthorizationStrategy Working

2014-12-09 Thread Richard W. Adams
12/08/2014 03:55 PM Subject:Re: Can't Get IAuthorizationStrategy Working Hi, Not certain about 1.4.x but in 6.x if a parent component is disabled then all its children are disabled as well. For AbstractLink there is a special #isLinkEnabled() method which combined with Compone

Re: Can't Get IAuthorizationStrategy Working

2014-12-08 Thread Martin Grigorov
Hi, Not certain about 1.4.x but in 6.x if a parent component is disabled then all its children are disabled as well. For AbstractLink there is a special #isLinkEnabled() method which combined with Component#canCallListenerInterface(Method) can make the link enabled even if any of its parents is di

Can't Get IAuthorizationStrategy Working

2014-12-08 Thread Richard W. Adams
We have a use case which requires an enabled link inside a disabled form. The form being disabled is based on user's security role, but the link being enabled depends on the results returned from a separate database query. Thus, we might have a disabled form, but an enabled link, or vice versa.