• general question

    By F. Kranenburg 1 decade ago

    Very nice extension to the Extension Library, thanks!

    How did you set up your environment to develop this? What where your starting points or documentation? I'm also interested in extending the extension library.

    Thanks again.

    • development environment

      By Mariusz Jakubowski 1 decade ago

      When I start to develop a new control I create it in a nsf:

      http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Creating_a_Java_Control_in_an_NSF

      When my class inherits from a class defined in extension library (UIDojoRotator extends UIDojoWidget or DojoRotatorRenderer extends DojoLayoutRenderer) I copy these files from extlib to nsf. Sometimes I have to copy all inheritance tree (DojoLayoutRenderer -> DojoWidgetRenderer -> FacesRendererEx).

      By placing my controls in nsf I can add properties and debug without restarting Designer.

      When the code is stable enough (no changes to xsp-config) I move the files to the plugin project in Eclipse. I used the documenation from extlib to setup development environment. I have the expeditor toolkit installed in Eclipse 3.4. Had some problems with this, but now it's working and also allows me to develop and debug sidebar plugins for Notes.

      This plugin was created as plugin fragment. If you look at the projects in Extension library you'll find

      - com.ibm.xsp.extlib  is a plugin (and that plugin defines that it's a Xpages library)

      - com.ibm.xsp.extlib.domino, com.ibm.xsp.extlib.mobile, com.ibm.xsp.extlib.oneui, ..., are plugin fragments

      The com.ibm.xsp.extlib loads all plugin fragments and registers them as a integral part of the library. This is the reason you don't see my plugin in advanced tab in application properties. It's not a standalone library (as Uni form is), but a fragment that is integrated into extlib.