ICEfaces
  1. ICEfaces
  2. ICE-7627

ace:tabPane - dynamically changing disabled attribute doesn't allow selection of tab

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-2.0.0.GA, 3.0.RC1, 3.0.RC2
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces EE 2.0, ICEfaces 3.0RC
    • Assignee Priority:
      P1

      Description

      Dynamically changing the disabled attribute on the ace:tabPane component does not allow the tab to be selected after it is activated. The tab is shown as being selectable but selection does not happen. If the browser is refreshed then the tabs can now be selected.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27260 Thu Jan 19 12:03:27 MST 2012 nils.lundquist ICE-7627 - Added disabled styling.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/component/resources/org.icefaces.component.tab/tabset.css
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27256 Thu Jan 19 09:31:44 MST 2012 nils.lundquist ICE-7627 - Fixed typo.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/component/resources/org.icefaces.component.tab/tabset.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27254 Thu Jan 19 08:42:45 MST 2012 nils.lundquist ICE-7627 - Back ported dynamic tabset disabled attribute fix.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/component/resources/org.icefaces.component.tab/tabset.js
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/ace/component/src/org/icefaces/component/tab/TabSetRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #27124 Mon Jan 09 16:03:09 MST 2012 nils.lundquist ICE-7627 - Partial fix for dynamic tabpane disabled issues. Using JS-managed state as DOM update ruined the existing Tab object, and I could not find a way to rebind the Tab object to the new DOM element; and removing the now DOM-less Tab from the TabView caused an error, so a newly created Tab object could not be added in its place. This change to JS initialized state however has introduced another problematic behaviour, that the selectedIndex is always loaded at tabset creation even though it is disabled by further constructor calls shortly after. Either the disabling will need to occur at Tab creation, during TabSet creation, or eventually the old technique will need to be used, and must elegantly update or replace the existing Tab object, rather than breaking it.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/core/core.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/tabset/tabset.js
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/tabset/TabSetRenderer.java

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: