Skip to end of metadata
Go to start of metadata

By default, when users open a saved table from the catalogue, SuperWEB2 opens the table in Table View with the customise table panel (field tree) hidden:

If users want to edit the table, they need to expand the customise table panel by clicking the arrow:

If you prefer, you can configure SuperWEB2 to display the customise table panel by default, even when users open a saved table.

To make this change you need to edit <tomcat_home>\webapps\webapi\WEB-INF\faces-config.xml

  1. Open this file in a text editor.

    Make a backup copy of this file before making any changes.

  2. Locate the following section:

    <navigation-case>
        <from-outcome>loadTableSuccess</from-outcome>
        <to-view-id>/tableView/tableView.xhtml</to-view-id>
        <redirect/>
    </navigation-case>
  3. Change the <to-view-id> setting to /tableView/customiseTable.xhtml

    <navigation-case>
        <from-outcome>loadTableSuccess</from-outcome>
        <to-view-id>/tableView/customiseTable.xhtml</to-view-id>
        <redirect/>
    </navigation-case>
  4. Save your changes and restart Tomcat or the SuperWEB2 service.
  • No labels