WebClient.properties
file.DefaultViewer
class so that all other methods can be inherited. If you do not want to extend the default viewer, you must recreate the whole interface.WebClient.properties
file.The following steps describe what you need to do to create the custom viewer for the sample group worklist. The source files for setting up the group worklist are stored in the <MQWFDir>/smp/WebClient/groupwl
directory. To create the viewer, including the provided design, perform the following steps:
step1
directory.GroupWorkListViewer.start
file to GroupWorkListViewer.java
.GroupWorkListViewer.java
file, and add the necessary import
statements.GroupWorkListViewer
.init()
method, and the
groupListName
properties from the WebClient.properties
file.logonResponse()
method to create the worklist called WorkListName if it does not yet exist. Use the parameter OWNER=CURRENT_USER
as filter.jc step1\GroupWorkListViewer.javacommand to compile your file.
WebClient.properties
file
and change the line
DefaultViewer=com.ibm.workflow.servlet.client.JSPViewerto
DefaultViewer=com.ibm.workflow.servlet.sample.GroupWorkListViewer
servlet.log
file to see which Viewer
has been loaded by the Web client.GroupWorkListViewer.sol
).