We have a page called masterPage which is of supertype /wcm/core/page. This page has a dialog with 4 custom fields
We also have another page called personPage which is of superType masterPage. Again this page also has a dialog with a number of custom fields. In addition there is a custom JavaScript in a client library with a category of personPage.edit
In the dialog for personPage we set the extraClientlibs to include personPage.edit.
When we edit the page from the open properties button, the clientLib is loaded and the functionality works. However when we create a page using the pagewizard the clientLib is not loaded and we do not get the required functionality.
Has anyone come across such an issue?
I guess the work around it to set the catageory of the person clientlib to be the cq authoring category, but we would like to know if there is a better way or if this is a bug?