displaying time

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

displaying time

srikanth.prodigy

Hello All,

 

Im displaying time using xforms:input control I want to display 12:00 pm when user enters 12 in the input box but now it is displaying 0:00 pm

How can I achieve this?

Thanks,

Srikanth A



--
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: displaying time

Erik Bruchez
Administrator
Srikanth,

The completion of the time takes place in xforms.js. You will have to  
hack around _timeParsePatterns to change this.

For noscript mode, the same operation is implemented in  
XFormsInputControl.java.

-Erik

On Jun 17, 2009, at 1:50 AM, Srikanth A wrote:

> Hello All,
>
> Im displaying time using xforms:input control I want to display  
> 12:00 pm when user enters 12 in the input box but now it is  
> displaying 0:00 pm
> How can I achieve this?
> Thanks,
> Srikanth A
>
> --
> 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 for the Enterprise Done the Right Way
http://www.orbeon.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