Configuring refresh function for service window

About this task

Web developer need to enable “refresh” function as supportedModes in widget .xml definition file, for example:
<iw:iwidget name="EventTo" xmlns:iw="http://www.ibm.com/xmlns/prod/iWidget" iScope="EventTo"  supportedModes="refresh collapse close" mode="view">

Then there will be a refresh button at the up-right side of the widget window. Web user can click refresh button to refresh the contents in widget window.