Click
  1. Click
  2. CLK-45

TabbedPanel doesn't work with a single panel

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core
    • Labels:
      None
    • Environment:
      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.

        Activity

        Naoki Takezoe created issue -
        Naoki Takezoe made changes -
        Field Original Value New Value
        Attachment TabbedPanel.java.patch [ 10013 ]
        Hide
        Malcolm Edgar added a comment -

        Hi Phil,

        could you take a look at this one.

        thanks Malcolm

        Show
        Malcolm Edgar added a comment - Hi Phil, could you take a look at this one. thanks Malcolm
        Malcolm Edgar made changes -
        Assignee Malcolm Edgar [ medgar ] Phil Barnes [ pbarnes ]
        Hide
        Phil Barnes added a comment -

        Looks good, patch applied – Thanks Naoki!

        Show
        Phil Barnes added a comment - Looks good, patch applied – Thanks Naoki!
        Phil Barnes made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Malcolm Edgar made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Henri Yandell made changes -
        Project Import Fri Mar 20 14:11:32 PDT 2009 [ 1237583492744 ]

          People

          • Assignee:
            Phil Barnes
            Reporter:
            Naoki Takezoe
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development