Schedule month change listener

UI Components for JSF
Post Reply
User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

15 Oct 2010, 19:57

Hi there.

Searching for improvement in the schedule componet, i had the idea of load from the database just 3 months, 1 before actual, actual month, and 1 after. To do that, i need to know in the apllication bean when schedule has change the month, so i can reload 3 new months, actually just need to load the next month before the following month. Get it? ;)

So i want you to tell me if theres some way that i can simulated this, or an event i dont know, i've search in the component xhtml on Google code and i saw there's no monthChangeListener or something like that, also tried whit some <p:ajax> events; but i get nothing.

So thats the situation, Thanks for your answer. :D
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

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

16 Oct 2010, 12:08

Sounds good, please create a new issue ticket for this feature request.

User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

18 Oct 2010, 03:32

Done, issue created, its the issue 1329.

Here's the link: http://code.google.com/p/primefaces/iss ... il?id=1329

Hope that will be done soon... :D :D

Thank you! 8-)
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

28 Oct 2010, 19:41

I have starred this issue, since I'm also in need for a monthChangeListener.

BTW, in the current implementation is there a way to figure out which month a user has selected?
JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

28 Oct 2010, 19:51

Hi there, i've found this in the google code page of primefaces, but i haven't try it cause im bussy rigth now. You can try it, and if it works, let me know. ;)

http://code.google.com/p/primefaces/iss ... ail?id=930
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

28 Oct 2010, 20:24

Thanks for the link, Link. :D

For my use case that's even better. So I can use the start and end Date of the loadEvents() to query against an event table and place only markers of events for the selected month on a gmap.
JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

User avatar
Link
Posts: 10
Joined: 08 Sep 2010, 19:23

28 Oct 2010, 21:03

You're Welcome bardu. :)

I'll try that later, but i still thinking it will be very usefull a changeMonthListener on the schedule component. :D :D
Pura Vida!!

Using:
Primefaces 2.2, Glasfish 3.0.1, JSF 2.0, Netbeans 6.9

User avatar
bardu
Posts: 293
Joined: 30 Dec 2009, 08:27
Location: Canada

28 Oct 2010, 21:08

Agree!
JSF-2.0, mojarra-2.1 | PrimeFaces-3.0-M1 | GFv3.1 | NetBeans 7 | Ubuntu 11.04
www.yukonlive.ca
www.yukonlive.de

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 27 guests