Is time picker implemented?
I've seen that in the xforms-controls example the time control is commented. <!--<xforms:bind nodeset="time" type="xs:time"/>--> The date picker is working perfectly, but the time picker only shows me a text input field. thanks, Jordi -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Jordi,
Adrian sent a while back some code to handle time input: http://mail-archive.objectweb.org/ops-development/2006-04/msg00007.html But so far this has slipped through the cracks and we have not yet integrated this code, so there is no time input field in OPS at the moment. -Erik [hidden email] wrote: > Is time picker implemented? > > I've seen that in the xforms-controls example the time control is commented. > <!--<xforms:bind nodeset="time" type="xs:time"/>--> > > The date picker is working perfectly, but the time picker only shows me a text input field. > > thanks, > Jordi -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Thanks Erik,
My question was because I am not able to show a xforms:input with a formatted dateTime. This is my code: <xhtml:td> <xforms:input ref="@beginTime" xxforms:format="format- dateTime(xs:dateTime(.), '[H01]:[m01]', 'en', (), ())" xxforms:maxlength="19" xxforms:size="20"/> </xhtml:td> Internally @beginTime is a dateTime, but I would like to present to the user an input form with only [hour]:[minutes]. I am using this xxforms:format that I've seen in one example but I always get an unformatted dateTime like this 2006-08-06T07:10:00. Do you know what I am doing wrong? Thanks again, Jordi -----Mensaje original----- De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez Enviado el: sábado, 05 de agosto de 2006 0:55 Para: [hidden email] Asunto: Re: [ops-users] time-picker Jordi, Adrian sent a while back some code to handle time input: http://mail-archive.objectweb.org/ops-development/2006-04/msg00007.html But so far this has slipped through the cracks and we have not yet integrated this code, so there is no time input field in OPS at the moment. -Erik [hidden email] wrote: > Is time picker implemented? > > I've seen that in the xforms-controls example the time control is commented. > <!--<xforms:bind nodeset="time" type="xs:time"/>--> > > The date picker is working perfectly, but the time picker only shows me a text input field. > > thanks, > Jordi -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Jordi Amatller wrote: Thanks Erik, My question was because I am not able to show a xforms:input with a formatted dateTime. This is my code: <xhtml:td> <xforms:input ref="@beginTime" xxforms:format="format- dateTime(xs:dateTime(.), '[H01]:[m01]', 'en', (), ())" xxforms:maxlength="19" xxforms:size="20"/> </xhtml:td> Internally @beginTime is a dateTime, but I would like to present to the user an input form with only [hour]:[minutes]. I am using this xxforms:format that I've seen in one example but I always get an unformatted dateTime like this 2006-08-06T07:10:00. Do you know what I am doing wrong? Thanks again, Jordi -----Mensaje original----- De: Erik Bruchez [[hidden email]] En nombre de Erik Bruchez Enviado el: sábado, 05 de agosto de 2006 0:55 Para: [hidden email] Asunto: Re: [ops-users] time-picker Jordi, Adrian sent a while back some code to handle time input: http://mail-archive.objectweb.org/ops-development/2006-04/msg00007.html But so far this has slipped through the cracks and we have not yet integrated this code, so there is no time input field in OPS at the moment. -Erik [hidden email] wrote:Is time picker implemented? I've seen that in the xforms-controls example the time control iscommented.<!--<xforms:bind nodeset="time" type="xs:time"/>--> The date picker is working perfectly, but the time picker only shows me atext input field.thanks, Jordi -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by joac
Jordi,
xxforms:format only works for formatting output, not input. You can use it with xforms:output, or with xforms:input when the format is xs:date and the calendar is used. Please read the documentation here: http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-formatting At the moment OPS doesn't support input formatting at all for xs:date or xs:dateTime. -Erik Jordi Amatller wrote: > Thanks Erik, > > My question was because I am not able to show a xforms:input with a > formatted dateTime. > This is my code: > > <xhtml:td> > <xforms:input ref="@beginTime" xxforms:format="format- > dateTime(xs:dateTime(.), '[H01]:[m01]', 'en', (), ())" > xxforms:maxlength="19" xxforms:size="20"/> > </xhtml:td> > > Internally @beginTime is a dateTime, but I would like to present to the user > an input form with only [hour]:[minutes]. I am using this xxforms:format > that I've seen in one example but I always get an unformatted dateTime like > this > 2006-08-06T07:10:00. > > Do you know what I am doing wrong? > > Thanks again, > Jordi > > > > > -----Mensaje original----- > De: Erik Bruchez [mailto:[hidden email]] En nombre de Erik Bruchez > Enviado el: sábado, 05 de agosto de 2006 0:55 > Para: [hidden email] > Asunto: Re: [ops-users] time-picker > > Jordi, > > Adrian sent a while back some code to handle time input: > > http://mail-archive.objectweb.org/ops-development/2006-04/msg00007.html > > But so far this has slipped through the cracks and we have not yet > integrated this code, so there is no time input field in OPS at the moment. > > -Erik > > [hidden email] wrote: >> Is time picker implemented? >> >> I've seen that in the xforms-controls example the time control is > commented. >> <!--<xforms:bind nodeset="time" type="xs:time"/>--> >> >> The date picker is working perfectly, but the time picker only shows me a > text input field. >> thanks, >> Jordi > > > ------------------------------------------------------------------------ > > > -- > 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 > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- Orbeon - XForms Everywhere: http://www.orbeon.com/blog/ -- 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 ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |