Extend calendar

UI Components for JSF
Post Reply
odelya
Posts: 16
Joined: 01 Jun 2010, 13:11

01 Jun 2010, 13:13

In my organization I have to custom a calendar that has ability to change to Broadcast and ISo calendar.

When I used RichFaces, I could exend their calendar. Since RichFaces is not compatible to JSF2 which I need to use, I would like to switch now to PrimeFaces.

Is there a way to extend any of your components?

Thanks!

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

01 Jun 2010, 14:51

Hi,

Can you please send links to the calendar types you mentioned to clarify your requirements.

For broadcast, maybe you can use;

http://www.primefaces.org:8080/prime-sh ... ePages.jsf

or

http://www.primefaces.org:8080/prime-sh ... hedule.jsf

odelya
Posts: 16
Joined: 01 Jun 2010, 13:11

01 Jun 2010, 15:26

Hi!

I need a component that has a button that when clicking on it - it changes the calendar type: ISO, Broadcast or Greogorian

1. Greogrian - the regular calendar (what exists now)

2. Broadcast calendar has is maximum 5 weeks, if the last week is not full (for example only 6 days - if the last day of the month is Friday), the rested day/s (i.e. Satuderday) will be considered as the next month and will not be displayed.
also, the calendar accepts first month of the year.

http://affiliates.citadelmedianetworks. ... lendar.pdf

http://en.wikipedia.org/wiki/Broadcast_calendar


2. ISO calndar :
In the first week of the year, the minimum days must be 4. If the amount of days is less - it is considered as the previous year.
also, the calendar accepts first month of the year.
is http://en.wikipedia.org/wiki/ISO_week_date

As well, is there a way to extend/change the components?

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

02 Jun 2010, 10:19

1) Yes :)

2) As I've mentioned, calendar pages set to 12 would help to create sth similar.

3) See;

http://yuilibrary.com/forum/viewtopic.php?p=12318

Calendar is based on YUI calendar which is easy to extend as like most of other PrimeFaces components since they are based on a powerful client side apis.

helenaorstem
Posts: 1
Joined: 30 Sep 2019, 22:50

21 Oct 2019, 15:59

I need a component that has a button that when clicking on it - it changes the calendar type: ISO, Broadcast or Greogorian

1. Greogrian - the regular calendar (what exists now)

2. Broadcast calendar has is maximum 5 weeks, if the last week is not full (for example only 6 days - if the last day of the month is Friday), the rested day/s (i.e. Satuderday) will be considered as the next month and will not be displayed.
also, the calendar accepts first month of the year.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 28 guests