Oracle JDeveloper 11.1.2.3
ADF Faces Rich Component
To enter only numbers/numeric value in ADF InputText,
<af:validateRegExp/> can be used from Operations node in Component Palette.
ADF Faces Rich Component
To enter only numbers/numeric value in ADF InputText,
<af:validateRegExp/> can be used from Operations node in Component Palette.
<af:inputText value="#{bindings.EmployeeNo1.inputValue}" label="#{bindings.EmployeeNo1.hints.label}"
required="#{bindings.EmployeeNo1.hints.mandatory}"
columns="#{bindings.EmployeeNo1.hints.displayWidth}"
maximumLength="#{bindings.EmployeeNo1.hints.precision}"
shortDesc="#{bindings.EmployeeNo1.hints.tooltip}" id="it18"
autoSubmit="true"
valueChangeListener="#{backingBeanScope.book.employeeDetails}">
<f:validator binding="#{bindings.EmployeeNo1.validator}"/>
<af:validateRegExp pattern="[0-9]{1,10}" messageDetailNoMatch="Enter Only Numbers"/>
</af:inputText>