Page 1 of 1

calendar widget:lang

PostPosted: Fri Jan 20, 2012 12:47 am
by jak
Hi, I'm new to Xataface and very impressed by the easy way to build an application with just plugging my Database to xataface.
I have realized a small application with the aim of managing research contracts and providing facilitation for reporting information. The date data are inserted using the widget calendar, and I have used the strftime syntax provided through widget:ifFormat parameter (this application is for french users). This works fine, but when I want to translate the time picker itself, I find issue... Nothing happens when I try to use widget:lang=fr . If somebody could say to me where is my mistake I would be very grateful.

Thanks in advance.

My fields.ini

[dt_signature]
widget:label = "Date de signature"
widget:type=calendar
widget:lang=fr
widget:ifFormat="%d/%m/%Y"
group = Dates
order=9

Re: calendar widget:lang

PostPosted: Mon Jan 23, 2012 12:25 pm
by shannah
There is a bug in Xataface 1.3rc6. It is fixed in the 1.3.x SVN branch.
If you replace the contents of Dataface/FormTool/calendar.php
with what you find at
http://weblite.ca/svn/dataface/core/tru ... lendar.php

It should fix the issue.

-Steve

Re: calendar widget:lang

PostPosted: Wed Jan 25, 2012 5:15 am
by jak
Thank steve, your fix solved my problem!

Xataface is a fairly nice soft for CRUD actions.