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

Rerendering of drag indicator not reflected when dragging an element

    XMLWordPrintable

    Details

      Description

      The fix for RF-12560 seems to have a probably unwanted side-effect (commit). As the drag indicator is copied, subsequent changes to it are not visible.

      In my case the drag indicator is altered by rerendering it. This worked without any issues in Version 4.1.0.

      Currently I am using to following workaround:

      <a4j:outputPanel ajaxRendered="true">
      	<script>
      		$('.ui-draggable[id^="form:tree"]').each(function(){
      			this.rf.attachedComponents.Draggable.dragElement.draggable('option', 'helper')().html($('#treeIndicator').html())
      		});
      	</script>
      </a4j:outputPanel>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                michpetrov Michal Petrov
                Reporter:
                sandro.braendli Sandro Brändli
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: