I have date field and tag field in dialog box. I have to fill tag field based on the date in date field and subsidary of the page.
I have startDate as date field and year as tag Field. I have to fill year tagfield based on year of startDate and subsidary they are in.
Here you can see i am in cytech subsidary and startdate has 2012 . tag here is appled cytech:year/2012.
Now i want to do for all subsidaries when i chage or add date, the year tag should be automatically updated based on year in startDate and subsidary it is in. i have done using path based servlet by sending request and dynamically loaded using javascript. i want another approaches as many as possible. i am new to AEM and CMS. remember i am not using HTL as they are in page properties. feel free to ask for further information.



