When do you need to add logic to save content from dialog boxes? | Community
Skip to main content
New Participant
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

squid267Author
New Participant
October 11, 2016

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

smacdonald2008
New Participant
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. 

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

Kautuk Sahni
edubey
New Participant
October 9, 2016

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

Feike_Visser1
Feike_Visser1Accepted solution
Employee
October 6, 2016

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