I created a component with a dialog and in the cq:action
array, the last value contains static text like "componentName".
The user can click "edit" to open a dialog with a text field.
My requirement is to change the cq:action
text from "componentName" to
"componentName - textFieldValue".
How can I do that?