I refactored my templates to contain templates within templates and all new screens I created stopped working.
By not working my binding where not found using my utils methods to get the DCBindingContainer.
For some reason when I created screens of my new templates it includes an extra form tag and binds my template to a page variable in the bindings <page path="za.co.test.pageDefs.defaultFormTemplatePageDef" id="ptb1" Refresh="ifNeeded"/>. If I remove the form tags and remove the page variable and its binding to my template all is good.
Hopefully this saves you some time.
By not working my binding where not found using my utils methods to get the DCBindingContainer.
For some reason when I created screens of my new templates it includes an extra form tag and binds my template to a page variable in the bindings <page path="za.co.test.pageDefs.defaultFormTemplatePageDef" id="ptb1" Refresh="ifNeeded"/>. If I remove the form tags and remove the page variable and its binding to my template all is good.
Hopefully this saves you some time.
Comments
Post a Comment