[richfaces-svn-commits] JBoss Rich Faces SVN: r889 - trunk/richfaces/drag-drop/src/main/java/org/richfaces/renderkit.

richfaces-svn-commits at lists.jboss.org richfaces-svn-commits at lists.jboss.org
Mon May 28 07:41:32 EDT 2007


Author: nbelaevski
Date: 2007-05-28 07:41:31 -0400 (Mon, 28 May 2007)
New Revision: 889

Modified:
   trunk/richfaces/drag-drop/src/main/java/org/richfaces/renderkit/DnDEventsExchangeMailer.java
Log:
Improper variable names fixed

Modified: trunk/richfaces/drag-drop/src/main/java/org/richfaces/renderkit/DnDEventsExchangeMailer.java
===================================================================
--- trunk/richfaces/drag-drop/src/main/java/org/richfaces/renderkit/DnDEventsExchangeMailer.java	2007-05-28 10:24:46 UTC (rev 888)
+++ trunk/richfaces/drag-drop/src/main/java/org/richfaces/renderkit/DnDEventsExchangeMailer.java	2007-05-28 11:41:31 UTC (rev 889)
@@ -121,17 +121,17 @@
 						draggable = (Draggable) target;
 						dropzone = (Dropzone) component;
 						
-						acceptedTypes = type;
-						dragType = eventInfo.type;
+						acceptedTypes = eventInfo.type;
+						dragType = type;
 					} else {
 						draggable = (Draggable) component;
 						dropzone = (Dropzone) target;
 						
-						acceptedTypes = eventInfo.type;
-						dragType = type;
+						acceptedTypes = type;
+						dragType = eventInfo.type;
 					}
 
-					DnDValidator.validateAcceptTypes(facesContext, draggable, dropzone, acceptedTypes, dragType);
+					DnDValidator.validateAcceptTypes(facesContext, draggable, dropzone, dragType, acceptedTypes);
 
 					processEvent(target, facesContext, eventInfo.facesEvent, eventInfo.eventCallback, 
 							type, value);




More information about the richfaces-svn-commits mailing list