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
  •  | 
  •  

문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top