I don't even know if this is possible.
I have a Javascript widget (fyi, an interactive calendar) which I like to use for its functionality (there are some things that the Primefaces calendar doesn't have, for instance, a badge in each day counting the number of events in that day, etc.) but I'd like now to use it in my JSF project.
The case is, when I click on a day, a panel is displayed showing the details of that day events, with a link for more details, in case that day has events. If the day doesn't have events, the click on that day will open a new form to create an event in that specific day.
The problem is that this is only done by Javascript events, and I'd wish to load that panel with only the events of that specific day, with the proper links to it. I thought that there was a way to render a <h:commandLink>
directly from the Javascript code, but it looks like it's not the case.
Does anyone have a better solution for this?