Posts

Showing posts from February, 2023

Liferay Fragment Collection Contributor

Image
  Liferay Fragment Collection Contributor Overview Liferay Fragment Collection Contributor is another way for deploying fragments. This approach has its own pros and cons, which will be reviewed later in this article, but should be considered as an option. Module structure Liferay module for a custom fragment collection contributor should have the following structure: Module files bnd.bnd: Bundle-Name : LifeDev Fragment Collection Contributor Bundle-SymbolicName : com.lifedev.fragment.collection.contributor Bundle-Version : 1.0.0 Web-ContextPath : /fragment-collection-contributor-lifedev -dsannotations-options : inherit As a Bundle-Name we specify a human-readable name of our module, e.g. “LifeDev Fragment Collection Contributor”. Bundle-SymbolicName is typically a fully-qualified package name, e.g. com.lifedev.fragment.collection.contributor. Bundle-Version is 1.0.0 initially, but can be increased when a new version is released. We also need to specify a w