Dynamic Drop in Content Fragment
I have 6 tabs in CF with each tab consists of 2 drop downs and 1 text field. Based on the servlet I fetch the tag data on CF load for first time and stored in the 1st dropdown of all the tabs. Now based on my selection of the tag value in the first dropdown. I need to populate the values in the second dropdown and the data for that is again fetched by servlet. (Fragments List using the tag selected in the first dropdown). Based on the selection of the fragment from second dropdown i need to populate the CF path of that fragment in the path field.
Now im able to achieve this scenario for the first time. My Script calls the servlet on CF load and fetches the tags data for first dropdown and based on the tag selection i get the fragments list in second dropdown. But when i save CF and reopen the CF, I don't see the selected values from the dropdown but i see the path which is populated from the selection of fragment from second dropdown. But the values are stored in CRXDE.
I have tried with manual options from CF Model. those were selected even after i open the CF again. But dynamic values are causing an issue.
Any suggestions what can be done in order to retain the selection.?