DisplayTag
  1. DisplayTag
  2. DISPL-598

When rendering de the HTML page with the form atribute parameter "PARAMETER_SORTUSINGNAME" is not rendered.

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      When rendering de the HTML page with the form atribute parameter "PARAMETER_SORTUSINGNAME" is not rendered.
      Possible solution is to add in class HtmlTableWriter :

      private void writeFormFields()
          {
              Map parameters = baseHref.getParameterMap();

              ParamEncoder pe = new ParamEncoder(this.tableModel.getId());

              addIfMissing(parameters, pe.encodeParameterName(TableTagParameters.PARAMETER_ORDER));
              addIfMissing(parameters, pe.encodeParameterName(TableTagParameters.PARAMETER_PAGE));
              addIfMissing(parameters, pe.encodeParameterName(TableTagParameters.PARAMETER_SORT));
              addIfMissing(parameters, pe.encodeParameterName(TableTagParameters.PARAMETER_SORTUSINGNAME)); <------this line is missing

        Activity

        There are no comments yet on this issue.

          People

          • Reporter:
            Alvaro Villarroel
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: