Skip to content

Instantly share code, notes, and snippets.

@avernet
Created March 22, 2010 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avernet/340318 to your computer and use it in GitHub Desktop.
Save avernet/340318 to your computer and use it in GitHub Desktop.
Delivered-To: avernet@gmail.com
Received: by 10.90.52.11 with SMTP id z11cs9239agz;
Fri, 19 Mar 2010 03:41:52 -0700 (PDT)
Received: by 10.140.56.16 with SMTP id e16mr3100435rva.143.1268995311238;
Fri, 19 Mar 2010 03:41:51 -0700 (PDT)
Return-Path: <avernet+caf_=avernet=gmail.com@orbeon.com>
Received: from mail-pw0-f45.google.com (mail-pw0-f45.google.com [209.85.160.45])
by mx.google.com with ESMTP id 3si21717050pxi.62.2010.03.19.03.41.50;
Fri, 19 Mar 2010 03:41:51 -0700 (PDT)
Received-SPF: neutral (google.com: 209.85.160.45 is neither permitted nor denied by best guess record for domain of avernet+caf_=avernet=gmail.com@orbeon.com) client-ip=209.85.160.45;
Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.45 is neither permitted nor denied by best guess record for domain of avernet+caf_=avernet=gmail.com@orbeon.com) smtp.mail=avernet+caf_=avernet=gmail.com@orbeon.com
Received: by mail-pw0-f45.google.com with SMTP id 9so2081071pwi.32
for <avernet@gmail.com>; Fri, 19 Mar 2010 03:41:50 -0700 (PDT)
Received: by 10.115.65.20 with SMTP id s20mr3337371wak.226.1268995310747;
Fri, 19 Mar 2010 03:41:50 -0700 (PDT)
X-Forwarded-To: avernet@gmail.com
X-Forwarded-For: avernet@orbeon.com avernet@gmail.com
Delivered-To: avernet@orbeon.com
Received: by 10.114.144.14 with SMTP id r14cs15613wad;
Fri, 19 Mar 2010 03:41:49 -0700 (PDT)
Received: by 10.223.76.132 with SMTP id c4mr10430317fak.106.1268995307097;
Fri, 19 Mar 2010 03:41:47 -0700 (PDT)
Return-Path: <ops-users-owner@ow2.org>
Received: from mail.ow2.org (ow2-02.xsalto.net [81.200.36.99])
by mx.google.com with ESMTP id 9si2670999fxm.27.2010.03.19.03.41.46;
Fri, 19 Mar 2010 03:41:47 -0700 (PDT)
Received-SPF: neutral (google.com: 81.200.36.99 is neither permitted nor denied by domain of ops-users-owner@ow2.org) client-ip=81.200.36.99;
Received: by mail.ow2.org (Postfix, from userid 0)
id 344A77BAF2; Fri, 19 Mar 2010 11:41:46 +0100 (CET)
X-Sympa-To: ops-users@ow2.org
X-Original-To: ops-users@ow2.org
Delivered-To: ops-users@ow2.org
Received: from localhost (unknown [127.0.0.10])
by mail-in.ow2.org (Postfix) with ESMTP id A333F7BBB9
for <ops-users@ow2.org>; Tue, 16 Mar 2010 18:43:17 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at ow2-02.xsalto.net
Received: from mail-in.ow2.org ([127.0.0.1])
by localhost (mail.ow2.org [127.0.0.1]) (amavisd-new, port 10025)
with ESMTP id qU0YtS8ROSk7 for <ops-users@ow2.org>;
Tue, 16 Mar 2010 18:43:17 +0100 (CET)
Received: from TX2EHSOBE007.bigfish.com (tx2ehsobe004.messaging.microsoft.com [65.55.88.14])
by mail-in.ow2.org (Postfix) with ESMTP id 3041D7BB9E
for <ops-users@ow2.org>; Tue, 16 Mar 2010 18:43:17 +0100 (CET)
Received: from mail122-tx2-R.bigfish.com (10.9.14.244) by
TX2EHSOBE007.bigfish.com (10.9.40.27) with Microsoft SMTP Server id
8.1.340.0; Tue, 16 Mar 2010 17:43:16 +0000
Received: from mail122-tx2 (localhost [127.0.0.1]) by
mail122-tx2-R.bigfish.com (Postfix) with ESMTP id 80CA26106CA for
<ops-users@ow2.org>; Tue, 16 Mar 2010 17:43:16 +0000 (UTC)
X-SpamScore: -81
X-BigFish: VPS-81(zz1432R15caKJ98dN936eM1442Ja2dbK9371P85e9jzz1202hzz2db9iz2fh6bh43h61h)
X-Spam-TCS-SCL: 0:0
X-FB-SS: 5,
Received: from mail122-tx2 (localhost.localdomain [127.0.0.1]) by mail122-tx2
(MessageSwitch) id 12687613935799_2961; Tue, 16 Mar 2010 17:43:13 +0000 (UTC)
Received: from TX2EHSMHS006.bigfish.com (unknown [10.9.14.253]) by
mail122-tx2.bigfish.com (Postfix) with ESMTP id F274E250015 for
<ops-users@ow2.org>; Tue, 16 Mar 2010 17:43:12 +0000 (UTC)
Received: from c1-ex002.groupinfra.com (81.145.48.109) by
TX2EHSMHS006.bigfish.com (10.9.99.106) with Microsoft SMTP Server id
14.0.482.39; Tue, 16 Mar 2010 17:43:11 +0000
Received: from fr-ex001.groupinfra.com ([10.83.3.6]) by
c1-ex002.groupinfra.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 16 Mar
2010 17:43:10 +0000
Received: from FR-EX011.groupinfra.com ([10.83.3.45]) by
fr-ex001.groupinfra.com with Microsoft SMTPSVC(6.0.3790.2499); Tue, 16 Mar
2010 18:43:09 +0100
X-MimeOLE: Produced By Microsoft Exchange V6.5
MIME-Version: 1.0
Date: Tue, 16 Mar 2010 18:42:41 +0100
Message-ID: <7A3F6CCD7C63384EACCADBD2262305AE6BD865@FR-EX011.groupinfra.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [ops-users] Re: Re: RE: Re: format in date component
Thread-Index: AcrFLP5jA/fkuDezT1Wpyu0emo4pVQAAoXfg
References: <7A3F6CCD7C63384EACCADBD2262305AE66BA3B@FR-EX011.groupinfra.com> <4828ceec1003091508y1470b70chbb61e284cc4d37db@mail.gmail.com> <7A3F6CCD7C63384EACCADBD2262305AE66BD58@FR-EX011.groupinfra.com> <4828ceec1003111818w7dbd5cf3kac724a0b8283e1ff@mail.gmail.com> <1268414014326-1590818.post@n4.nabble.com> <4828ceec1003161017t5fe35c6u2355263462f91f49@mail.gmail.com>
From: "Bittard, Julien" <julien.bittard@logica.com>
To: <ops-users@ow2.org>
X-OriginalArrivalTime: 16 Mar 2010 17:43:09.0684 (UTC) FILETIME=[249CD340:01CAC530]
X-Reverse-DNS: unknown
X-Validation-by: jeremy.casery@bull.net
Subject: [ops-users] RE: Re: Re: RE: Re: format in date component
Reply-To: ops-users@ow2.org
X-Loop: ops-users@ow2.org
X-Sequence: 4742
Errors-to: ops-users-owner@ow2.org
Precedence: list
X-no-archive: yes
List-Id: <ops-users.ow2.org>
List-Help: <mailto:sympa@ow2.org?subject=help>
List-Subscribe: <mailto:sympa@ow2.org?subject=subscribe%20ops-users>
List-Unsubscribe: <mailto:sympa@ow2.org?subject=unsubscribe%20ops-users>
List-Post: <mailto:ops-users@ow2.org>
List-Owner: <mailto:ops-users-request@ow2.org>
List-Archive: <http://mail.ow2.org/wws/arc/ops-users>
Content-type: multipart/mixed; boundary="----------=_1268995302-4772-163"
This is a multi-part message in MIME format...
------------=_1268995302-4772-163
Content-Class: urn:content-classes:message
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ok.
Just two questions : if I good understand, I need only update the xforms.js=
file ?
When I finish, how do I send my changes?
Thank You.
Julien.
-----Message d'origine-----
De=A0: Alessandro Vernet [mailto:avernet@orbeon.com]=20
Envoy=E9=A0: mardi 16 mars 2010 18:17
=C0=A0: ops-users@ow2.org
Objet=A0: [ops-users] Re: Re: RE: Re: format in date component
Julien,
* The property is oxf.xforms.format.input.date (default in properties-xform=
s.xml), with the possible value of: [M]/[D]/[Y] or [D]/[M]/[Y] or [D].[M].=
[Y]
* To this, you would add the following acceptable value:
[D01]/[M01]/[Y]. For completeness, I recommend you also add [M01]/[D01]/[Y].
* The Java code will work out of the box because it uses XSLT's
format-date() in output.
* You'll need to change the JavaScript code. For this look for FORMAT_INPUT=
_DATE_PROPERTY in xforms.js.
* For hints on JavaScript development, see:
http://wiki.orbeon.com/forms/doc/contributor-guide/javascript-development
* And this part if the documentation should be updated:
http://wiki.orbeon.com/forms/doc/developer-guide/xforms-controls#TOC-Date-a=
nd-time-format
* The update the wiki, please send me an email address you use to log into =
Google (typically @gmail.com) and I will add you to the ACL. You can send m=
e this by private email if you wish.
You'll let me know how it goes!
Alex
On Fri, Mar 12, 2010 at 10:13 AM, ricetrac <julien.bittard@logica.com> wrot=
e:
>
> We could contribute to the code, but we need some help to start the=20
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro =A0Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to=20
>> implement this anytime soon unless a company with Development plan=20
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=3Ddetail&aid=3D314828&group_i
>> d=3D168&atid=3D350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien=20
>> <julien.bittard@logica.com> wrote:
>>> Yes, it would be a good idea to add this format :
>>> DD/MM/YYYY in order to have a date like this : 21/01/2010 instead of=20
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De=A0: Alessandro Vernet [mailto:avernet@orbeon.com] Envoy=E9=A0: mercr=
edi=20
>>> 10 mars 2010 00:09 =C0=A0: ops-users@ow2.org Objet=A0: [ops-users] Re:=
=20
>>> format in date component
>>>
>>> Julien,
>>>
>>> Only 3 formats are supported at this point, see:
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-prope
>>> rties/configuration-properties-xforms#TOC-For-xforms:input-
>>>
>>> Of course, additional format could be added in the future.
>>>
>>> Alex
>>>
>>> On Fri, Mar 5, 2010 at 10:01 AM, Bittard, Julien=20
>>> <julien.bittard@logica.com> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226=20
>>>> and I would like to know if it is possible to have this french date fo=
rmat=A0:
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I=A0noticed also a bug, i think, when i add a <xforms:alert> on the=20
>>>> <fr:date> component, the exclamation mark is display, but not the=20
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this=20
>>>> email / Pour contribuer comme Logica au respect de l'environnement,=20
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese=20
>>>> Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu=20
>>>> sch=FCtzen. / Por favor ajude a Logica a respeitar o ambiente n=E3o=20
>>>> imprimindo este correio electr=F3nico. This e-mail and any attachment=
=20
>>>> is for authorised use by the intended recipient(s) only.
>>>> It may contain proprietary material, confidential information=20
>>>> and/or be subject to legal privilege. It should not be copied,=20
>>>> disclosed to, retained or used by, any other party. If you are not=20
>>>> an intended recipient then please promptly delete this e-mail and=20
>>>> any attachment and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> You receive this message as a subscriber of the ops-users@ow2.org=20
>>>> mailing list.
>>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>>> For general help: mailto:sympa@ow2.org?subject=3Dhelp
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -=20
>>> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>>>
>>> Please help Logica to respect the environment by not printing this=20
>>> email
>>> =A0/ Pour contribuer comme Logica au respect de l'environnement, merci=
=20
>>> de ne pas imprimer ce mail / =A0Bitte drucken Sie diese Nachricht=20
>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu sch=FCtzen. / =
=A0
>>> Por favor ajude a Logica a respeitar o ambiente nao imprimindo este=20
>>> correio electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(s) only. It may contain proprietary material, confidential=20
>>> information and/or be subject to legal privilege. It should not be=20
>>> copied, disclosed to, retained or used by, any other party. If you=20
>>> are not an intended recipient then please promptly delete this=20
>>> e-mail and any attachment and all copies and inform the sender. Thank y=
ou.
>>>
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the ops-users@ow2.org=20
>>> mailing list.
>>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>>> For general help: mailto:sympa@ow2.org?subject=3Dhelp
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -=20
>> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the ops-users@ow2.org=20
>> mailing list.
>> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
>> For general help: mailto:sympa@ow2.org?subject=3Dhelp
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context:=20
> http://n4.nabble.com/format-in-date-component-tp1584266p1590818.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the ops-users@ow2.org mailing=
list.
> To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
> For general help: mailto:sympa@ow2.org?subject=3Dhelp
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbe=
on.com/ My Twitter: http://twitter.com/avernet
Please help Logica to respect the environment by not printing this email /=
Pour contribuer comme Logica au respect de l'environnement, merci de ne pa=
s imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfe=
n Sie so Logica dabei, die Umwelt zu sch=FCtzen. / Por favor ajude a Logic=
a a respeitar o ambiente nao imprimindo este correio electronico.
This e-mail and any attachment is for authorised use by the intended recipi=
ent(s) only. It may contain proprietary material, confidential information =
and/or be subject to legal privilege. It should not be copied, disclosed to=
, retained or used by, any other party. If you are not an intended recipien=
t then please promptly delete this e-mail and any attachment and all copies=
and inform the sender. Thank you.
------------=_1268995302-4772-163
Content-Type: text/plain; charset="UTF-8"; name="message-footer.txt"
Content-Disposition: inline; filename="message-footer.txt"
Content-Transfer-Encoding: 8bit
--
You receive this message as a subscriber of the ops-users@ow2.org mailing list.
To unsubscribe: mailto:ops-users-unsubscribe@ow2.org
For general help: mailto:sympa@ow2.org?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
------------=_1268995302-4772-163--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment