How to customize the tooltip of Dialog Done & Cancel Buttons | Community
Skip to main content
Level 2
May 26, 2023
Solved

How to customize the tooltip of Dialog Done & Cancel Buttons

  • May 26, 2023
  • 2 replies
  • 1152 views

We have a requirement to customize the tooltip of Dialog Done & Cancel Buttons

 

 

We tried to overlay the file \apps\cq\gui\components\authoring\dialog\dialog.jsp and customize the title property as follows but that did not work.

 

<button is="coral-button" icon="check" variant="minimal" class="cq-dialog-header-action cq-dialog-submit" title="Save, validate & close">Done</button>
 
Please suggest us how it can be achieved.
 
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 harishpvl1

I tried by overlaying the /apps/cq/gui/components/authoring/dialog/dialog.jsp and modified line#233 as shown below and it worked. 

<button is="coral-button" variant="minimal" class="cq-dialog-header-action cq-dialog-submit" title="<%= i18n.get("Done") %>">Testing</button>

2 replies

rawvarun
Community Advisor
Community Advisor
May 26, 2023

Where you want to see this customization?

Level 2
May 27, 2023

Component Dialogs for example Title Component etc. 

harishpvl1Accepted solution
Level 2
May 30, 2023

I tried by overlaying the /apps/cq/gui/components/authoring/dialog/dialog.jsp and modified line#233 as shown below and it worked. 

<button is="coral-button" variant="minimal" class="cq-dialog-header-action cq-dialog-submit" title="<%= i18n.get("Done") %>">Testing</button>