Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We've also specified that the default report format will be html, report will open in a new window (or tab) rather than a windows embedded within the weave client itself, and it'll use javascript to open the window, bypassing the intermediate 'click to open' popup window and finally increased the report timeout to 240 seconds (from the default of 120 seconds).

Icons

You can create custom icons that can then be referred to in the client configuration by creating an 'icons' directory within the 'workspace' directory, then any .gif or .png files within there will be available to use anywhere an 'iconCls' attribute can be set.

The icons aren't available directly, instead Weave will create a CSS rule to reference the image, and it's the CSS rule that you reference in the config. The name of the rule is based on the file name, but is given an 'icon-' prefix, so for example 'test.png' would create a rule names '.icon-test' and can be referenced as 'icon-test' in the config file.

Note

It's assumed that if there are two icons with the name name, and one a .png and the other .gif, then the .gif will be used for Internet Explorer and the .png for other browsers, this is because of the poor support for .png images in earlier IE versions.
In this case the icon is still referred to be the same name in the config files, the rule just ensures that the correct image is chosen at runtime.

Further Reading