Multiple months calendar view

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

Multiple months calendar view

musang
Hi All,

How do I make calendar picker to display more than one month ?

example : http://developer.yahoo.com/yui/examples/calendar/calgrp.html

I'm using the nightly build of Orbeon.


Thanks,
Musang.
Reply | Threaded
Open this post in threaded view
|

Re: Multiple months calendar view

Erik Bruchez
Administrator
Orbeon Forms doesn't have such a feature yet. But you can use two  
input controls bound to xs:date nodes, each with its own date picker.

-Erik

On Dec 15, 2008, at 1:17 AM, musang wrote:

>
> Hi All,
>
> How do I make calendar picker to display more than one month ?
>
> example :  http://developer.yahoo.com/yui/examples/calendar/ 
> calgrp.html
> http://developer.yahoo.com/yui/examples/calendar/calgrp.html
>
> I'm using the nightly build of Orbeon.
>
>
> Thanks,
> Musang.
> --
> View this message in context: http://www.nabble.com/Multiple-months-calendar-view-tp21006476p21006476.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Multiple months calendar view

musang
Thanks Eric,

I was just wondering if there is a way around for me to modify the YUI calendar call in Orbeon to pass in more parameter {PAGES:2} when creating the CalendarGroup.

It is fine if this is not a good idea or possible in Orbeon.

Thanks again.

Erik Bruchez wrote
Orbeon Forms doesn't have such a feature yet. But you can use two  
input controls bound to xs:date nodes, each with its own date picker.

-Erik
Reply | Threaded
Open this post in threaded view
|

Re: Re: Multiple months calendar view

Erik Bruchez
Administrator
I realize I may have misunderstood your initial question : I thought  
you wanted to capture two dates, which would be a problem if the field  
is holding an xs:date value. But if it's just a matter of showing two  
months, then you could modify xforms.js to get that effect. Ideally,  
there would be a way of controlling this from XForms, maybe through an  
appearance.

-Erik

On Dec 16, 2008, at 12:39 AM, musang wrote:

>
> Thanks Eric,
>
> I was just wondering if there is a way around for me to modify the YUI
> calendar call in Orbeon to pass in more parameter {PAGES:2} when  
> creating
> the CalendarGroup.
>
> It is fine if this is not a good idea or possible in Orbeon.
>
> Thanks again.
>
>
> Erik Bruchez wrote:
>>
>> Orbeon Forms doesn't have such a feature yet. But you can use two
>> input controls bound to xs:date nodes, each with its own date picker.
>>
>> -Erik
>>
>
> --
> View this message in context: http://www.nabble.com/Multiple-months-calendar-view-tp21006476p21024472.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.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
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Multiple months calendar view

musang
Thanks Erik,

That's right, I just want to simply show two months at a time of capturing a single date.

It works now by changing the code with :
yuiCalendar = new YAHOO.widget.CalendarGroup('cal1',calendarDiv.id,{navigator:true,PAGES:2});

Thanks.

Erik Bruchez wrote
I realize I may have misunderstood your initial question : I thought  
you wanted to capture two dates, which would be a problem if the field  
is holding an xs:date value. But if it's just a matter of showing two  
months, then you could modify xforms.js to get that effect. Ideally,  
there would be a way of controlling this from XForms, maybe through an  
appearance.

-Erik