Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-14043

rich:tabPanel does not switch if rich:tab has number value name

    Details

    • Steps to Reproduce:
      Hide

      <rich:tabPanel activeItem="#

      {bean.selectedTabIndex}

      " switchType="ajax" >
      <rich:tab name="1">
      </rich:tab>
      <rich:tab name="2">
      </rich:tab>
      </rich:tabPanel>

      Show
      <rich:tabPanel activeItem="# {bean.selectedTabIndex} " switchType="ajax" > <rich:tab name="1"> </rich:tab> <rich:tab name="2"> </rich:tab> </rich:tabPanel>

      Description

      rich:tabPanel does not switch if rich:tab has number value name

      sample log:
      info [15:12:15.076]: TogglePanel.getItemIndex: item with name '6' not found
      warn [15:12:15.078]: TogglePanel.switchToItems(6): item with name '6' not found

      names are stored as string but script looks for number
      http://pasteboard.co/yqcLW72.png

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                paszek PaweĊ‚ Loba
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: