Disable date picker

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

Disable date picker

Thorsten Stumpf
Hi there!

Does anybody know how to disable the datepicker for input form fields completely?
Is this possible and is it possible just to do that for selected xform:input elements?

Right now I don't want the date picker to show up at all (it's not localized completely).
In an future step we might want reactivate it for other forms or to substitute it by our own version.

Nevertheless: I want that the dates to be formatted appropriately in XML (YYYY-MM-DD instead of the input format D.M.Y).
I know that I can change the input generally via properties. Though I think that is not complete: One hast o be able to select the format of every input/output.

Think about fields where only (a month and) a year are/is needed. Right now that's impossible for inputs and uncomfortable for outputs.
Why can't I setup the way I want the input and the output to be represented as I need by a simple attribute on input or output or via a bind?

Thanks in advance

Thorsten


--
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: Disable date picker

Alessandro  Vernet
Administrator
Thorsten,

You can do this with CSS. The following should do the trick:

#orbeon-calendar-div { display: none }

Alex


On Mon, Sep 26, 2011 at 7:25 AM, Stumpf, Jens Thorsten
<[hidden email]> wrote:

> Hi there!
>
> Does anybody know how to disable the datepicker for input form fields completely?
> Is this possible and is it possible just to do that for selected xform:input elements?
>
> Right now I don't want the date picker to show up at all (it's not localized completely).
> In an future step we might want reactivate it for other forms or to substitute it by our own version.
>
> Nevertheless: I want that the dates to be formatted appropriately in XML (YYYY-MM-DD instead of the input format D.M.Y).
> I know that I can change the input generally via properties. Though I think that is not complete: One hast o be able to select the format of every input/output.
>
> Think about fields where only (a month and) a year are/is needed. Right now that's impossible for inputs and uncomfortable for outputs.
> Why can't I setup the way I want the input and the output to be represented as I need by a simple attribute on input or output or via a bind?
>
> Thanks in advance
>
> Thorsten
>
>
> --
> 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
|

AW: Re: Disable date picker

Thorsten Stumpf
Hello!

Of course the date picker disappears but in fact:
All it's code is still delivered consuming transfer capacity, memory and processing cycles.

It is a curing the symptom - and it is the option I choose for the time beeing.

Thanks

Thorsten


> -----Ursprüngliche Nachricht-----
> Von: Alessandro Vernet [mailto:[hidden email]]
> Gesendet: Mittwoch, 28. September 2011 04:51
> An: [hidden email]
> Betreff: [ops-users] Re: Disable date picker
>
> Thorsten,
>
> You can do this with CSS. The following should do the trick:
>
> #orbeon-calendar-div { display: none }
>
> Alex
>
>
> On Mon, Sep 26, 2011 at 7:25 AM, Stumpf, Jens Thorsten
> <[hidden email]> wrote:
> > Hi there!
> >
> > Does anybody know how to disable the datepicker for input form fields
> completely?
> > Is this possible and is it possible just to do that for selected xform:input
> elements?
> >
> > Right now I don't want the date picker to show up at all (it's not localized
> completely).
> > In an future step we might want reactivate it for other forms or to
> substitute it by our own version.
> >
> > Nevertheless: I want that the dates to be formatted appropriately in XML
> (YYYY-MM-DD instead of the input format D.M.Y).
> > I know that I can change the input generally via properties. Though I think
> that is not complete: One hast o be able to select the format of every
> input/output.
> >
> > Think about fields where only (a month and) a year are/is needed. Right
> now that's impossible for inputs and uncomfortable for outputs.
> > Why can't I setup the way I want the input and the output to be
> represented as I need by a simple attribute on input or output or via a bind?
> >
> > Thanks in advance
> >
> > Thorsten
> >
> >
> > --
> > 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: AW: Re: Disable date picker

Erik Bruchez
Administrator
Thorsten,

Agreed, although most likely the negative impact will be negligible.

-Erik

On Fri, Oct 28, 2011 at 3:24 AM, Stumpf, Jens Thorsten
<[hidden email]> wrote:

> Hello!
>
> Of course the date picker disappears but in fact:
> All it's code is still delivered consuming transfer capacity, memory and processing cycles.
>
> It is a curing the symptom - and it is the option I choose for the time beeing.
>
> Thanks
>
> Thorsten
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: Alessandro Vernet [mailto:[hidden email]]
>> Gesendet: Mittwoch, 28. September 2011 04:51
>> An: [hidden email]
>> Betreff: [ops-users] Re: Disable date picker
>>
>> Thorsten,
>>
>> You can do this with CSS. The following should do the trick:
>>
>> #orbeon-calendar-div { display: none }
>>
>> Alex
>>
>>
>> On Mon, Sep 26, 2011 at 7:25 AM, Stumpf, Jens Thorsten
>> <[hidden email]> wrote:
>> > Hi there!
>> >
>> > Does anybody know how to disable the datepicker for input form fields
>> completely?
>> > Is this possible and is it possible just to do that for selected xform:input
>> elements?
>> >
>> > Right now I don't want the date picker to show up at all (it's not localized
>> completely).
>> > In an future step we might want reactivate it for other forms or to
>> substitute it by our own version.
>> >
>> > Nevertheless: I want that the dates to be formatted appropriately in XML
>> (YYYY-MM-DD instead of the input format D.M.Y).
>> > I know that I can change the input generally via properties. Though I think
>> that is not complete: One hast o be able to select the format of every
>> input/output.
>> >
>> > Think about fields where only (a month and) a year are/is needed. Right
>> now that's impossible for inputs and uncomfortable for outputs.
>> > Why can't I setup the way I want the input and the output to be
>> represented as I need by a simple attribute on input or output or via a bind?
>> >
>> > Thanks in advance
>> >
>> > Thorsten
>> >
>> >
>> > --
>> > 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
>
>


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