Versions Compared

Key

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

...

Configuration (up to Delft-FEWS 2018.02)

To use the  HTML5  Web Browser Display, configure it as <explorerTask> in Explorer.xml. For example:

Code Block
xml
xml
		<explorerTask name="Web Browser Display">
			<iconFile>document.png</iconFile>
			<mnemonic>h</mnemonic>
			<taskClass>nl.wldelft.fews.gui.plugin.webbrowser.WebBrowserDisplay</taskClass>
			<toolbarTask>false</toolbarTask>
			<menubarTask>true</menubarTask>
			<accelerator>ctrl h</accelerator>
			<loadAtStartup>false</loadAtStartup>
		</explorerTask>	

Please be aware that you refer to an existing <iconFile> in your configuration!

Configuration (Delft-FEWS 2018.02 onwards)

...

If you are interested in using the Web Browser Display, please contact Delft-FEWS Productmanagement by e-mail (fews-pm@deltares.nl)Also some configuration adjustments are required to get this running if you were already using it in previous versions.
Below, configuration for this display are explained. If you have the Web Browser Display already running, you can skip step 2 and 3.

Configuration instructions

If you want to add

...

a new Web Browser Display to your configuration, take the following steps.

  1. Request for the JCEF package (fews-pm@deltares.nl)
  2. Create <explorerTask> placeholder for it in the Explorer.xml, see example above. 
  3. Extend the <nodes> in the Topology.xml with URLs to display relevant web content (see below: Display Content Example).
  4. Open the *_clientConfig.xml and add the <autoExportModuleDataSet name="jcef" exportDir="Modules"/>, see example below.

 

Code Block
languagexml
titleChanges to the *_clientConfig.xml (SA)
<?xml version="1.0" encoding="UTF-8"?>
<clientConfiguration xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews
http://fews.wldelft.nl/schemas/version1.0/clientConfig.xsd">
	<clientType>Stand alone</clientType>
	<autoExportModuleDataSet name="jcef" exportDir="Modules"/>
</clientConfiguration>

 

For Stand Alone:

  1. Make sure you make the edits to the Explorer.xml of your SA application
  2. Add URLs to the <nodes> in the Topology.xml
  3. Move or Copy the jcef.zip into your Config/ModuleDataSets folder
  4. Adjust the *_clientConfig.xml of this SA application
  5. Start your Delft-FEWS SA application using the (2018.02 way of) clicking the Desktop (or Start Menu) icon. 

For Operator Client:

  1. Upload the following files using the Config Manager:
    1. Explorer.xml in the SystemConfigFiles
    2. JCEF package (jcef.zip) to the ModuleDataSetFiles
    3. *_clientConfig.xml in the RootConfigFiles
  2. Start your Delft-FEWS OC application using the (2018.02 way of) clicking the Desktop (or Start Menu) icon.

In both cases (OC and SA) will extract the jcef.zip automatically under the configured "exportDir". If this directory is not present, it will be created. Underneath this exportDir a dedicated directory called jcef will be present and all binaries required for launching the Web  Browser Display can be found here.

This 'extraction on startup' will only take place once, unless the ModuleDataSet file has been changed (in the case of the jcef.zip file, this is not likely).

Configuration instructions (for enabling the Web Browser Display from scratch)

work-in-progress

Configuration instructions (for enabling the Web Browser Display from previous versions of Delft-FEWS)

work-in-progress

Displaying Content

To display content in the Web Browser Display,topology nodes can be extended with an optional url. In the following example, the FEWS wiki has been configured with the url http://www.deltares.nl. 

...