2
When using the component Schedule of Primefaces it is possible to manipulate the events of the buttons that change the current calendar month, the buttons marked with the circle in the image below?
I want to capture from the event associated to the "navigation buttons" the selected month and perform from this event a query on demand, ie a query that takes into account the month selected by the navigation button.
Is this implementation possible? If so, how should I proceed?
You want to catch the month you are displaying after clicking the button?
– Rafael
@Rafael, capture of the month is secondary. I want to act in the "change" of the navigation component of the month, to load the events on demand, according to the selected month. I adjusted the question to make the need clearer.
– Geison Santos
Have you seen the event
viewChange
? It is fired when the view is changed.– Rafael
@Rafael, I did a quick test and the event was not called when clicking the navigation buttons.
– Geison Santos