Hi guys,
In my application, negative numbers (Integer and Double) are not allowed so I tried to replace default converters for my own UnsignedIntegerConverter and UnsignedDoubleConverter that check if the number is positive:
@org.jboss.seam.annotations.faces.Converter(forClass = Integer.class) @Name("unsignedIntegerConverter") public class UnsignedIntegerConverter implements Converter { ... }
@org.jboss.seam.annotations.faces.Converter(forClass = Double.class) @Name("unsignedDoubleConverter") public class UnsignedDoubleConverter implements Converter { ... }
The UnsignedIntegerConverter works fine but UnsignedDoubleConvert is never called.
Someone could turn the lights on?
Sorry guys,
We have other converters registered for currecy values so the unsigned double was never invoked.