IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Registering a JavaScript file naming rule

This topic describes how to register a JavaScript file naming rule.

Procedure

To register a JavaScript file naming rule, do the following steps:

  1. Open the plugin.xml file of the WebSphere® Multichannel Bank Transformation Toolkit extension plug-in project, and then click the Extensions tab.
  2. In the All Extensions panel, click Add... to open the New Extension window.
  3. In the Extension Point Filter field of the New Extension window, enter com.ibm.btt, and then select com.ibm.btt.tools.xui.editor2.generator. Click Finish.
  4. In the All Extensions panel, right-click com.ibm.btt.tools.xui.editor2.generator, and then click New > uiGenHandler.
  5. In the Extension Element Details window, enter detailed information.
    1. In the name field, enter the name of the JavaScript file naming rule.
    2. In the class field, enter the implementation class of extended naming rule described in 8.1.1.
    3. In the priority field, specify the priority of this extension. If the extension point is registered by multiple plug-ins, the extension with the higher priority extension is invoked by WebSphere Multichannel Bank Transformation Toolkit. The WebSphere Multichannel Bank Transformation Toolkit default naming rule is registered as low priority; therefore, the customized JavaScript file naming rule should be registered as medium or high priority.


Feedback