Schedule Primefaces update to full calender v 2

Community Driven Extensions Project
Post Reply
mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

16 Jun 2014, 13:43

Hi,

i'm using schedule Component in primeface 5 and and the schedule component uses full calendar v 1.6.1 and in full calendar v 2 new features like that :-

use day view mode

http://arshaw.com/js/fullcalendar-2.0.1 ... table.html

in this feature i can select the slot time with date and add event but in primefaces schedule i couldn't do it ,

how can i do it with schedule component or how can i update schedule.js to full calendar v 2 ?

please help

thanks
Last edited by mostafatabal on 17 Jun 2014, 12:48, edited 1 time in total.

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

17 Jun 2014, 07:56

You should post this query in Core forum.You can override the jquery plugins using custom resource ordering.But I doubt fullcalendar plugin available under schedule.js itself(If so,override entire schedule.js file with latest fullcalendar version).BTW,You might also face some compatible issues with latest version.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

17 Jun 2014, 11:15

you mean override the fullcalendar.js to schedule.js and compress again ?

User avatar
sudheer
PrimeFaces Core Developer
Posts: 4345
Joined: 16 Oct 2011, 19:19
Location: Singapore

17 Jun 2014, 11:31

Just update the fullcalender.js in your schedule.js file and then override the default PF schedule.js with the updated one.It should work without compression as well.
Author,Speaker
https://twitter.com/sudheerjonna
Github: https://github.com/sudheerj
Website http://sudheerjonna.com/

___________________
Sudheer Jonna

mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

17 Jun 2014, 11:43

It should work without compression as well, how that?

i get file schedule.js after extract primefaces .jar .

i have the fullcalendar.js v2 and schedule.js from primefaces in the header written fullcalendar v 1.6.1 ?

sorry for distribute you , can explain me how i do it Or can do it for me ans send me file ?

and another thing in fullcalendar v2 variable like editable not in schedule .js . how can i did it also?

please help

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

17 Jun 2014, 16:35

download the source of primefaces and replace the relevant js files... or parts of js files.

Regarding new functionality... it will obviously not be supported if you just replace the client-side js files.

mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

17 Jun 2014, 18:24

i download the source file , i have the schedule.js

and i have the Schedule.java
i want to add var attr called editable : to make all events non edtiable for any user . how can i do it

thanks

mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

17 Jun 2014, 20:54

please help , i need it :)

mostafatabal
Posts: 24
Joined: 01 Oct 2013, 12:15

17 Jun 2014, 21:07

when i download the source and build it with maven then run my project i have this error message :-

javax.servlet.ServletException: org.primefaces.component.schedule.Schedule cannot be cast to javax.faces.component.UICommand


what can i do please ?

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

20 Jun 2014, 10:45

mostafatabal wrote:what can i do please ?
at least like in the other posts:
- use the correct forum (schedule is not extensions)
- do not try to create duplicate posts
- do not post almost identical posts
- don't be impatient

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 16 guests