Using core and community widgets together

The core and community widgets are distributed with separate plug-ins. Each distribution contains full source code for relevant widgets, as well as a demo publication containing only those widgets. If you want to build a publication using both core and community widgets, please follow the instructions below :

  • Download both Widget Framework Core and Widget Framework Community distributions from technet.escenic.com and install both of them as standard ECE plug-ins.

  • Go to misc/widgets directory for each of the extracted archives and run mvn clean install command. Make sure that the build is successful.

  • Then go to the misc/demo folder of the community distribution. Edit the pom.xml and add the dependencies to all core widgets. If you're not sure how to add these dependencies, please check the pom.xml in misc/demo folder of the Widget Framework Core distribution.

  • Moreover, please add the <ui:group/> definition for core widgets in misc/demo/src/main/webapp/META-INF/escenic/publication-resources/escenic/content-type file of the community distribution.

  • Run mvn clean install in misc/demo folder of the community distribution. After the build is successful, take the war file from the misc/demo/target folder and create a publication using it. This war file should contain the templates, as well as content type definitions, of both core and community widgets.