ICEfaces
  1. ICEfaces
  2. ICE-3236

Can't address controls by ID in panelTabSet

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7, 1.7.1
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      JSF 1.2, facelets, FF2

      Description

      Cannot address a component by ID on a <ice:paneltab>
      A component on the first <ice:panelTab> of a <ice:panelTabSet> can be addressed with an ID like id="formid:tabsetid:0:compid".
      This is nowhere described in the specs.
      And sometimes this throws a java.lang.IllegalArgumentException: 0 in
      javax.faces.component.UIComponentBase.findComponent(UIComponentBase.java:588).

      A component on the second <ice:panelTab> of a <ice:panelTabSet> cannot be addressed in this way at all.
      How should I address such a component by ID? And what's the general rule for component id's on tabs? Is the tabset a naming container and the '0' the tab number?

      I found no info on this in the <ice:panelTabset> or <ice:panelTab> tag specifications...

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Paul van Rossem
          • Votes:
            3 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: