How hide for Worker individual items in Competencies Section depending on Manager Rating
Summary:
Need to hide for Worker individual items, in Competencies Section, depending on Manager Rating
Content (required):
In performance document we need to hide for Worker, individual items in Competencies Section depending on Manager Rating.
Items evaluated with specific value (for example "No") must be hidden for worker, while Items evaluated with other values (for example "Yes") must be visible for worker.
In order to hide Performance Rating I found this expression:
#{attrs.isRendered and attrs.readOnly and attrs.listRatingItems != null and attrs.listRatingValue != null and !(attrs.listRatingItems[attrs.listRatingValue].label eq 'No, la risorsa non risulta pronta' and pageFlowScope.pRoleTypeCode eq 'WORKER')}