When do you need to add logic to save content from dialog boxes? | Community
Skip to main content
Level 3
October 6, 2016
Solved

When do you need to add logic to save content from dialog boxes?

Hi all,

I'm having trouble understanding when you need add clientlib js file to save content from the dialog box? When is this necessary? Is it the same for TouchUI (Granite/Coral) and ClassicUI (extJS)

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Feike_Visser1
Feike_Visser1Accepted solution
Employee
October 6, 2016

Normally you don't have to write logic/code to store values from dialog.

5 replies

squid267Author
Level 3
October 11, 2016

Thank you everyone. It really cleared it up for me. 

Translate
smacdonald2008
Level 10
October 11, 2016

The only use case I can think of when its necessary to write code is an advanced Multi-field dialog. 

See: 

http://scottsdigitalcommunity.blogspot.ca/2016/09/creating-aem-62-html-template-language.html

We have an article and video that shows this. 

Translate
kautuk_sahni
Employee
October 10, 2016

Ad mentioned by Praveen, the Dialog are nothing but forms, so then when you click the the OK button, the action or submission is performed.

Please have a look at this reference article to fetch the value from dialog :- http://aem.matelli.org/fetching-properties-from-dialogs/

~kautuk

Translate
Kautuk Sahni
edubey
Level 10
October 9, 2016

Dialogs are form for which there is not need write any code to submit values. Its takes care of it automatically

Translate
Feike_Visser1
Feike_Visser1Accepted solution
Employee
October 6, 2016

Normally you don't have to write logic/code to store values from dialog.

Translate