Skip to main content
Level 3
Oct 6, 2016 4:19 PM UTC
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
Adobe Employee
Oct 6, 2016 5:26 PM UTC

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

5 replies

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
Oct 6, 2016 5:26 PM UTC

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

Translate
edubey
Level 10
Oct 9, 2016 10:22 AM UTC

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

Translate
kautuk_sahni
Level 9
Oct 10, 2016 9:33 AM UTC

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
smacdonald2008
Level 10
Oct 11, 2016 2:50 PM UTC

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
squid267Author
Level 3
Oct 11, 2016 2:57 PM UTC

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

Translate