I have something like this on my webpage, a select/drop down menu. This drop down menu should generate another drop down menu based on selected item. The way I am doing it, is b
If partial rendering doesn't work a good starting point is to look into html source of your page as it is rendered in browser. Your render="divYearSelection"
will only work if both (the ajax triggering component and the target component) have the same direct parent container.
Ids of rendered html components usually look like id="formId:componentId:nestedComponentId1"
or id="formId:componentId:nestedComponentId2"
So a render="nestedComponentId2"
called from component1 will only work if both ids have the same "trailer".
You could try to use the complete id as given in the example starting with the id of the form or alternatively (if the whole form is not too big) use render="@form"
which updates the whole form.