DD/MM/YYYY date format possible for input?

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

DD/MM/YYYY date format possible for input?

Stian Sigvartsen
DD/MM/YYYY date format possible for input?

Hi

I've searched the mailing list archive and although the topic of input date formats has been discussed, there doesn't appear to be a solution yet?

At present, once I've selected the date from the date picker that is provided by Orbeon, it appears in the US format which is MM/DD/YYYY.

Any thoughts?

-Stian




--
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: DD/MM/YYYY date format possible for input?

Raitis
You can create XBL control, where visible field is transformed to instance data and back.

R.

On Tue, Jan 11, 2011 at 8:10 PM, Stian Sigvartsen <[hidden email]> wrote:

Hi

I've searched the mailing list archive and although the topic of input date formats has been discussed, there doesn't appear to be a solution yet?

At present, once I've selected the date from the date picker that is provided by Orbeon, it appears in the US format which is MM/DD/YYYY.

Any thoughts?

-Stian




--
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




--
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: DD/MM/YYYY date format possible for input?

Tambet Matiisen
In reply to this post by Stian Sigvartsen
Hi Stian!

This should be as simple as setting property:
<property as="xs:string"  name="oxf.xforms.format.input.date"  value="[D]/[M]/[Y]"/>

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

Or am I missing something?

  Tambet

On 11.01.2011 20:10, Stian Sigvartsen wrote:
DD/MM/YYYY date format possible for input?

Hi

I've searched the mailing list archive and although the topic of input date formats has been discussed, there doesn't appear to be a solution yet?

At present, once I've selected the date from the date picker that is provided by Orbeon, it appears in the US format which is MM/DD/YYYY.

Any thoughts?

-Stian





--
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