How to Localize a Milestone

Building a Guided Business Process Client Application 25-3 12. Configure the Activity Guide to display a refresh button in the Activity Guide tree., using the following alternative methods: ■ In the file activityguide.properties, add the parameter ShowRefreshButton . Set its value to true to enable the display of a refresh button, and false or any other value to disable the refresh button. ■ In the Activity Guide tree task flow, add the parameter ShowRefreshButton and set its value to true. This task flow parameter overrides the value of the parameter set in the activityguide.properties file. If the value of the ShowRefreshButton parameter is empty or null, then the property ShowRefreshButton in the file activityguide.properties defines if the refresh button is shown. If the activityguide.properties file does not specify a value for this property then the refresh button is not shown in the client. Example 25–1 illustrates adding a ShowRefreshButton parameter to the tree task flow. Example 25–1 Add the ShowRefreshButton Parameter to the Tree Task Flow taskFlow id=dynamicRegion1 taskFlowId={backingBeanScope.dynamicLeft.dynamicTaskFlowId} xmlns=http:xmlns.oracle.comadfcontrollerbinding parameters parameter id=ShowRefreshButton value=true” xmlns=http:xmlns.oracle.comadfmuimodel parameters taskFlow 13. Edit the file adfc-config.xml to include the location of the activity.properties file. This should be the absolute path to the activityguide.properties file. An example adfc-config.xml is shown in Example 25–2 . Example 25–2 adfc-config.xml File with Reference to activityguide.properties File managed-bean id=__10 managed-bean-name id=__12agPropsmanaged-bean-name managed-bean-class id=__ 11oracle.bpel.activityguide.ui.beans.model.AGPropertiesmanaged-bean-class managed-bean-scope id=__9sessionmanaged-bean-scope managed-property id=__15 property-nameagPropsFilePathproperty-name property-classjava.lang.Stringproperty-class value id=__14-- relative path or absolute path should be given here--activityguide.propertiesvalue managed-property managed-bean 14. Create a Workflow Service client configuration file. An example is shown in Example 25–3 . Example 25–3 Workflow Services Client Configuration File ?xml version=1.0 encoding=UTF-8 standalone=yes? workflowServicesClientConfiguration xmlns=http:xmlns.oracle.combpelservicesclient server default=true name=default