Doing the security check in onBeforeRender() in the Panel fixed it. I
did not have a Page yet.
Warren
I am trying to do a security check on a component that is on a panel
like this:
if(SecureComponentHelper.isAuthenticated(myComponent)
I am trying to do a security check on a component that is on a panel
like this:
if(SecureComponentHelper.isAuthenticated(myComponent)
SecureComponentHelper.isActionAuthorized(myComponent, enable))
{
// Do Something
}
I have also tried this:
if(myComponent.isAuthenticated()