That fixed it (not the cache, which I had already cleared). Thanks.

J


On 14-May-07, at 4:41 PM, Jesse Kuhnert wrote:

Dojo was upgraded to 0.4.2 over the weekend, it may very well be the case that your browser cache just hasn't picked up the changes yet - but I did just notice that I'm missing a require() in the translator part of that even
though it is in the validators.  I'll fix that part tonight.

I may also add in some build version information into the url that is
generated for static assets so that upgrades happen more seamlessly. (by may I mean tonight when I fix the translator) This seems like an obvious
feature that should have been done since the beginning..

On 5/14/07, Julian Wood <[EMAIL PROTECTED]> wrote:

Did something happen to dojo over the weekend?

The latest tapestry 4.1.2-snapshot has suddenly started giving me

dojo.i18n.number has no properties

errors. This is invoked when you have client-side validation on, and
you place a translator:number on a TextField. You get some js like
this (below), and dojo.i18n.number doesn't seem to exist.

tapestry.form.registerProfile('addBillableItemEventForm',{"required":
["billableItem","project"],"billableItem":{"required":["You must
enter a value for Billable Item."]},"project":{"required":["You must
enter a value for Project."]},"constraints":{"quantity":
[[dojo.i18n.number.isReal,null,{places:0,decimal:"."}]],"cost":
[[dojo.i18n.number.isReal,null,{places:1,decimal:"."}]]},"quantity":
{"constraints":["Quantity must be a numeric value. "]},"cost":
{"constraints":["Cost must be a numeric value. "]}});

Thanks,

J

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca





--
Jesse Kuhnert
Tapestry/Dojo team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com

--
Julian Wood <[EMAIL PROTECTED]>

Software Engineer
Teaching & Learning Centre
University of Calgary

http://tlc.ucalgary.ca


Reply via email to