Show the Customise Table Panel when opening Saved Tables
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
Open this file in a text editor.
Make a backup copy of this file before making any changes.
Locate the following section:
XML<navigation-case> <from-outcome>loadTableSuccess</from-outcome> <to-view-id>/tableView/tableView.xhtml</to-view-id> <redirect/> </navigation-case>
Change the
<to-view-id>
setting to/tableView/customiseTable.xhtml
XML<navigation-case> <from-outcome>loadTableSuccess</from-outcome> <to-view-id>/tableView/customiseTable.xhtml</to-view-id> <redirect/> </navigation-case>
- Save your changes and restart Tomcat or the SuperWEB2 service.