Uploaded image for project: 'Click'
  1. Click
  2. CLK-45

TabbedPanel doesn't work with a single panel

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • core
    • None
    • Click 0.17 (extras)

    Description

      When I change number of tab panels at the page class,
      sometimes, tabs which are contained in TabbedPanel become only one.
      Is this intended specification?

      For exmample, following code throws Exception at TabbedPanel#setPage().


      Panel panel1 = new BasicPanel("panel1", "panel.htm");
      panel1.setLabel("The First Panel");

      TabbedPanel tabbedPanel = new TabbedPanel("tabbedPanel");
      tabbedPanel.addPanel(panel1, true);
      tabbedPanel.setPage(this);


      An attached patch solves this problem.

      Attachments

        Activity

          People

            pbarnes Phil Barnes
            takezoe Naoki Takezoe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: