How to create an OSGI Library of that has custom controls that reference the Extension Library?

StackOverflow https://stackoverflow.com/questions/21652402

  •  08-10-2022
  •  | 
  •  

Question

I have created a simple OSGI Library that I have added a custom control from one of my databases. The Custom Control uses controls from the Extension Library. I can't figure out how to tell the new library to use the Extension Library. Either the IBM one or Openntf.

Was it helpful?

Solution

Your terminology is a little confusing. By "Custom Control" I'm assuming you mean "Component" as a custom control contains XSP Markup inside it (i.e. XML). But to address your issue, in the MANIFEST.MF file of your plugin, on the dependencies tab in the required plug-ins. Add com.ibm.xsp.extlib as a dependency. While you're there you'll probably also need to add:

  • com.ibm.xsp.designer
  • com.ibm.xsp.domino
  • com.ibm.icu

Looking at your previous question... I mirror Tim's suggestion of getting the XSP Starter Kit as that contains examples of custom components, resource providers, phase listeners, JS Library inclusion, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top