ICEfaces
  1. ICEfaces
  2. ICE-1527

panelAccordion expanded attribute ValueBinding doesn't work immediately

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.6DR#4
    • Fix Version/s: 1.6DR#4, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      WinXP SP2, Firefox 1.5.0.11, JBoss 4.0.4 GA, Facelets component-showcase

      Description

      If you set the ice:panelAccordion.expanded attribute via an EL expression / ValueBinding, then it will only take effect after another form (partial) submission.

      I think it's because of the toggle handling, that tries to do work in the decode phase, whereas most ValueBindings change value in the application phase, and are only evaluated at render phase. So, it's only at the next decode that it then handles this properly.

        Activity

        Hide
        Mark Collette added a comment -

        This was originally found when using an older version of the component-showcase (ICEfaces 1.6.0 DR3), but when using the DR4 component-showcase, I can't reproduce the problem. I used both an ice:commandButton.actionListener and an ice:panelTabSet.tabChangeListener, and they both work fine without needing a second render to do the job.

        Show
        Mark Collette added a comment - This was originally found when using an older version of the component-showcase (ICEfaces 1.6.0 DR3), but when using the DR4 component-showcase, I can't reproduce the problem. I used both an ice:commandButton.actionListener and an ice:panelTabSet.tabChangeListener, and they both work fine without needing a second render to do the job.

          People

          • Assignee:
            Unassigned
            Reporter:
            Mark Collette
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: