-
1. Re: Highlighting a dropzone when it's being draged over in 4.0.0Final
ender3o Nov 17, 2011 1:47 PM (in response to ender3o)Is it imposible to achieve this thing in RF4?
Any help would be greatly appreciated.
-
2. Re: Highlighting a dropzone when it's being draged over in 4.0.0Final
bleathem Nov 24, 2011 3:18 PM (in response to ender3o)Have you tried using the onmouseover/onmouseout attributes of a richPanel encompassing the dropTarget?
-
3. Re: Highlighting a dropzone when it's being draged over in 4.0.0Final
ender3o Nov 24, 2011 4:16 PM (in response to bleathem)Hi Brian. Yes, I tried. But it looks like those events do not fire while the item is being dragged.
-
4. Re: Highlighting a dropzone when it's being draged over in 4.0.0Final
bleathem Nov 25, 2011 2:06 PM (in response to ender3o)The rich:dragIndicator has support for highlighting the drag indicator when over a drop target, using the css classes:
- .rf-ind-drag.accept
This class defines styles for the indicator when it is over an acceptable drop target.
- .rf-ind-drag.reject
This class defines styles for the indicator when it is over an unacceptable drop target.
But you are asking to highlight the dropTarget itself. You can do so with some jQuery/javascript, and listen to the "dropover" and "dropout" events fired by the droppable object.
If you'd like us to expose these events as component attributes, please file a jira request asking for the feature.