0

I need to show the reset password button only if selected user usertype is 'External' , hide the reset password button if user usertype is 'Employee'.

used EL expression #{!bindings.role.inputValue=='Employee'} to hide this button, bindings.role.inputValue value itself coming as null, am I missing anything in regards to bindings or does it need to be implemented using custom managed bean ?

Thanks

Raghu B
  • 11
  • 1

1 Answers1

0

You can make use of EL expression and check the current role of the loged in user. e.g.

#{oimcontext.currentUser.roles['SYSTEM ADMINISTRATORS'] != null}
Chaitanya K
  • 1,827
  • 4
  • 32
  • 67
Berkley Lamb
  • 283
  • 2
  • 12