editableValueHolder を含むコンポジットがあり、コンバーターとバリデーターを渡しています。コンバーターが最初に呼び出され、整数のみであるため、100.1 の値が受け入れられることがわかるので、この小さな例を作成しました。
<xyz:InputTextComposite compId = "accountNumber"
property="#{myBean.accountNumber}"
<f:convertNumber integerOnly="true" for="inputTextContents"/>
<f:validateDoubleRange maximum="100" minimum="10" for="inputTextContents" />
</xyz:InputTextComposite>
ただし、ログにこれが表示されます:-
Feb 19, 2013 12:11:58 PM org.apache.myfaces.view.facelets.tag.MetaRulesetImpl finish
SEVERE: /linked/OLT/y.xhtml at line 16 and column 68 for="inputTextContents" Unhandled by MetaTagHandler for type javax.faces.convert.NumberConverter
動作しますが、このようなシステムを提供できるとは思いません :-(