Skip to main content
Skip table of contents

Automatically Expand the Fields when Selecting All - SuperWEB2

By default, when you use the Select all at level option in SuperWEB2, the field does not automatically expand to show the selected values:

To view the selected values, you have to manually expand the field by clicking the black arrow on the left of the field name.

If you prefer, you can configure SuperWEB2 so that fields automatically expand to show the selected values when you use the Select all at level option:

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

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

  1. Open faces-config.xml in a text editor.
  2. Locate the following section:

    HTML/XML
    <managed-property>
    	<property-name>expandTreeNodesOnLevelSelection</property-name>
    	<value>false</value>
    </managed-property>
  3. Change false to true:

    HTML/XML
    <managed-property>
    	<property-name>expandTreeNodesOnLevelSelection</property-name>
    	<value>true</value>
    </managed-property>
  4. Save faces-config.xml

  5. Restart Tomcat (or the SuperWEB2 Service if using our SuperSTAR Suite).
  6. Log in to SuperWEB2 and use the Select all at level option on a field to verify that it automatically expands:
You may need to clear your browser's cache or restart your browser to see these changes.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.