can you file an issue in Jira?
I'll look at it, soon...
On 3/27/07, Luka Surija <[EMAIL PROTECTED]> wrote:
Is there any chance that it will be fixed any time soon or is it some
kind of feature that is not known to me?
Luka Surija wrote:
> Hello,
> after switching from m1 to 1.0.1. snapshot, I realize that client
> validator for decimal numbers is broken.
>
> Settings in trinidad-config:
> <number-grouping-separator>.</number-grouping-separator>
> <decimal-separator>,</decimal-separator>
>
> In faces-config.xml:
> <locale-config>
> <default-locale>hr_HR</default-locale>
> <supported-locale>hr_HR</supported-locale>
> <supported-locale>en</supported-locale>
> </locale-config>
>
>
> on code snippet:
>
> somevalue=7.54355
>
>
> Scenario 1:
> <tr:inputText value="#{somevalue}" >
> <tr:convertNumber />
> </tr:inputText>
> <tr:commandButton />
>
> on value in inputText is shown: 7,54355, but clicking on button, alert
> window is open with message:
> Form validation failures:
> 7.54355 is not a number
>
> Scenario 2:
> <tr:inputText value="#{somevalue}" />
> <tr:commandButton />
>
> on value in inputText is shown: 7.54355 - not 7,54355
>
> Scenario 3:
> <tr:inputText value="#{somevalue}" >
> <tr:convertNumber pattern="0.00####"/>
> </tr:inputText>
> <tr:commandButton />
>
> on value in inputText is shown: 7,54355, and there is no client
> validation errors.
>
>
> On snapshot m1 it worked fine on "scenario 1".
>
> Regards
>
>
>
--
Matthias Wessendorf
http://tinyurl.com/fmywh
further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com