Hello
I would to use the calendar popup, but how to customize it ? How to change the "class" of generated input ? 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 |
Administrator
|
Julien,
Here is an example of the output for a date: <span id="xforms-element-90" class="datafield xforms-control xforms-input xforms-type-date"> <span class="xforms-date-display">Monday October 29, 2007</span> <input id="input-xforms-element-90" class="xforms-input-input" type="text" tabindex="4" value="2007-10-29" name="xforms-element-90"/> <img id="showcalendar-xforms-element-90" class="xforms-showcalendar" src="/ops/ops/images/xforms/calendar.gif"/> </span> Where are you trying to change a class? -Erik [hidden email] wrote: > Hello > > I would to use the calendar popup, but how to customize it ? How to change the > "class" of generated input ? > > thank you. > -- 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 |
My input is not the same :
<input id="input-mtDemande" type="text" name="mtDemande" value="2007-10-13" class="xforms-input-input xforms-type-date"> I put a bind on my nodeset : <xforms:bind nodeset="/form/FormCommunOrbeon/mdMontantDemande" type="xs:date" /> and I define the input like this : <xforms:input ref="/form/FormCommunOrbeon/mdMontantDemande" id="mtDemande" xhtml:class="FORMINPUTOBLIGATOIRE" > I define my style like this : .FORMINPUTOBLIGATOIRE input { color: #000000; font-family: Verdana; font-size: x-small; border-width: 1; border-color: #263A7C; border-style: solid; padding: 1px; background-image : url("/config/theme/images/input/croix.gif"); background-position : right top; background-repeat : no-repeat; } but it is not applied. the style of input generated does not conform to my style. I think there is a special style for the type date, and I would know if we can customize it. An another question is about the popup calendar : I read in this mailing list that we can't translate the calendar. It is true ? 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 |
Administrator
|
Julien,
As I said, don't use xhtml:class, just use class. -Erik [hidden email] wrote: > My input is not the same : > <input id="input-mtDemande" type="text" name="mtDemande" value="2007-10-13" > class="xforms-input-input xforms-type-date"> > > I put a bind on my nodeset : > <xforms:bind nodeset="/form/FormCommunOrbeon/mdMontantDemande" type="xs:date" > /> > > and I define the input like this : > <xforms:input ref="/form/FormCommunOrbeon/mdMontantDemande" id="mtDemande" > xhtml:class="FORMINPUTOBLIGATOIRE" > > > I define my style like this : > .FORMINPUTOBLIGATOIRE input { > color: #000000; > font-family: Verdana; > font-size: x-small; > border-width: 1; > border-color: #263A7C; > border-style: solid; > padding: 1px; > background-image : url("/config/theme/images/input/croix.gif"); > background-position : right top; > background-repeat : no-repeat; > } > > but it is not applied. > the style of input generated does not conform to my style. > I think there is a special style for the type date, and I would know if we can > customize it. > An another question is about the popup calendar : I read in this mailing list > that we can't translate the calendar. It is true ? > > thank you. > -- 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 |
Administrator
|
In reply to this post by julien-29
Julien,
I realize that I am in fact confused. What exactly are you trying to style? This is a date field, right? Are you trying to style the calendar? If so, no CSS applied to the HTML input will work. Instead, you will have to use classes that apply to the calendar itself. At the moment we are using the calendar from: http://www.dynarch.com/projects/calendar/ When the calendar pops up, if you use something like Firebug in Firefox, you can see all the CSS classes that apply to the calendar elements, and you should be able to style it correctly. -Erik [hidden email] wrote: > My input is not the same : > <input id="input-mtDemande" type="text" name="mtDemande" value="2007-10-13" > class="xforms-input-input xforms-type-date"> > > I put a bind on my nodeset : > <xforms:bind nodeset="/form/FormCommunOrbeon/mdMontantDemande" type="xs:date" > /> > > and I define the input like this : > <xforms:input ref="/form/FormCommunOrbeon/mdMontantDemande" id="mtDemande" > xhtml:class="FORMINPUTOBLIGATOIRE" > > > I define my style like this : > .FORMINPUTOBLIGATOIRE input { > color: #000000; > font-family: Verdana; > font-size: x-small; > border-width: 1; > border-color: #263A7C; > border-style: solid; > padding: 1px; > background-image : url("/config/theme/images/input/croix.gif"); > background-position : right top; > background-repeat : no-repeat; > } > > but it is not applied. > the style of input generated does not conform to my style. > I think there is a special style for the type date, and I would know if we can > customize it. > An another question is about the popup calendar : I read in this mailing list > that we can't translate the calendar. It is true ? > > thank you. > -- 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 |
Ok thank you I try it.
-- 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 |
Yes !!!
In order to translate the calendar popup, you need first to decompress the ops-ressource-public.jar, and then to modify the file calendar-en-min.js with the good language. then you create in ressource directory, the same directory (ops\javascript\jscalendar\lang) and put this file here. Be careful, the file's name must be the same. the css file that is used for the popup calendar is the calendar-blue.css. If you want to customize the popup, modify this file and put in the good directory. this calendar is so good ! -- 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 |
Administrator
|
Julien,
Cool. Does the calendar support creating a file named, say, calendar-fr-min.js, and then somehow passing the "fr" language to the calendar? We were thinking about migrating to the YUI calendar in the future. Have you had a chance of comparing it with the one we are using now? http://developer.yahoo.com/yui/calendar/ We would like to migrate so as to reduce the number of dependencies on other JavaScript frameworks. -Erik [hidden email] wrote: > Yes !!! > In order to translate the calendar popup, you need first to decompress the > ops-ressource-public.jar, and then to modify the file calendar-en-min.js with > the good language. > then you create in ressource directory, the same directory > (ops\javascript\jscalendar\lang) and put this file here. > Be careful, the file's name must be the same. > > the css file that is used for the popup calendar is the calendar-blue.css. > If you want to customize the popup, modify this file and put in the good > directory. > > this calendar is so good ! > -- 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 |
-- Cool. Does the calendar support creating a file named, say,
calendar-fr-min.js, and then somehow passing the "fr" language to the calendar? No I try with an another name (calendar-fr.js) and it doesn't work. I think that you are required to use the same name. (calendar-en-min.js) I tried a little the yahoo calendar. I think that the actual jscalendar is better, is more beautiful. We can't move with the mouse the yahoo calendar. We can't quickly access to an old or future year. The only advantage, I think, that is the possibility to update the calendar with a text or select fields. This is my own opinion, sorry but I prefer the actual calendar ;) -- 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 |
Administrator
|
[hidden email] wrote:
> -- Cool. Does the calendar support creating a file named, say, > calendar-fr-min.js, and then somehow passing the "fr" language to the calendar? > > No I try with an another name (calendar-fr.js) and it doesn't work. I think > that you are required to use the same name. (calendar-en-min.js) > > > I tried a little the yahoo calendar. I think that the actual jscalendar is > better, is more beautiful. We can't move with the mouse the yahoo calendar. We > can't quickly access to an old or future year. > The only advantage, I think, that is the possibility to update the calendar > with a text or select fields. > > This is my own opinion, sorry but I prefer the actual calendar ;) it in the future. -Erik -- 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 |
Does the calendar support time yet?
-----Original Message----- From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik Bruchez Sent: Friday, 2 November 2007 11:04 AM To: [hidden email] Subject: Re: [ops-users] calendar [hidden email] wrote: > -- Cool. Does the calendar support creating a file named, say, > calendar-fr-min.js, and then somehow passing the "fr" language to the calendar? > > No I try with an another name (calendar-fr.js) and it doesn't work. I think > that you are required to use the same name. (calendar-en-min.js) > > > I tried a little the yahoo calendar. I think that the actual jscalendar is > better, is more beautiful. We can't move with the mouse the yahoo calendar. We > can't quickly access to an old or future year. > The only advantage, I think, that is the possibility to update the calendar > with a text or select fields. > > This is my own opinion, sorry but I prefer the actual calendar ;) Well thanks. Hopefully Yahoo! will improve their calendar so we can use it in the future. -Erik -- Orbeon Forms - Web Forms for the Enterprise Done the Right Way http://www.orbeon.com/ NOTICE This e-mail and any attachments are confidential and may contain copyright material of Macquarie Group Limited or third parties. If you are not the intended recipient of this email you should not read, print, re-transmit, store or act in reliance on this e-mail or any attachments, and should destroy all copies of them. Macquarie Group Limited does not guarantee the integrity of any emails or any attached files. The views or opinions expressed are the author's own and may not reflect the views or opinions of Macquarie Group Limited. -- 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 |
Administrator
|
No it doesn't. We really would like to have a good time entry widget.
-Erik On Nov 12, 2007, at 6:34 PM, Naman Joshi wrote: > Does the calendar support time yet? > > -----Original Message----- > From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik > Bruchez > Sent: Friday, 2 November 2007 11:04 AM > To: [hidden email] > Subject: Re: [ops-users] calendar > > [hidden email] wrote: >> -- Cool. Does the calendar support creating a file named, say, >> calendar-fr-min.js, and then somehow passing the "fr" language to the > calendar? >> >> No I try with an another name (calendar-fr.js) and it doesn't work. I > think >> that you are required to use the same name. (calendar-en-min.js) >> >> >> I tried a little the yahoo calendar. I think that the actual > jscalendar is >> better, is more beautiful. We can't move with the mouse the yahoo > calendar. We >> can't quickly access to an old or future year. >> The only advantage, I think, that is the possibility to update the > calendar >> with a text or select fields. >> >> This is my own opinion, sorry but I prefer the actual calendar ;) > > Well thanks. Hopefully Yahoo! will improve their calendar so we can > use > it in the future. > > -Erik > > -- > Orbeon Forms - Web Forms for the Enterprise Done the Right Way > http://www.orbeon.com/ > > NOTICE > This e-mail and any attachments are confidential and may contain > copyright material of Macquarie Group Limited or third parties. If > you are not the intended recipient of this email you should not > read, print, re-transmit, store or act in reliance on this e-mail or > any attachments, and should destroy all copies of them. Macquarie > Group Limited does not guarantee the integrity of any emails or any > attached files. The views or opinions expressed are the author's own > and may not reflect the views or opinions of Macquarie Group Limited. > > > -- > 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 |
When you have one, also think about a widget for basic type dateTime (date +
time in ISO format), and for xs:duration. Regards, Jozef ----- Original Message ----- From: "Erik Bruchez" <[hidden email]> To: <[hidden email]> Sent: Friday, November 16, 2007 11:26 PM Subject: Re: [ops-users] calendar > No it doesn't. We really would like to have a good time entry widget. > > -Erik > > On Nov 12, 2007, at 6:34 PM, Naman Joshi wrote: > >> Does the calendar support time yet? >> >> -----Original Message----- >> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik >> Bruchez >> Sent: Friday, 2 November 2007 11:04 AM >> To: [hidden email] >> Subject: Re: [ops-users] calendar >> >> [hidden email] wrote: >>> -- Cool. Does the calendar support creating a file named, say, >>> calendar-fr-min.js, and then somehow passing the "fr" language to the >> calendar? >>> >>> No I try with an another name (calendar-fr.js) and it doesn't work. I >> think >>> that you are required to use the same name. (calendar-en-min.js) >>> >>> >>> I tried a little the yahoo calendar. I think that the actual >> jscalendar is >>> better, is more beautiful. We can't move with the mouse the yahoo >> calendar. We >>> can't quickly access to an old or future year. >>> The only advantage, I think, that is the possibility to update the >> calendar >>> with a text or select fields. >>> >>> This is my own opinion, sorry but I prefer the actual calendar ;) >> >> Well thanks. Hopefully Yahoo! will improve their calendar so we can >> use >> it in the future. >> >> -Erik >> >> -- >> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >> http://www.orbeon.com/ >> >> NOTICE >> This e-mail and any attachments are confidential and may contain >> copyright material of Macquarie Group Limited or third parties. If >> you are not the intended recipient of this email you should not >> read, print, re-transmit, store or act in reliance on this e-mail or >> any attachments, and should destroy all copies of them. Macquarie >> Group Limited does not guarantee the integrity of any emails or any >> attached files. The views or opinions expressed are the author's own >> and may not reflect the views or opinions of Macquarie Group Limited. >> >> >> -- >> 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 > -- 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 |
Administrator
|
Yes these would be good. I think we really would like to have a
serious component system in Orbeon Forms. This would allow you to customize that type of widgets very easily. We have RFEs for these: http://forge.objectweb.org/tracker/index.php?func=detail&aid=306952&group_id=168&atid=350207 http://forge.objectweb.org/tracker/index.php?func=detail&aid=306951&group_id=168&atid=350207 -Erik On Nov 17, 2007, at 1:11 AM, Jozef Aerts - XML4Pharma wrote: > When you have one, also think about a widget for basic type dateTime > (date + time in ISO format), and for xs:duration. > > Regards, > > Jozef > > > ----- Original Message ----- From: "Erik Bruchez" > <[hidden email]> > To: <[hidden email]> > Sent: Friday, November 16, 2007 11:26 PM > Subject: Re: [ops-users] calendar > > >> No it doesn't. We really would like to have a good time entry widget. >> >> -Erik >> >> On Nov 12, 2007, at 6:34 PM, Naman Joshi wrote: >> >>> Does the calendar support time yet? >>> >>> -----Original Message----- >>> From: Erik Bruchez [mailto:[hidden email]] On Behalf Of Erik >>> Bruchez >>> Sent: Friday, 2 November 2007 11:04 AM >>> To: [hidden email] >>> Subject: Re: [ops-users] calendar >>> >>> [hidden email] wrote: >>>> -- Cool. Does the calendar support creating a file named, say, >>>> calendar-fr-min.js, and then somehow passing the "fr" language to >>>> the >>> calendar? >>>> >>>> No I try with an another name (calendar-fr.js) and it doesn't >>>> work. I >>> think >>>> that you are required to use the same name. (calendar-en-min.js) >>>> >>>> >>>> I tried a little the yahoo calendar. I think that the actual >>> jscalendar is >>>> better, is more beautiful. We can't move with the mouse the yahoo >>> calendar. We >>>> can't quickly access to an old or future year. >>>> The only advantage, I think, that is the possibility to update the >>> calendar >>>> with a text or select fields. >>>> >>>> This is my own opinion, sorry but I prefer the actual calendar ;) >>> >>> Well thanks. Hopefully Yahoo! will improve their calendar so we can >>> use >>> it in the future. >>> >>> -Erik >>> >>> -- >>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way >>> http://www.orbeon.com/ >>> >>> NOTICE >>> This e-mail and any attachments are confidential and may contain >>> copyright material of Macquarie Group Limited or third parties. If >>> you are not the intended recipient of this email you should not >>> read, print, re-transmit, store or act in reliance on this e-mail or >>> any attachments, and should destroy all copies of them. Macquarie >>> Group Limited does not guarantee the integrity of any emails or any >>> attached files. The views or opinions expressed are the author's own >>> and may not reflect the views or opinions of Macquarie Group >>> Limited. >>> >>> >>> -- >>> 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 > > > > -- > 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 |
Free forum by Nabble | Edit this page |