Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-2175

onBeforeRender() set visibility of NavigationToolbar prevents it from showing again

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.4-RC3
    • 1.4-RC3
    • wicket-extensions
    • None

    Description

      This code in NavigationToolbar:

      @Override
      protected void onBeforeRender()

      { setVisible(table.getPageCount() > 1); super.onBeforeRender(); }

      makes impossible to show toolbar after it became hidden when using with Ajax (AjaxNavigationToolbar)

      Possible solution:
      @Override
      public boolean isVisible()

      { return table.getPageCount()>1; }

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            verant Anton Veretennikov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1m
                1m
                Remaining:
                Remaining Estimate - 1m
                1m
                Logged:
                Time Spent - Not Specified
                Not Specified