If an attribute is of Number type in a VO, One should be able to see a spin component on a jsf page when used as form or table.
In Order to get the spin control explicitly we can use
<af:inputNumberSpinbox value="#{bindings.SortOrder.inputValue}"
label="#{bindings.SortOrder.hints.label}"
</af:inputNumberSpinbox>
Example:
</af:form>
In Order to get the spin control explicitly we can use
<af:inputNumberSpinbox value="#{bindings.SortOrder.inputValue}"
label="#{bindings.SortOrder.hints.label}"
</af:inputNumberSpinbox>
Example:
</af:form>
</af:inputNumberSpinbox label="Year:" value="2006" minimum="1900" maximum="2100"/> </af:form>
FYI:
An attribute is shown as a spin control if it is a Number type
No comments:
Post a Comment