format in date component

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

format in date component

ricetrac
Hello,
 
I try to use the component <fr:date> with nigthly build 20100226 and I would like to know if it is possible to have this french date format : 01/01/2010 instead of : 1/1/2010 ?
I noticed also a bug, i think, when i add a <xforms:alert> on the <fr:date> component, the exclamation mark is display, but not the message when i put the mouse on it.

Thank you.

Julien.

 

Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente não imprimindo este correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: format in date component

Alessandro  Vernet
Administrator
Julien,

Only 3 formats are supported at this point, see:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
<[hidden email]> wrote:

> Hello,
>
> I try to use the component <fr:date> with nigthly build 20100226 and I would
> like to know if it is possible to have this french date format : 01/01/2010
> instead of : 1/1/2010 ?
> I noticed also a bug, i think, when i add a <xforms:alert> on the <fr:date>
> component, the exclamation mark is display, but not the message when i put
> the mouse on it.
>
> Thank you.
>
> Julien.
>
>
> Please help Logica to respect the environment by not printing this email /
> Pour contribuer comme Logica au respect de l'environnement, merci de ne pas
> imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen
> Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a
> respeitar o ambiente não imprimindo este correio electrónico. This e-mail
> and any attachment is for authorised use by the intended recipient(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 recipient then
> please promptly delete this e-mail and any attachment and all copies and
> inform the sender. Thank you.
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: format in date component

ricetrac
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 21/1/2010.
Thank you.

-----Message d'origine-----
De : Alessandro Vernet [mailto:[hidden email]]
Envoyé : mercredi 10 mars 2010 00:09
À : [hidden email]
Objet : [ops-users] Re: format in date component

Julien,

Only 3 formats are supported at this point, see:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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 <[hidden email]> wrote:

> Hello,
>
> I try to use the component <fr:date> with nigthly build 20100226 and I
> would like to know if it is possible to have this french date format :
> 01/01/2010 instead of : 1/1/2010 ?
> I noticed also a bug, i think, when i add a <xforms:alert> on the
> <fr:date> component, the exclamation mark is display, but not the
> message when i put the mouse on it.
>
> Thank you.
>
> Julien.
>
>
> Please help Logica to respect the environment by not printing this
> email / Pour contribuer comme Logica au respect de l'environnement,
> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
> correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(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
> recipient then please promptly delete this e-mail and any attachment
> and all copies and inform the sender. Thank you.
>
> --
> You receive this message as a subscriber of the [hidden email]
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Julien,

I added an RFE for this, but most likely we won't get a chance to
implement this anytime soon unless a company with Development plan
sponsors it or someone contributes the code.

http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207

Alex

On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
<[hidden email]> 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 21/1/2010.
> Thank you.
>
> -----Message d'origine-----
> De : Alessandro Vernet [mailto:[hidden email]]
> Envoyé : mercredi 10 mars 2010 00:09
> À : [hidden email]
> Objet : [ops-users] Re: format in date component
>
> Julien,
>
> Only 3 formats are supported at this point, see:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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 <[hidden email]> wrote:
>> Hello,
>>
>> I try to use the component <fr:date> with nigthly build 20100226 and I
>> would like to know if it is possible to have this french date format :
>> 01/01/2010 instead of : 1/1/2010 ?
>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>> <fr:date> component, the exclamation mark is display, but not the
>> message when i put the mouse on it.
>>
>> Thank you.
>>
>> Julien.
>>
>>
>> Please help Logica to respect the environment by not printing this
>> email / Pour contribuer comme Logica au respect de l'environnement,
>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>> correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(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
>> recipient then please promptly delete this e-mail and any attachment
>> and all copies and inform the sender. Thank you.
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: format in date component

ricetrac
We could contribute to the code, but we need some help to start the development : in which class, or which javascript ?

Thank You.
Julien.

Alessandro Vernet wrote
Julien,

I added an RFE for this, but most likely we won't get a chance to
implement this anytime soon unless a company with Development plan
sponsors it or someone contributes the code.

http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207

Alex

On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
<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 21/1/2010.
> Thank you.
>
> -----Message d'origine-----
> De : Alessandro Vernet [mailto:avernet@orbeon.com]
> Envoyé : mercredi 10 mars 2010 00:09
> À : ops-users@ow2.org
> Objet : [ops-users] Re: format in date component
>
> Julien,
>
> Only 3 formats are supported at this point, see:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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 <julien.bittard@logica.com> wrote:
>> Hello,
>>
>> I try to use the component <fr:date> with nigthly build 20100226 and I
>> would like to know if it is possible to have this french date format :
>> 01/01/2010 instead of : 1/1/2010 ?
>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>> <fr:date> component, the exclamation mark is display, but not the
>> message when i put the mouse on it.
>>
>> Thank you.
>>
>> Julien.
>>
>>
>> Please help Logica to respect the environment by not printing this
>> email / Pour contribuer comme Logica au respect de l'environnement,
>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>> correio electrónico. This e-mail and any attachment is for authorised use by the intended recipient(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
>> recipient then please promptly delete this e-mail and any attachment
>> and all copies and inform the sender. Thank you.
>>
>> --
>> 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
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
>
> --
> 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
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Julien,

* The property is oxf.xforms.format.input.date (default in
properties-xforms.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-and-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 me 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 <[hidden email]> wrote:

>
> We could contribute to the code, but we need some help to start the
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to
>> implement this anytime soon unless a company with Development plan
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>> <[hidden email]> 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
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De : Alessandro Vernet [mailto:[hidden email]]
>>> Envoyé : mercredi 10 mars 2010 00:09
>>> À : [hidden email]
>>> Objet : [ops-users] Re: format in date component
>>>
>>> Julien,
>>>
>>> Only 3 formats are supported at this point, see:
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>> <[hidden email]> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>> would like to know if it is possible to have this french date format :
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>> <fr:date> component, the exclamation mark is display, but not the
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this
>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>> use by the intended recipient(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
>>>> recipient then please promptly delete this e-mail and any attachment
>>>> and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>> electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(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 recipient then please promptly delete this e-mail and any
>>> attachment and all copies and inform the sender. Thank you.
>>>
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: 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 [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

RE: Re: Re: RE: Re: format in date component

ricetrac
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 : Alessandro Vernet [mailto:[hidden email]]
Envoyé : mardi 16 mars 2010 18:17
À : [hidden email]
Objet : [ops-users] Re: Re: RE: Re: format in date component

Julien,

* The property is oxf.xforms.format.input.date (default in properties-xforms.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-and-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 me 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 <[hidden email]> wrote:

>
> We could contribute to the code, but we need some help to start the
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to
>> implement this anytime soon unless a company with Development plan
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_i
>> d=168&atid=350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>> <[hidden email]> 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
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De : Alessandro Vernet [mailto:[hidden email]] Envoyé : mercredi
>>> 10 mars 2010 00:09 À : [hidden email] Objet : [ops-users] Re:
>>> 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
>>> <[hidden email]> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226
>>>> and I would like to know if it is possible to have this french date format :
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>> <fr:date> component, the exclamation mark is display, but not the
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this
>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese
>>>> Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu
>>>> schützen. / Por favor ajude a Logica a respeitar o ambiente não
>>>> imprimindo este correio electrónico. This e-mail and any attachment
>>>> is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and
>>>> any attachment and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht
>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  
>>> Por favor ajude a Logica a respeitar o ambiente nao imprimindo este
>>> correio electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(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 recipient then please promptly delete this
>>> e-mail and any attachment and all copies and inform the sender. Thank you.
>>>
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/ My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context:
> 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 [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.



This e-mail and any attachment is for authorised use by the intended recipient(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 recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: Re: format in date component

ricetrac
In reply to this post by Alessandro Vernet
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.


Alessandro Vernet wrote
Julien,

* The property is oxf.xforms.format.input.date (default in
properties-xforms.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-and-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 me 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> wrote:
>
> We could contribute to the code, but we need some help to start the
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to
>> implement this anytime soon unless a company with Development plan
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>> <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
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De : Alessandro Vernet [mailto:avernet@orbeon.com]
>>> Envoyé : mercredi 10 mars 2010 00:09
>>> À : ops-users@ow2.org
>>> Objet : [ops-users] Re: format in date component
>>>
>>> Julien,
>>>
>>> Only 3 formats are supported at this point, see:
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>> <julien.bittard@logica.com> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>> would like to know if it is possible to have this french date format :
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>> <fr:date> component, the exclamation mark is display, but not the
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this
>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>> use by the intended recipient(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
>>>> recipient then please promptly delete this e-mail and any attachment
>>>> and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>> electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(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 recipient then please promptly delete this e-mail and any
>>> attachment and all copies and inform the sender. Thank you.
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: 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=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: Re: format in date component

ricetrac
In reply to this post by Alessandro Vernet
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.

Alessandro Vernet wrote
Julien,

* The property is oxf.xforms.format.input.date (default in
properties-xforms.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-and-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 me 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> wrote:
>
> We could contribute to the code, but we need some help to start the
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to
>> implement this anytime soon unless a company with Development plan
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>> <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
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De : Alessandro Vernet [mailto:avernet@orbeon.com]
>>> Envoyé : mercredi 10 mars 2010 00:09
>>> À : ops-users@ow2.org
>>> Objet : [ops-users] Re: format in date component
>>>
>>> Julien,
>>>
>>> Only 3 formats are supported at this point, see:
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>> <julien.bittard@logica.com> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>> would like to know if it is possible to have this french date format :
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>> <fr:date> component, the exclamation mark is display, but not the
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this
>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>> use by the intended recipient(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
>>>> recipient then please promptly delete this e-mail and any attachment
>>>> and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>> electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(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 recipient then please promptly delete this e-mail and any
>>> attachment and all copies and inform the sender. Thank you.
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: 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=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: RE: Re: format in date component

ricetrac
In reply to this post by Alessandro Vernet
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.

Alessandro Vernet wrote
Julien,

* The property is oxf.xforms.format.input.date (default in
properties-xforms.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-and-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 me 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> wrote:
>
> We could contribute to the code, but we need some help to start the
> development : in which class, or which javascript ?
>
> Thank You.
> Julien.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> I added an RFE for this, but most likely we won't get a chance to
>> implement this anytime soon unless a company with Development plan
>> sponsors it or someone contributes the code.
>>
>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>
>> Alex
>>
>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>> <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
>>> 21/1/2010.
>>> Thank you.
>>>
>>> -----Message d'origine-----
>>> De : Alessandro Vernet [mailto:avernet@orbeon.com]
>>> Envoyé : mercredi 10 mars 2010 00:09
>>> À : ops-users@ow2.org
>>> Objet : [ops-users] Re: format in date component
>>>
>>> Julien,
>>>
>>> Only 3 formats are supported at this point, see:
>>>
>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>> <julien.bittard@logica.com> wrote:
>>>> Hello,
>>>>
>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>> would like to know if it is possible to have this french date format :
>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>> <fr:date> component, the exclamation mark is display, but not the
>>>> message when i put the mouse on it.
>>>>
>>>> Thank you.
>>>>
>>>> Julien.
>>>>
>>>>
>>>> Please help Logica to respect the environment by not printing this
>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>> use by the intended recipient(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
>>>> recipient then please promptly delete this e-mail and any attachment
>>>> and all copies and inform the sender. Thank you.
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>> electronico.
>>>
>>>
>>>
>>> This e-mail and any attachment is for authorised use by the intended
>>> recipient(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 recipient then please promptly delete this e-mail and any
>>> attachment and all copies and inform the sender. Thank you.
>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: 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=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Julien,

The simplest way is to just attach your updated xforms.js to a message
you post here. If you had changes in more files, I would recommend you
clone the repository on GitHub, do your changes on your version of the
repository, and send a "pull request" through GitHub. But again, since
only one file is impacted, attaching the version of your updated file
to a message here will work just fine.

Alex

On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]> wrote:

>
> 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.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> * The property is oxf.xforms.format.input.date (default in
>> properties-xforms.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-and-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 me 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 <[hidden email]>
>> wrote:
>>>
>>> We could contribute to the code, but we need some help to start the
>>> development : in which class, or which javascript ?
>>>
>>> Thank You.
>>> Julien.
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> I added an RFE for this, but most likely we won't get a chance to
>>>> implement this anytime soon unless a company with Development plan
>>>> sponsors it or someone contributes the code.
>>>>
>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>
>>>> Alex
>>>>
>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>> <[hidden email]> 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
>>>>> 21/1/2010.
>>>>> Thank you.
>>>>>
>>>>> -----Message d'origine-----
>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>> À : [hidden email]
>>>>> Objet : [ops-users] Re: format in date component
>>>>>
>>>>> Julien,
>>>>>
>>>>> Only 3 formats are supported at this point, see:
>>>>>
>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>> <[hidden email]> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>>>> would like to know if it is possible to have this french date format :
>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>> message when i put the mouse on it.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>> Please help Logica to respect the environment by not printing this
>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>>>> use by the intended recipient(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
>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>> and all copies and inform the sender. Thank you.
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>> electronico.
>>>>>
>>>>>
>>>>>
>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>> any
>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> 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 [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: RE: Re: format in date component

ricetrac
Hello,

I attach the xforms.js file updated to this message.
I have modified only this file. It is the xforms.js file of the nightly build dev-post-3.7.1.201002261123.
I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
I have tested my update on my environnement and it's ok.

thank You.

Julien.

xforms.zip

Alessandro Vernet wrote
Julien,

The simplest way is to just attach your updated xforms.js to a message
you post here. If you had changes in more files, I would recommend you
clone the repository on GitHub, do your changes on your version of the
repository, and send a "pull request" through GitHub. But again, since
only one file is impacted, attaching the version of your updated file
to a message here will work just fine.

Alex

On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <julien.bittard@logica.com> wrote:
>
> 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.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> * The property is oxf.xforms.format.input.date (default in
>> properties-xforms.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-and-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 me 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>
>> wrote:
>>>
>>> We could contribute to the code, but we need some help to start the
>>> development : in which class, or which javascript ?
>>>
>>> Thank You.
>>> Julien.
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> I added an RFE for this, but most likely we won't get a chance to
>>>> implement this anytime soon unless a company with Development plan
>>>> sponsors it or someone contributes the code.
>>>>
>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>
>>>> Alex
>>>>
>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>> <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
>>>>> 21/1/2010.
>>>>> Thank you.
>>>>>
>>>>> -----Message d'origine-----
>>>>> De : Alessandro Vernet [mailto:avernet@orbeon.com]
>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>> À : ops-users@ow2.org
>>>>> Objet : [ops-users] Re: format in date component
>>>>>
>>>>> Julien,
>>>>>
>>>>> Only 3 formats are supported at this point, see:
>>>>>
>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>> <julien.bittard@logica.com> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>>>> would like to know if it is possible to have this french date format :
>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>> message when i put the mouse on it.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>> Please help Logica to respect the environment by not printing this
>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>>>> use by the intended recipient(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
>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>> and all copies and inform the sender. Thank you.
>>>>>>
>>>>>> --
>>>>>> 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
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>> electronico.
>>>>>
>>>>>
>>>>>
>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>> any
>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> 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
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> 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=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> 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
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1677322.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=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
Reply | Threaded
Open this post in threaded view
|

RE: Re: Re: Re: RE: Re: format in date component

Robin Diederen
In reply to this post by Alessandro Vernet
Hello all,

We've made similar modifications to xforms.js to support dates formatted as [DD]-[MM]-[YYYY] (the kind of notation that's more or less standard in the Netherlands), including Dutch names (days, months). Would you be interested in adding these to the general Orbeon branch?

Best, Robin

-----Oorspronkelijk bericht-----
Van: Alessandro Vernet [mailto:[hidden email]]
Verzonden: maandag 22 maart 2010 18:41
Aan: [hidden email]
Onderwerp: [ops-users] Re: Re: Re: RE: Re: format in date component

Julien,

The simplest way is to just attach your updated xforms.js to a message
you post here. If you had changes in more files, I would recommend you
clone the repository on GitHub, do your changes on your version of the
repository, and send a "pull request" through GitHub. But again, since
only one file is impacted, attaching the version of your updated file
to a message here will work just fine.

Alex

On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]> wrote:

>
> 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.
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> * The property is oxf.xforms.format.input.date (default in
>> properties-xforms.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-and-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 me 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 <[hidden email]>
>> wrote:
>>>
>>> We could contribute to the code, but we need some help to start the
>>> development : in which class, or which javascript ?
>>>
>>> Thank You.
>>> Julien.
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> I added an RFE for this, but most likely we won't get a chance to
>>>> implement this anytime soon unless a company with Development plan
>>>> sponsors it or someone contributes the code.
>>>>
>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>
>>>> Alex
>>>>
>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>> <[hidden email]> 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
>>>>> 21/1/2010.
>>>>> Thank you.
>>>>>
>>>>> -----Message d'origine-----
>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>> À : [hidden email]
>>>>> Objet : [ops-users] Re: format in date component
>>>>>
>>>>> Julien,
>>>>>
>>>>> Only 3 formats are supported at this point, see:
>>>>>
>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>> <[hidden email]> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>>>> would like to know if it is possible to have this french date format :
>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>> message when i put the mouse on it.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>> Please help Logica to respect the environment by not printing this
>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>>>> use by the intended recipient(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
>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>> and all copies and inform the sender. Thank you.
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>> electronico.
>>>>>
>>>>>
>>>>>
>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>> any
>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> 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 [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Robin,

Sure, we're interested, and maybe we can then generalize the
JavaScript code so any separator can be used (dash, dot, slash...).
That will also save you from having to merge back your changes to
xforms.js.

Alex

On Tue, Mar 23, 2010 at 1:12 AM, Robin Diederen <[hidden email]> wrote:

> Hello all,
>
> We've made similar modifications to xforms.js to support dates formatted as [DD]-[MM]-[YYYY] (the kind of notation that's more or less standard in the Netherlands), including Dutch names (days, months). Would you be interested in adding these to the general Orbeon branch?
>
> Best, Robin
>
> -----Oorspronkelijk bericht-----
> Van: Alessandro Vernet [mailto:[hidden email]]
> Verzonden: maandag 22 maart 2010 18:41
> Aan: [hidden email]
> Onderwerp: [ops-users] Re: Re: Re: RE: Re: format in date component
>
> Julien,
>
> The simplest way is to just attach your updated xforms.js to a message
> you post here. If you had changes in more files, I would recommend you
> clone the repository on GitHub, do your changes on your version of the
> repository, and send a "pull request" through GitHub. But again, since
> only one file is impacted, attaching the version of your updated file
> to a message here will work just fine.
>
> Alex
>
> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]> wrote:
>>
>> 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.
>>
>>
>> Alessandro  Vernet wrote:
>>>
>>> Julien,
>>>
>>> * The property is oxf.xforms.format.input.date (default in
>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>> wrote:
>>>>
>>>> We could contribute to the code, but we need some help to start the
>>>> development : in which class, or which javascript ?
>>>>
>>>> Thank You.
>>>> Julien.
>>>>
>>>>
>>>> Alessandro  Vernet wrote:
>>>>>
>>>>> Julien,
>>>>>
>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>> implement this anytime soon unless a company with Development plan
>>>>> sponsors it or someone contributes the code.
>>>>>
>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>
>>>>> Alex
>>>>>
>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>> <[hidden email]> 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
>>>>>> 21/1/2010.
>>>>>> Thank you.
>>>>>>
>>>>>> -----Message d'origine-----
>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>> À : [hidden email]
>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>
>>>>>> Julien,
>>>>>>
>>>>>> Only 3 formats are supported at this point, see:
>>>>>>
>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>> <[hidden email]> wrote:
>>>>>>> Hello,
>>>>>>>
>>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and I
>>>>>>> would like to know if it is possible to have this french date format :
>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>> message when i put the mouse on it.
>>>>>>>
>>>>>>> Thank you.
>>>>>>>
>>>>>>> Julien.
>>>>>>>
>>>>>>>
>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>>> correio electrónico. This e-mail and any attachment is for authorised
>>>>>>> use by the intended recipient(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
>>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>> mailing list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht aus
>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>> electronico.
>>>>>>
>>>>>>
>>>>>>
>>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>>> any
>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.com/
>>>>> My Twitter: http://twitter.com/avernet
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> 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 [hidden email] mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.com/
>>> My Twitter: http://twitter.com/avernet
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>> --
>> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
In reply to this post by ricetrac
Julien, Robin,

I ended up rewriting some of the date handling code we had to make it
more generic, which simplifies things as the number of use cases we
want to handle increases. So you can now use date input formats such
as [D01]-[M]/[Y] (for the crazy people out there who actually want
this particular format!). This will be in the next nightly build. I
also updated the documentation on:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-

You'll let me know if this works for you.

Alex

On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]> wrote:

>
> Hello,
>
> I attach the xforms.js file updated to this message.
> I have modified only this file. It is the xforms.js file of the nightly
> build dev-post-3.7.1.201002261123.
> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
> I have tested my update on my environnement and it's ok.
>
> thank You.
>
> Julien.
>
> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> The simplest way is to just attach your updated xforms.js to a message
>> you post here. If you had changes in more files, I would recommend you
>> clone the repository on GitHub, do your changes on your version of the
>> repository, and send a "pull request" through GitHub. But again, since
>> only one file is impacted, attaching the version of your updated file
>> to a message here will work just fine.
>>
>> Alex
>>
>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>> wrote:
>>>
>>> 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.
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> * The property is oxf.xforms.format.input.date (default in
>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>> wrote:
>>>>>
>>>>> We could contribute to the code, but we need some help to start the
>>>>> development : in which class, or which javascript ?
>>>>>
>>>>> Thank You.
>>>>> Julien.
>>>>>
>>>>>
>>>>> Alessandro  Vernet wrote:
>>>>>>
>>>>>> Julien,
>>>>>>
>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>> implement this anytime soon unless a company with Development plan
>>>>>> sponsors it or someone contributes the code.
>>>>>>
>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>> <[hidden email]> 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
>>>>>>> 21/1/2010.
>>>>>>> Thank you.
>>>>>>>
>>>>>>> -----Message d'origine-----
>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>> À : [hidden email]
>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>
>>>>>>> Julien,
>>>>>>>
>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>
>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>> <[hidden email]> wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and
>>>>>>>> I
>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>> format :
>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>> message when i put the mouse on it.
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> Julien.
>>>>>>>>
>>>>>>>>
>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>> authorised
>>>>>>>> use by the intended recipient(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
>>>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>> aus
>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>> electronico.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>>>> any
>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>> http://www.orbeon.com/
>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> 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 [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: RE: Re: format in date component

Robin Diederen
[ops-users] Re: Re: Re: Re: RE: Re: format in date component

Hi Alex,

 

That sounds good!

 

I've attached the xforms.js I've made. In order to see my changes / additions, do a text search for "NLcom" (that's our company name); you'll find this as a comment throughout the code, at each occurence you'll find some things of my doing ;).

 

Best, Robin
 

-----Original message-----
From: Alessandro Vernet <[hidden email]>
Sent: Wed 24-03-2010 21:23
To: [hidden email];
Subject: [ops-users] Re: Re: Re: Re: RE: Re: format in date component

Julien, Robin,

I ended up rewriting some of the date handling code we had to make it
more generic, which simplifies things as the number of use cases we
want to handle increases. So you can now use date input formats such
as [D01]-[M]/[Y] (for the crazy people out there who actually want
this particular format!). This will be in the next nightly build. I
also updated the documentation on:

http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-

You'll let me know if this works for you.

Alex

On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]> wrote:

>
> Hello,
>
> I attach the xforms.js file updated to this message.
> I have modified only this file. It is the xforms.js file of the nightly
> build dev-post-3.7.1.201002261123.
> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
> I have tested my update on my environnement and it's ok.
>
> thank You.
>
> Julien.
>
> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>
>
> Alessandro  Vernet wrote:
>>
>> Julien,
>>
>> The simplest way is to just attach your updated xforms.js to a message
>> you post here. If you had changes in more files, I would recommend you
>> clone the repository on GitHub, do your changes on your version of the
>> repository, and send a "pull request" through GitHub. But again, since
>> only one file is impacted, attaching the version of your updated file
>> to a message here will work just fine.
>>
>> Alex
>>
>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>> wrote:
>>>
>>> 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.
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> * The property is oxf.xforms.format.input.date (default in
>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>> wrote:
>>>>>
>>>>> We could contribute to the code, but we need some help to start the
>>>>> development : in which class, or which javascript ?
>>>>>
>>>>> Thank You.
>>>>> Julien.
>>>>>
>>>>>
>>>>> Alessandro  Vernet wrote:
>>>>>>
>>>>>> Julien,
>>>>>>
>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>> implement this anytime soon unless a company with Development plan
>>>>>> sponsors it or someone contributes the code.
>>>>>>
>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>
>>>>>> Alex
>>>>>>
>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>> <[hidden email]> 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
>>>>>>> 21/1/2010.
>>>>>>> Thank you.
>>>>>>>
>>>>>>> -----Message d'origine-----
>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>> À : [hidden email]
>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>
>>>>>>> Julien,
>>>>>>>
>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>
>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>> <[hidden email]> wrote:
>>>>>>>> Hello,
>>>>>>>>
>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226 and
>>>>>>>> I
>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>> format :
>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>> message when i put the mouse on it.
>>>>>>>>
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> Julien.
>>>>>>>>
>>>>>>>>
>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht
>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>> authorised
>>>>>>>> use by the intended recipient(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
>>>>>>>> recipient then please promptly delete this e-mail and any attachment
>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>> aus
>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>> electronico.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>>>> recipient(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 recipient then please promptly delete this e-mail and
>>>>>>> any
>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>> http://www.orbeon.com/
>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> 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 [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

xforms.js (560K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Robin,

Thank you contributing your changes! Instead of integrating your
changes to support dashes as a separator (as in [DD]-[MM]-[YYYY]), I
wrote some more generic code which will support "any" separator. If
you get a chance to update to the latest nightly build, you'll let me
know if this works for you.

Alex

On Wed, Mar 24, 2010 at 1:35 PM, Robin Diederen <[hidden email]> wrote:

> Hi Alex,
>
>
>
> That sounds good!
>
>
>
> I've attached the xforms.js I've made. In order to see my changes /
> additions, do a text search for "NLcom" (that's our company name); you'll
> find this as a comment throughout the code, at each occurence you'll find
> some things of my doing ;).
>
>
>
> Best, Robin
>
>
> -----Original message-----
> From: Alessandro Vernet <[hidden email]>
> Sent: Wed 24-03-2010 21:23
> To: [hidden email];
> Subject: [ops-users] Re: Re: Re: Re: RE: Re: format in date component
>
> Julien, Robin,
>
> I ended up rewriting some of the date handling code we had to make it
> more generic, which simplifies things as the number of use cases we
> want to handle increases. So you can now use date input formats such
> as [D01]-[M]/[Y] (for the crazy people out there who actually want
> this particular format!). This will be in the next nightly build. I
> also updated the documentation on:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-
>
> You'll let me know if this works for you.
>
> Alex
>
> On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]>
> wrote:
>>
>> Hello,
>>
>> I attach the xforms.js file updated to this message.
>> I have modified only this file. It is the xforms.js file of the nightly
>> build dev-post-3.7.1.201002261123.
>> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
>> I have tested my update on my environnement and it's ok.
>>
>> thank You.
>>
>> Julien.
>>
>> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>>
>>
>> Alessandro  Vernet wrote:
>>>
>>> Julien,
>>>
>>> The simplest way is to just attach your updated xforms.js to a message
>>> you post here. If you had changes in more files, I would recommend you
>>> clone the repository on GitHub, do your changes on your version of the
>>> repository, and send a "pull request" through GitHub. But again, since
>>> only one file is impacted, attaching the version of your updated file
>>> to a message here will work just fine.
>>>
>>> Alex
>>>
>>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>>> wrote:
>>>>
>>>> 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.
>>>>
>>>>
>>>> Alessandro  Vernet wrote:
>>>>>
>>>>> Julien,
>>>>>
>>>>> * The property is oxf.xforms.format.input.date (default in
>>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>>> wrote:
>>>>>>
>>>>>> We could contribute to the code, but we need some help to start the
>>>>>> development : in which class, or which javascript ?
>>>>>>
>>>>>> Thank You.
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>> Alessandro  Vernet wrote:
>>>>>>>
>>>>>>> Julien,
>>>>>>>
>>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>>> implement this anytime soon unless a company with Development plan
>>>>>>> sponsors it or someone contributes the code.
>>>>>>>
>>>>>>>
>>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>>
>>>>>>> Alex
>>>>>>>
>>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>>> <[hidden email]> 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
>>>>>>>> 21/1/2010.
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> -----Message d'origine-----
>>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>>> À : [hidden email]
>>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>>
>>>>>>>> Julien,
>>>>>>>>
>>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>>
>>>>>>>>
>>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>>> <[hidden email]> wrote:
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226
>>>>>>>>> and
>>>>>>>>> I
>>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>>> format :
>>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>>> message when i put the mouse on it.
>>>>>>>>>
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> Julien.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese
>>>>>>>>> Nachricht
>>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>>> authorised
>>>>>>>>> use by the intended recipient(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
>>>>>>>>> recipient then please promptly delete this e-mail and any
>>>>>>>>> attachment
>>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>> mailing list.
>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>>> aus
>>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>>> electronico.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>>>>> recipient(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 recipient then please promptly delete this e-mail
>>>>>>>> and
>>>>>>>> any
>>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing
>>>>>>>> list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>> http://www.orbeon.com/
>>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> 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 [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.com/
>>>>> My Twitter: http://twitter.com/avernet
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.com/
>>> My Twitter: http://twitter.com/avernet
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: RE: Re: format in date component

Robin Diederen
[ops-users] Re: Re: Re: Re: Re: RE: Re: format in date component

Hi Alex,

 

That sounds good, thanks!

 

I'll give this a try sometime next week. I presume that the other changes I made (Dutch day / month names for example) still have be ported back to the nightly?

 

Best, Robin
 

-----Original message-----
From: Alessandro Vernet <[hidden email]>
Sent: Fri 26-03-2010 00:46
To: [hidden email];
Subject: [ops-users] Re: Re: Re: Re: Re: RE: Re: format in date component

Robin,

Thank you contributing your changes! Instead of integrating your
changes to support dashes as a separator (as in [DD]-[MM]-[YYYY]), I
wrote some more generic code which will support "any" separator. If
you get a chance to update to the latest nightly build, you'll let me
know if this works for you.

Alex

On Wed, Mar 24, 2010 at 1:35 PM, Robin Diederen <[hidden email]> wrote:

> Hi Alex,
>
>
>
> That sounds good!
>
>
>
> I've attached the xforms.js I've made. In order to see my changes /
> additions, do a text search for "NLcom" (that's our company name); you'll
> find this as a comment throughout the code, at each occurence you'll find
> some things of my doing ;).
>
>
>
> Best, Robin
>
>
> -----Original message-----
> From: Alessandro Vernet <[hidden email]>
> Sent: Wed 24-03-2010 21:23
> To: [hidden email];
> Subject: [ops-users] Re: Re: Re: Re: RE: Re: format in date component
>
> Julien, Robin,
>
> I ended up rewriting some of the date handling code we had to make it
> more generic, which simplifies things as the number of use cases we
> want to handle increases. So you can now use date input formats such
> as [D01]-[M]/[Y] (for the crazy people out there who actually want
> this particular format!). This will be in the next nightly build. I
> also updated the documentation on:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-
>
> You'll let me know if this works for you.
>
> Alex
>
> On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]>
> wrote:
>>
>> Hello,
>>
>> I attach the xforms.js file updated to this message.
>> I have modified only this file. It is the xforms.js file of the nightly
>> build dev-post-3.7.1.201002261123.
>> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
>> I have tested my update on my environnement and it's ok.
>>
>> thank You.
>>
>> Julien.
>>
>> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>>
>>
>> Alessandro  Vernet wrote:
>>>
>>> Julien,
>>>
>>> The simplest way is to just attach your updated xforms.js to a message
>>> you post here. If you had changes in more files, I would recommend you
>>> clone the repository on GitHub, do your changes on your version of the
>>> repository, and send a "pull request" through GitHub. But again, since
>>> only one file is impacted, attaching the version of your updated file
>>> to a message here will work just fine.
>>>
>>> Alex
>>>
>>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>>> wrote:
>>>>
>>>> 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.
>>>>
>>>>
>>>> Alessandro  Vernet wrote:
>>>>>
>>>>> Julien,
>>>>>
>>>>> * The property is oxf.xforms.format.input.date (default in
>>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>>> wrote:
>>>>>>
>>>>>> We could contribute to the code, but we need some help to start the
>>>>>> development : in which class, or which javascript ?
>>>>>>
>>>>>> Thank You.
>>>>>> Julien.
>>>>>>
>>>>>>
>>>>>> Alessandro  Vernet wrote:
>>>>>>>
>>>>>>> Julien,
>>>>>>>
>>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>>> implement this anytime soon unless a company with Development plan
>>>>>>> sponsors it or someone contributes the code.
>>>>>>>
>>>>>>>
>>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>>
>>>>>>> Alex
>>>>>>>
>>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>>> <[hidden email]> 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
>>>>>>>> 21/1/2010.
>>>>>>>> Thank you.
>>>>>>>>
>>>>>>>> -----Message d'origine-----
>>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>>> À : [hidden email]
>>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>>
>>>>>>>> Julien,
>>>>>>>>
>>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>>
>>>>>>>>
>>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>>> <[hidden email]> wrote:
>>>>>>>>> Hello,
>>>>>>>>>
>>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226
>>>>>>>>> and
>>>>>>>>> I
>>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>>> format :
>>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>>> message when i put the mouse on it.
>>>>>>>>>
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> Julien.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>>> email / Pour contribuer comme Logica au respect de l'environnement,
>>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese
>>>>>>>>> Nachricht
>>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. /
>>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo este
>>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>>> authorised
>>>>>>>>> use by the intended recipient(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
>>>>>>>>> recipient then please promptly delete this e-mail and any
>>>>>>>>> attachment
>>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>> mailing list.
>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>>> aus
>>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por favor
>>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>>> electronico.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> This e-mail and any attachment is for authorised use by the intended
>>>>>>>> recipient(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 recipient then please promptly delete this e-mail
>>>>>>>> and
>>>>>>>> any
>>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing
>>>>>>>> list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>> http://www.orbeon.com/
>>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> View this message in context:
>>>>>> 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 [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>> http://www.orbeon.com/
>>>>> My Twitter: http://twitter.com/avernet
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>>> Nabble.com.
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>>
>>>
>>> --
>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>> http://www.orbeon.com/
>>> My Twitter: http://twitter.com/avernet
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>> --
>> View this message in context:
>> http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
>> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: RE: Re: format in date component

Alessandro  Vernet
Administrator
Robin,

By Dutch day/month, you mean day/month that are always on two digits?
If that is the case, yes, this should work as well, using the [M01]
and [D01] syntax.

Alex

On Fri, Mar 26, 2010 at 12:08 AM, Robin Diederen <[hidden email]> wrote:

> Hi Alex,
>
>
>
> That sounds good, thanks!
>
>
>
> I'll give this a try sometime next week. I presume that the other changes I
> made (Dutch day / month names for example) still have be ported back to the
> nightly?
>
>
>
> Best, Robin
>
>
> -----Original message-----
> From: Alessandro Vernet <[hidden email]>
> Sent: Fri 26-03-2010 00:46
> To: [hidden email];
> Subject: [ops-users] Re: Re: Re: Re: Re: RE: Re: format in date component
>
> Robin,
>
> Thank you contributing your changes! Instead of integrating your
> changes to support dashes as a separator (as in [DD]-[MM]-[YYYY]), I
> wrote some more generic code which will support "any" separator. If
> you get a chance to update to the latest nightly build, you'll let me
> know if this works for you.
>
> Alex
>
> On Wed, Mar 24, 2010 at 1:35 PM, Robin Diederen <[hidden email]> wrote:
>> Hi Alex,
>>
>>
>>
>> That sounds good!
>>
>>
>>
>> I've attached the xforms.js I've made. In order to see my changes /
>> additions, do a text search for "NLcom" (that's our company name); you'll
>> find this as a comment throughout the code, at each occurence you'll find
>> some things of my doing ;).
>>
>>
>>
>> Best, Robin
>>
>>
>> -----Original message-----
>> From: Alessandro Vernet <[hidden email]>
>> Sent: Wed 24-03-2010 21:23
>> To: [hidden email];
>> Subject: [ops-users] Re: Re: Re: Re: RE: Re: format in date component
>>
>> Julien, Robin,
>>
>> I ended up rewriting some of the date handling code we had to make it
>> more generic, which simplifies things as the number of use cases we
>> want to handle increases. So you can now use date input formats such
>> as [D01]-[M]/[Y] (for the crazy people out there who actually want
>> this particular format!). This will be in the next nightly build. I
>> also updated the documentation on:
>>
>>
>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-
>>
>> You'll let me know if this works for you.
>>
>> Alex
>>
>> On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]>
>> wrote:
>>>
>>> Hello,
>>>
>>> I attach the xforms.js file updated to this message.
>>> I have modified only this file. It is the xforms.js file of the nightly
>>> build dev-post-3.7.1.201002261123.
>>> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
>>> I have tested my update on my environnement and it's ok.
>>>
>>> thank You.
>>>
>>> Julien.
>>>
>>> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> The simplest way is to just attach your updated xforms.js to a message
>>>> you post here. If you had changes in more files, I would recommend you
>>>> clone the repository on GitHub, do your changes on your version of the
>>>> repository, and send a "pull request" through GitHub. But again, since
>>>> only one file is impacted, attaching the version of your updated file
>>>> to a message here will work just fine.
>>>>
>>>> Alex
>>>>
>>>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>>>> wrote:
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> Alessandro  Vernet wrote:
>>>>>>
>>>>>> Julien,
>>>>>>
>>>>>> * The property is oxf.xforms.format.input.date (default in
>>>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>>>> wrote:
>>>>>>>
>>>>>>> We could contribute to the code, but we need some help to start the
>>>>>>> development : in which class, or which javascript ?
>>>>>>>
>>>>>>> Thank You.
>>>>>>> Julien.
>>>>>>>
>>>>>>>
>>>>>>> Alessandro  Vernet wrote:
>>>>>>>>
>>>>>>>> Julien,
>>>>>>>>
>>>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>>>> implement this anytime soon unless a company with Development plan
>>>>>>>> sponsors it or someone contributes the code.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>>>
>>>>>>>> Alex
>>>>>>>>
>>>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>>>> <[hidden email]> 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
>>>>>>>>> 21/1/2010.
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> -----Message d'origine-----
>>>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>>>> À : [hidden email]
>>>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>>>
>>>>>>>>> Julien,
>>>>>>>>>
>>>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>>>> <[hidden email]> wrote:
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226
>>>>>>>>>> and
>>>>>>>>>> I
>>>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>>>> format :
>>>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>>>> message when i put the mouse on it.
>>>>>>>>>>
>>>>>>>>>> Thank you.
>>>>>>>>>>
>>>>>>>>>> Julien.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>>>> email / Pour contribuer comme Logica au respect de
>>>>>>>>>> l'environnement,
>>>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese
>>>>>>>>>> Nachricht
>>>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen.
>>>>>>>>>> /
>>>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo
>>>>>>>>>> este
>>>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>>>> authorised
>>>>>>>>>> use by the intended recipient(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
>>>>>>>>>> recipient then please promptly delete this e-mail and any
>>>>>>>>>> attachment
>>>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>>> mailing list.
>>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>>>> aus
>>>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por
>>>>>>>>> favor
>>>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>>>> electronico.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This e-mail and any attachment is for authorised use by the
>>>>>>>>> intended
>>>>>>>>> recipient(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 recipient then please promptly delete this e-mail
>>>>>>>>> and
>>>>>>>>> any
>>>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>> mailing
>>>>>>>>> list.
>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>> http://www.orbeon.com/
>>>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing
>>>>>>>> list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> 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 [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>> http://www.orbeon.com/
>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: RE: Re: format in date component

Robin Diederen
[ops-users] Re: Re: Re: Re: Re: Re: RE: Re: format in date component

Hi Alex,

 

What I actually meant was that I also translated the day and month names into Dutch, as Orbeon only features English and French names.

 

To answer your question: AFAIK there's no official standard on using one or two digits (given d / m < 10 :-) ). We like to support both.

 

Best, Robin
 

-----Original message-----
From: Alessandro Vernet <[hidden email]>
Sent: Sat 27-03-2010 03:30
To: [hidden email];
Subject: [ops-users] Re: Re: Re: Re: Re: Re: RE: Re: format in date component

Robin,

By Dutch day/month, you mean day/month that are always on two digits?
If that is the case, yes, this should work as well, using the [M01]
and [D01] syntax.

Alex

On Fri, Mar 26, 2010 at 12:08 AM, Robin Diederen <[hidden email]> wrote:

> Hi Alex,
>
>
>
> That sounds good, thanks!
>
>
>
> I'll give this a try sometime next week. I presume that the other changes I
> made (Dutch day / month names for example) still have be ported back to the
> nightly?
>
>
>
> Best, Robin
>
>
> -----Original message-----
> From: Alessandro Vernet <[hidden email]>
> Sent: Fri 26-03-2010 00:46
> To: [hidden email];
> Subject: [ops-users] Re: Re: Re: Re: Re: RE: Re: format in date component
>
> Robin,
>
> Thank you contributing your changes! Instead of integrating your
> changes to support dashes as a separator (as in [DD]-[MM]-[YYYY]), I
> wrote some more generic code which will support "any" separator. If
> you get a chance to update to the latest nightly build, you'll let me
> know if this works for you.
>
> Alex
>
> On Wed, Mar 24, 2010 at 1:35 PM, Robin Diederen <[hidden email]> wrote:
>> Hi Alex,
>>
>>
>>
>> That sounds good!
>>
>>
>>
>> I've attached the xforms.js I've made. In order to see my changes /
>> additions, do a text search for "NLcom" (that's our company name); you'll
>> find this as a comment throughout the code, at each occurence you'll find
>> some things of my doing ;).
>>
>>
>>
>> Best, Robin
>>
>>
>> -----Original message-----
>> From: Alessandro Vernet <[hidden email]>
>> Sent: Wed 24-03-2010 21:23
>> To: [hidden email];
>> Subject: [ops-users] Re: Re: Re: Re: RE: Re: format in date component
>>
>> Julien, Robin,
>>
>> I ended up rewriting some of the date handling code we had to make it
>> more generic, which simplifies things as the number of use cases we
>> want to handle increases. So you can now use date input formats such
>> as [D01]-[M]/[Y] (for the crazy people out there who actually want
>> this particular format!). This will be in the next nightly build. I
>> also updated the documentation on:
>>
>>
>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-xforms#TOC-For-xforms:input-
>>
>> You'll let me know if this works for you.
>>
>> Alex
>>
>> On Mon, Mar 22, 2010 at 10:56 AM, ricetrac <[hidden email]>
>> wrote:
>>>
>>> Hello,
>>>
>>> I attach the xforms.js file updated to this message.
>>> I have modified only this file. It is the xforms.js file of the nightly
>>> build dev-post-3.7.1.201002261123.
>>> I have add this two formats : [D01]/[M01]/[Y] and [M01]/[D01]/[Y].
>>> I have tested my update on my environnement and it's ok.
>>>
>>> thank You.
>>>
>>> Julien.
>>>
>>> http://n4.nabble.com/file/n1678032/xforms.zip xforms.zip
>>>
>>>
>>> Alessandro  Vernet wrote:
>>>>
>>>> Julien,
>>>>
>>>> The simplest way is to just attach your updated xforms.js to a message
>>>> you post here. If you had changes in more files, I would recommend you
>>>> clone the repository on GitHub, do your changes on your version of the
>>>> repository, and send a "pull request" through GitHub. But again, since
>>>> only one file is impacted, attaching the version of your updated file
>>>> to a message here will work just fine.
>>>>
>>>> Alex
>>>>
>>>> On Mon, Mar 22, 2010 at 1:45 AM, ricetrac <[hidden email]>
>>>> wrote:
>>>>>
>>>>> 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.
>>>>>
>>>>>
>>>>> Alessandro  Vernet wrote:
>>>>>>
>>>>>> Julien,
>>>>>>
>>>>>> * The property is oxf.xforms.format.input.date (default in
>>>>>> properties-xforms.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-and-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 me 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 <[hidden email]>
>>>>>> wrote:
>>>>>>>
>>>>>>> We could contribute to the code, but we need some help to start the
>>>>>>> development : in which class, or which javascript ?
>>>>>>>
>>>>>>> Thank You.
>>>>>>> Julien.
>>>>>>>
>>>>>>>
>>>>>>> Alessandro  Vernet wrote:
>>>>>>>>
>>>>>>>> Julien,
>>>>>>>>
>>>>>>>> I added an RFE for this, but most likely we won't get a chance to
>>>>>>>> implement this anytime soon unless a company with Development plan
>>>>>>>> sponsors it or someone contributes the code.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> http://forge.ow2.org/tracker/index.php?func=detail&aid=314828&group_id=168&atid=350207
>>>>>>>>
>>>>>>>> Alex
>>>>>>>>
>>>>>>>> On Wed, Mar 10, 2010 at 12:41 AM, Bittard, Julien
>>>>>>>> <[hidden email]> 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
>>>>>>>>> 21/1/2010.
>>>>>>>>> Thank you.
>>>>>>>>>
>>>>>>>>> -----Message d'origine-----
>>>>>>>>> De : Alessandro Vernet [mailto:[hidden email]]
>>>>>>>>> Envoyé : mercredi 10 mars 2010 00:09
>>>>>>>>> À : [hidden email]
>>>>>>>>> Objet : [ops-users] Re: format in date component
>>>>>>>>>
>>>>>>>>> Julien,
>>>>>>>>>
>>>>>>>>> Only 3 formats are supported at this point, see:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/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
>>>>>>>>> <[hidden email]> wrote:
>>>>>>>>>> Hello,
>>>>>>>>>>
>>>>>>>>>> I try to use the component <fr:date> with nigthly build 20100226
>>>>>>>>>> and
>>>>>>>>>> I
>>>>>>>>>> would like to know if it is possible to have this french date
>>>>>>>>>> format :
>>>>>>>>>> 01/01/2010 instead of : 1/1/2010 ?
>>>>>>>>>> I noticed also a bug, i think, when i add a <xforms:alert> on the
>>>>>>>>>> <fr:date> component, the exclamation mark is display, but not the
>>>>>>>>>> message when i put the mouse on it.
>>>>>>>>>>
>>>>>>>>>> Thank you.
>>>>>>>>>>
>>>>>>>>>> Julien.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Please help Logica to respect the environment by not printing this
>>>>>>>>>> email / Pour contribuer comme Logica au respect de
>>>>>>>>>> l'environnement,
>>>>>>>>>> merci de ne pas imprimer ce mail / Bitte drucken Sie diese
>>>>>>>>>> Nachricht
>>>>>>>>>> nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen.
>>>>>>>>>> /
>>>>>>>>>> Por favor ajude a Logica a respeitar o ambiente não imprimindo
>>>>>>>>>> este
>>>>>>>>>> correio electrónico. This e-mail and any attachment is for
>>>>>>>>>> authorised
>>>>>>>>>> use by the intended recipient(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
>>>>>>>>>> recipient then please promptly delete this e-mail and any
>>>>>>>>>> attachment
>>>>>>>>>> and all copies and inform the sender. Thank you.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>>> mailing list.
>>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>>> http://www.orbeon.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 pas imprimer ce mail /  Bitte drucken Sie diese Nachricht nicht
>>>>>>>>> aus
>>>>>>>>> und helfen Sie so Logica dabei, die Umwelt zu schützen. /  Por
>>>>>>>>> favor
>>>>>>>>> ajude a Logica a respeitar o ambiente nao imprimindo este correio
>>>>>>>>> electronico.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> This e-mail and any attachment is for authorised use by the
>>>>>>>>> intended
>>>>>>>>> recipient(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 recipient then please promptly delete this e-mail
>>>>>>>>> and
>>>>>>>>> any
>>>>>>>>> attachment and all copies and inform the sender. Thank you.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>> mailing
>>>>>>>>> list.
>>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>>>> http://www.orbeon.com/
>>>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>> mailing
>>>>>>>> list.
>>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> View this message in context:
>>>>>>> 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 [hidden email]
>>>>>>> mailing
>>>>>>> list.
>>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>>>> http://www.orbeon.com/
>>>>>> My Twitter: http://twitter.com/avernet
>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>> mailing
>>>>>> list.
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://n4.nabble.com/format-in-date-component-tp1584266p1677322.html
>>>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>>>> http://www.orbeon.com/
>>>> My Twitter: http://twitter.com/avernet
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://n4.nabble.com/format-in-date-component-tp1584266p1678032.html
>>> Sent from the Orbeon Forms (ops-users) mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email] mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>



--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
12