Hi, I am trying to make a report that adds a followUp to a project. I can succesfully do this with addComments and addNotes and it works fine, but those are just text. I need a jcuidatepicker to pick a date for followUp. When I render Partial, it appears, but does not function; if I click, not datepicker comes up. If I render instead of renderPartial it appears to work, but I dont want a complete render, I want to be able to do stuff without leaving page and without rendering the full page like it does. So, the jquery seems to not be working with renderPartial, or maybe I am doing something wrong, but the others work fine and are done in the same fashion.
The widget register some javascript. That js is rendered when using render(), not when using renderPartial.
Maybe, you can add the add the script in your partial template using CClientScript.render() or renderBodyEnd (you have to find where is the js rendered in CJuiDatePicker code)
Another solution could be to copy the rendered js code, change it to bind js code to a class a not an id, then include it the view (the first one, not the partial).