Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

GK-AEM
Level 9
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
GK-AEM
Correct answer by
Level 9
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
smacdonald2008
Level 10
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?  

GK-AEM
Level 9
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.

Opkar_Gill
Employee
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

GK-AEM
Correct answer by
Level 9
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

anjali05081
Level 1
Level 1

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