Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-12735

Metamer: DnD: rich:dragSource: dropping causes Error status [myfaces]

    Details

    • Steps to Reproduce:
      Hide

      1. open composite component example: faces/components/richDragSource/cc.xhtml
      2. drag from first draggable area and move over dropping1 area. Indicator should indicate ACCEPTING
      3. drop on dropping1 area.
      4. new item expected appears in dropping 1 area. But nothing appears here, and Error status appears in Metamer header.

      5. set @type=drg2
      6. now both dropping areas should accept drag from first draggable are... and both of them indicate ACCEPTING
      7. drop on second dropping area
      8. new item appears in dropping 2 are
      9. now drag from drag1 area and move over first dropping area and drop
      10. new item expected, but nothing added. Error status appears again in Metamer header.

      Show
      1. open composite component example: faces/components/richDragSource/cc.xhtml 2. drag from first draggable area and move over dropping1 area. Indicator should indicate ACCEPTING 3. drop on dropping1 area. 4. new item expected appears in dropping 1 area. But nothing appears here, and Error status appears in Metamer header. 5. set @type=drg2 6. now both dropping areas should accept drag from first draggable are... and both of them indicate ACCEPTING 7. drop on second dropping area 8. new item appears in dropping 2 are 9. now drag from drag1 area and move over first dropping area and drop 10. new item expected, but nothing added. Error status appears again in Metamer header.

      Description

      Dropping doesn't work for componsite component example (even simple example for dragSource works correctly).

      When drag from first draggable area and drop in first dropping area (indicator indicated Accepting), object is not "accepted" - doesn't appears in dropping area, and error status appears in Metamer header.

      When change type to drg2 then still doesn't for first dropping area. Only second droppiing area works correctly, even drg2 should be accepted by both dropping areas (and dragIndicator is indicating accepting over dropping1 area)

      Indicator type doesn't influence behavior.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jjamrich Ján Jamrich
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: