I have a scenario wherein i have a separate template for pages showing course details and course timings. There are two components built(coursedetails and coursetimings) which display details about location wise timings of courses. These components fetch data entered via Page Properties dialog shown below with using java classes:
and below is the screenshot how it gets displayed on the page:
Whenever we again open the Page Properties dialog these multifield data disappears. Normal component dialogs are able to retain data from multifields in my project, but in case of Page Properties dialog its failing. How should i make it work ?
Which Cumulative Fix Pack are you using? I've heard CFP 11 can cause this behavior. There's a constant CQ.PAGE_PROPERTIES_MAX_RECURSION_LEVEL defined in /libs/cq/ui/widgets/source/constants.js that will interfere with paths like pagenode/jcr:content/level1node/actualpropertynode. You need to overlay that file and increase the recursion level to the depth you require.
Figured out something more:
When using custom multifield from within a component dialog (for example dialog of metatag component) the node structure which is getting created in crx is as below and everything is working fine
But while using the multifield from within Page Properties the node structure which is getting created in crx is as below:
Due to this improper creation of nodes , the page properties dialog is not able to fetch stored data. Any help on how can i resolve this?