Customizing the Web client

You can customize the Web client in several ways, as summarized in this section. For details about how to customize the Web client, see the chapter "Customizing the Web client" in the MQ Workflow Programming Guide.

The main configurable properties of the Web client are set in the WebClient.properties file. You can use some of the properties to customize your Web client; for example, to the change the format for generated time fields or to specify the name of your own custom Viewer or CommandHandler class.

If you develop your own Viewer or CommandHandler class, you can add their properties to the WebClient.properties file and access those properties by using calls to the Config class, typically from within the init() method of your class. If you want to add other custom properties to the WebClient.properties files, for use by your JSPs, you should add a new section that contains those property settings. You can then specify the section name on Config() calls to retrieve the properties from that section.

You can also use your own custom catalogs with the Web client; for example, to use your own message catalogs or to create a catalog specific to the locale of a user's Web browser.

Customizing the Web client for use with the IBM MQ Workflow Portal client

If you have developed your own custom JSPs, Viewers, or CommandHandlers, you can reuse them in the IBM MQ Workflow Portal client. To reuse your own custom Web client JSPs in the Portal client, you need to first make some minor changes, as described in the section "Converting your Web client JSPs for use with the Portal client" in the MQ Workflow Programming Guide.