How do Dialogs save data to and read data from the JCR
I have often wondered, how does the dialog save / read data from the JCR, does it use ajax??
Regards
Clive Stewart
I have often wondered, how does the dialog save / read data from the JCR, does it use ajax??
Regards
Clive Stewart
Dialogs are basically forms.
When you submit a dialog, data in all the fields will be sent a post request to aem default servlet and from there it will be stored in nodes. This is very similar to the way a web form works, values in all the fields will be sent to the path specified in actions. Now here in place of action, you have the path to current node where data will be saved.
When you open dialog, get request will be made to the current node all properties are fetched and shown on dialog.
You can see those request when you look into browser network tabs
Thanks
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.