Expand my Community achievements bar.

SOLVED

How to customize the tooltip of Dialog Done & Cancel Buttons

Avatar

Level 2

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

 

SKAgarwal_0-1685111943310.png

 

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.
 
1 Accepted Solution

Avatar

Correct answer by
Level 2

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>

View solution in original post

3 Replies

Avatar

Community Advisor

Where you want to see this customization?

Avatar

Correct answer by
Level 2

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>