ICEfaces
  1. ICEfaces
  2. ICE-1014

rowSelector prohibits use of selectOneMenus in a dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.6DR#5, 1.6
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      as noted in the forum: http://www.icefaces.org/JForum/posts/list/2915.page

      When you use a rowSelector in a dataTable, the onMouseOver javaScript for the
      rows interferes with using any dropdown in the table. Any workarounds?

        Issue Links

          Activity

          Hide
          Philip Breau added a comment -

          Created an attachment (id=113)
          test case

          Show
          Philip Breau added a comment - Created an attachment (id=113) test case
          Hide
          Rob Mayhew added a comment -

          I don't have a workaround for this bug, other then don't use selectOneMenus in
          this case.

          I'm still looking for a solution. The one thing that's interesting is that if
          you save the page you don't get the error.

          Show
          Rob Mayhew added a comment - I don't have a workaround for this bug, other then don't use selectOneMenus in this case. I'm still looking for a solution. The one thing that's interesting is that if you save the page you don't get the error.
          Hide
          Rob Mayhew added a comment -

          Workaround:

          Clicking on the Select One Menu is fireing a row clicked event.
          Stopping the Event will work around this bug.

          onclick="Event.stop(event);"

          <ice:selectOneMenu styleClass="selectTagMenu"
          onclick="Event.stop(event);"
          value="#

          {person.keyWordType}

          " valueChangeListener="#

          {table.keyWordChanged}

          ">
          <f:selectItems value="#

          {table.keyWordTypeItems}

          " />
          </ice:selectOneMenu>

          Show
          Rob Mayhew added a comment - Workaround: Clicking on the Select One Menu is fireing a row clicked event. Stopping the Event will work around this bug. onclick="Event.stop(event);" <ice:selectOneMenu styleClass="selectTagMenu" onclick="Event.stop(event);" value="# {person.keyWordType} " valueChangeListener="# {table.keyWordChanged} "> <f:selectItems value="# {table.keyWordTypeItems} " /> </ice:selectOneMenu>
          Hide
          Rob Mayhew added a comment -

          Try for 1.6

          Show
          Rob Mayhew added a comment - Try for 1.6
          Hide
          Ken Fyten added a comment -

          Need to enhance the rowSelector to support this use-case.

          Show
          Ken Fyten added a comment - Need to enhance the rowSelector to support this use-case.
          Hide
          Adnan Durrani added a comment -

          We have added a new attribute (toggleOnClick) on the rowSelector component, so now the default behavior of rowSelector component can be disabled if toggleOnClick set to "false" but then developer needs to select a row via bean.

          Show
          Adnan Durrani added a comment - We have added a new attribute (toggleOnClick) on the rowSelector component, so now the default behavior of rowSelector component can be disabled if toggleOnClick set to "false" but then developer needs to select a row via bean.

            People

            • Assignee:
              Unassigned
              Reporter:
              Philip Breau
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: