eugenio romano Denys Vuika
i am getting this error in adf - 2.0
ContainerWidgetComponent.html:17 ERROR ReferenceError: adf is not defined
at FormFieldComponent.hasController (adf-core.umd.js:17579)
at FormFieldComponent.ngOnInit (adf-core.umd.js:17529)
at checkAndUpdateDirectiveInline (core.js:12094)
at checkAndUpdateNodeInline (core.js:13597)
at checkAndUpdateNode (core.js:13540)
at debugCheckAndUpdateNode (core.js:14412)
at debugCheckDirectivesFn (core.js:14353)
at Object.eval [as updateDirectives] (ContainerWidgetComponent.html:17)
at Object.debugUpdateDirectives [as updateDirectives] (core.js:14338)
at checkAndUpdateView (core.js:13507)
i am confused now with these tutorials
https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/stencils.md
https://github.com/Alfresco/alfresco-ng2-components/blob/master/docs/extensibility.md
which documentation i have to follow?. please give me the correct documentation for this.
<script src="node_modules/ng2-activiti-form/stencils/runtime.ng1.js"></script>
<script src="node_modules/ng2-activiti-form/stencils/runtime.adf.js"></script>
these lines are deprecated now but still it is there in documentation.
if (adf) { adf.registerComponent('ng2_component_01', SampleClass1); }
where i have to add?
You need only alfresco-ng2-components/extensibility.md at master · Alfresco/alfresco-ng2-components · GitHub The stencil you are trying to map "must not" have any controllers attached (neither AngularJS nor Angular).
We will fix the issue with APS controllers, so that you can still use them in both UIs
please advise has this issue been solved and how?
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.