Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <p:selectOneMenu id="selectOneMenu" scrollHeight="100"
- value="#{viewEventStatusController.operationId}" autoWidth="false" style="#{componentUnit.style}" styleClass="selectOperationOneMenu" rendered="#{componentUnit.type == 'selectOneMenu'}">
- <!-- I have to set an index, therefore I tried to use forEach -->
- <f:selectItems value="#{viewEventStatusController.convertJsonToList(chat.operations)}" var="opration" itemValue="1" itemLabel="#{operation}" />
- <!-- Here the convertJsonToList is not being called I think because it is parametrized!-->
- <c:forEach items="#{viewEventStatusController.convertJsonToList(chat.operations)}" var="operation" varStatus="count">
- <f:selectItem itemLabel="#{operation}" itemValue="#{count.index}" />
- </c:forEach>
- <!-- the convertJsonToList method is not being called! -->
- <ui:repeat value="#{viewEventStatusController.convertJsonToList(chat.operations)}">
- </ui:repeat>
- </p:selectOneMenu>
Add Comment
Please, Sign In to add comment