Jesse Kuhnert wrote:
> Ah ...It was what came out of the json response for my locale I guess.
> It was broken  for me as well - but only as a result of ~your~
> change...heh. I suppose it would probably be best to just replace that
> free form text with a call to getGroupingSeparator() instead.

Well, in my platform, the separator is an empty string - which explains
this.
If getGroupingSeparator() works for you as well,  please make the change!

>
> On 12/14/06, andyhot <[EMAIL PROTECTED]> wrote:
>> Jesse, is that separator character (in the json) supposed to be there?
>>
>> It causes my tests to fail... I had removed it previously, but you
>> recommitted it!
>>
>> [EMAIL PROTECTED] wrote:
>> > Author: jkuhnert
>> > Date: Wed Dec 13 11:08:16 2006
>> > New Revision: 486802
>> >
>> > URL: http://svn.apache.org/viewvc?view=rev&rev=486802
>> > Log:
>> > Fixes TAPESTRY-1187.
>> >
>> > Core framework now works under 1.4 jre. :)
>> >
>> >
>> > Modified:
>> tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/form/validator/TestMin.java
>>
>> > URL:
>> http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/form/validator/TestMin.java?view=diff&rev=486802&r1=486801&r2=486802
>>
>> >
>> ==============================================================================
>>
>> > ---
>> tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/form/validator/TestMin.java
>> (original)
>> > +++
>> tapestry/tapestry4/trunk/tapestry-framework/src/test/org/apache/tapestry/form/validator/TestMin.java
>> Wed Dec 13 11:08:16 2006
>> > @@ -124,9 +124,9 @@
>> >          verify();
>> >
>> >          assertEquals(json.toString(),
>> > -               
>> "{\"constraints\":{\"myfield\":[[dojo.validate.isInRange,"
>> > -                + "{min:20.0,decimal:\",\",separator:\" \"}]]},"
>> > -                + "\"myfield\":{\"constraints\":[\"default
>> message\"]}}");
>> > +               
>> "{\"constraints\":{\"myfield\":[[dojo.validate.isInRange," +
>> > +                "{min:20.0,decimal:\",\",separator:\"Â \"}]]}," +
>> > +                "\"myfield\":{\"constraints\":[\"default
>> message\"]}}");
>> >      }
>> >
>> >      public void test_Render_Contribution_Custom_Message()
>> > @@ -161,9 +161,9 @@
>> >          verify();
>> >
>> >          assertEquals(json.toString(),
>> > -               
>> "{\"constraints\":{\"myfield\":[[dojo.validate.isInRange,"
>> > -                + "{min:20.0,decimal:\",\",separator:\" \"}]]},"
>> > -                +
>> "\"myfield\":{\"constraints\":[\"custom\\\\message\"]}}");
>> > +               
>> "{\"constraints\":{\"myfield\":[[dojo.validate.isInRange," +
>> > +                "{min:20.0,decimal:\",\",separator:\"Â
>> \"}]]},\"myfield\":" +
>> > +                "{\"constraints\":[\"custom\\\\message\"]}}");
>> >      }
>> >
>> >  }
>> >
>>
>>
>> -- 
>> Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
>> Tapestry / Tacos developer
>> Open Source / J2EE Consulting
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to