Nuno Sousa schrieb: > Hi, > If i use "." like 5.7 it works fine. > But if i use a comma like 5,7 it gives me an warning and does nothing > > [b]Message:[/b] > 15:29:53,550 INFO [lifecycle] WARNING: FacesMessage(s) have been > enqueued, but may not have been displayed. > sourceId=iceform:j_id33:1:input1[severity=(ERROR 2), > summary=(iceform:j_id33:1:input1: '5,7' must be a signed decimal > number.), detail=(iceform:j_id33:1:input1: '5,7' must be a signed > decimal number consisting of zero or more digits, that may be followed > by a decimal point and fraction. Example: 198.23 )] > > How can i solve use a comma, using a converter? Thanks > > I presume you're in a locale like Germany, where "," is the decimal separator and "." is the thousands separator?
If the locale for the current user is set correctly, then the characters are interpreted correctly. If you're finding that JSF is interpreting numbers in English style then the user's locale is probably English. Regards, Simon

