This is the documentation for SuperSTAR 9.8

SuperSTAR 9.9 is now available.
View this page in the SuperSTAR 9.9 documentation or visit the SuperSTAR 9.9 documentation home.

Skip to end of metadata
Go to start of metadata

By default, SuperWEB2 displays a Range button next to the summation options that allows users to create custom ranges or quantiles based on that summation option:

If you do not want to allow users to access the options for creating ranges, you can disable this button:

  1. Open <tomcat_home>\webapps\webapi\tableView\schemaTree.xhtml in a text editor.

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

  2. Locate the following section (note that this appears twice in the file; you will need to find and update both instances):

    <rich:toggleControl
        for="master:panel2"
        switchToState="custom"
        value="#{labels['tableView.customiseTable.range']}"
        styleClass="buttonLabel rangeLabel schemaNodeElement"
        rendered="#{item.renderRangeLink}"
        reRender="modalRanges"
        oncomplete="#{rich:component('modalRanges')}.show()">
      <f:setPropertyActionListener target="#{rangingBean.summationNode}" value="#{item}"/>
    </rich:toggleControl>
  3. Change rendered="#{item.renderRangeLink}" to rendered="false"

    <rich:toggleControl
        for="master:panel2"
        switchToState="custom"
        value="#{labels['tableView.customiseTable.range']}"
        styleClass="buttonLabel rangeLabel schemaNodeElement"
        rendered="false"
        reRender="modalRanges"
        oncomplete="#{rich:component('modalRanges')}.show()">
      <f:setPropertyActionListener target="#{rangingBean.summationNode}" value="#{item}"/>
    </rich:toggleControl>
  4. Change rendered="#{item.renderRangeLink}" to rendered="false" in the second instance of the above code.
  5. Save your changes and restart Tomcat or the SuperWEB2 service.
  6. Log in to SuperWEB2 and confirm that the Range button no longer displays:

  • No labels