icfnext / cq-component-maven-plugin

Other
22 stars 35 forks source link

add option to suppress generating dialog.xml and _cq_dialog.xml #44

Closed cmacioch closed 7 years ago

cmacioch commented 8 years ago

Since some components don't need to be edited, there should be a way to suppress generating the dialog.xml and _cq_dialog.xml files. There is a 'suppressTouchUIDialog' property on the Component annotation, but it only suppresses generation of the _cq_dialog.xml file and the dialog.xml is still there, even if there are no widgets to include inside the dialog. Either providing another property to suppress generating dialog.xml or just not generating the files if there is nothing to show in the dialogs would fix the issue.

michaelhodgdon commented 7 years ago

Closing as a duplicate of #58 and #59