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?

  • October 6, 2016
  • 5 replies
  • 1674 views

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.
Best answer by Feike_Visser1

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
October 6, 2016

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

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

kautuk_sahni
Community Manager
Community Manager
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

Kautuk Sahni
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. 

squid267Author
Level 3
October 11, 2016

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