I want to show continuous integer values from a certain min value to max value.
Is there any way of looping from min to max on xhtml page and add loop values to selectItems
Currently I am doing as:
<p:selectOneMenu>
<f:selectItems value="#{bean.intValuesFrom25ToMaxValue}" var="myInteger" itemValue="#{myInteger}" itemLabel="#{myInteger}" />
</p:selectOneMenu>
NOTE: There is no problem with current solution, but I have a lot of different select one menus whose values are just a continuous range of integers, so for all of the I have to write getter functions? Thats why I want to create a loop on xhtml page.