Hi,
using the following:
<converter>
<converter-id>javax.faces.Integer</converter-id>
<converter-class>
org.apache.myfaces.trinidadinternal.convert.IntegerConverter</converter-class>
</converter>
works, when you wire a property to Integer. The "default" converter in
that case is the mentioned. But, when using "int" instead of Integer
the default converter is "javax.faces.convert.IntegerConverter".
Class type = binding.getType(context.getELContext());
says => int
(I also tried using the <cinverter-for-class>, same)
(JSF RI 1.2.x)
In MyFaces 1.1.x and Trinidad, it works. For int and Integer the
Trinidad IntegerConverter is used.
thx,
M
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com