Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-302

Palette component select arrows appear enabled on load

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.5
    • 4.0
    • Contrib
    • None

    Description

      When the palette component loads, both selection arrows (select/deselect) show the enabled images, even though they should be disabled as no items are highlighted on load. You can see the javascript defaulting them to disabled:
      <componentId>$buttons.selectDisabled = true;
      <componentId>$buttons.deselectDisabled = true;

      But the javascript function update_<componentId>() isn't being called, where the switching of the enabled/disabled images happens.

      For a workaround i've added a call to the update javascript function on page load. But this is semi-fragile as if the component id is changed the generated function name will also change.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            stmorgan Scott Morgan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: