How to include javascript on template properties?
Hi everyone,
First time questioning here.
I have a select in a page template and I want to change the predefined value depending on the parent page when used this template to create a page.
To do this I was thinking to use JavaScript but don't know how to include it.
My dialog is in this path:
src/main/content/jcr_root/apps/app/components/commons/tab/page-temp/page-temp-basic/.content.xml
tried adding it in and made a console.log on it but didn't work
src/main/content/jcr_root/apps/app/components/commons/tab/page-temp/page-temp-basic/page-temp-basic.js
Can anyone help with this?
Thank you in advance
