primefaces calendar component is getting Date by default. Can I get only month and year without dates.
How to get only month and year
You have to add this block to complete the navigation with arrow:
$(".ui-datepicker-next").click( function(){changeMonthYear(calendar);}); $(".ui-datepicker-prev").click( function(){changeMonthYear(calendar);});