Matthias Wessendorf wrote:
> 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
>
Thanks for pointing this out.
Please log an issue.