The Webbrowser widget embeds a (native) Web browser component showing the contents of a specified URL. Besides normal HTTP URLs the widget also supports censhare REST URLs.



Description:

Because of the very open URL interface, this is a very powerful widget for use within the censhare customizing.

With this widget, it is possible to show all information from censhare by using the censhare URL interface. This widget has access to all asset information, all files and transformations with XSLT. The result should be HTML or a file that can be shown within the browser.

Example:

It is possible to show a table of all selected assets with preview and meta information. This could be used for showing booking information for ads.

Another example could be a customized view of the status of all assets. The selected assets can be transformed with XSLT to HTML and the result is a well-formatted sorted table with icons and additional text.

Configuration:

Syntax

<xe:webbrowser url="..." .../>

Attributes

  • url(required): the URL to be shown; can optionally be specified using an XPath expression

  • use-object-tag(optional): if true, an HTML object tag is used to embed the content; this is useful for content such as PDF, which normally require a browser plugin

Example

<xe:webbrowser url="=:concat($system/system/@censhare-url-prefix, 'assets/asset/id/', asset/@id, '/storage/master/file')"
weight-x="1" height="500"/>
CODE

Shows an asset's master storage.

As a native component is used, the widget will overlap with other widgets when used within a scroll pane.