Simply I have an array in my back-bean included some values like '1'-'2'-'3'-'4'-'5'
In JSF I want to use rendered attribute in h:outputlink to visible or invisible a link on data-table rows based on some value from each row
for example I can have the unique id in each row like rowvar.accountType.entity.id
which return an unique id, then I wanna check if that array which I filled it in a back bean contains this id, then rendered value should be true and the row should be visible. like this
<h:outputLink rendered="#{Arrays.asList(acceptedIds).contains(rowvar.accountType.entity.id) }"
but of course it isn't correct !
Could you help me to how to handle it ?