Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

page is not refreshing when clicking on 'OK' Button of dialog

Avatar

Level 9

Hi All,

I have written component and included that component in page component.This dialog has one tab with text field,when clicking on OK button required action is happening but page is not refreshing.To see latest content on the page i need to refresh the page.How to fix this issue and rand the page will be refreshed as soon as clicking on the 'OK' button of dialog.

Thanks,

Kishore

1 Accepted Solution

Avatar

Correct answer by
Level 9

Thank you all.

I have followed https://helpx.adobe.com/experience-manager/kb/RefreshPageWhenModifyDialog.html ,resolved issue.Now i could see results immediately.

View solution in original post

5 Replies

Avatar

Level 10

When entering values into the dialog and clicking the OK button - you should be seeing the values that an author enters into the dialog in the AEM page.  For example - if you use the text component - you enter text into the RTE. That text is displayed in the AEM page when the button is displayed

See this example:

[img]ARTE.png[/img]

Are you not seeing the values entered into dialog fields?  

Avatar

Level 9

smacdonald2008 wrote...

When entering values into the dialog and clicking the OK button - you should be seeing the values that an author enters into the dialog in the AEM page.  For example - if you use the text component - you enter text into the RTE. That text is displayed in the AEM page when the button is displayed

See this example:

Are you not seeing the values entered into dialog fields?  

 

I could see the value entered in the dialog under /content/<page>node but the final processed result is not shown until i refresh the whole page.

Avatar

Employee
I could see the value entered in the dialog under /content/<page>node but the final processed result is not shown until i refresh the whole page.

Hi Kishore,

have you set the cq:listener behaviour?

https://docs.adobe.com/docs/en/cq/5-6-1/developing/components.html#cq:listeners

Avatar

Correct answer by
Level 9

Thank you all.

I have followed https://helpx.adobe.com/experience-manager/kb/RefreshPageWhenModifyDialog.html ,resolved issue.Now i could see results immediately.

Avatar

Level 1

Could you please post your solution, the link doesnt seem to work, what needs to be done?