wood burning stoves 2.0*
The moose likes JSF and the fly likes Highlighting a dropzone when it's being draged over in Richfaces 4.0.0Final Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Highlighting a dropzone when it Watch "Highlighting a dropzone when it New topic
Author

Highlighting a dropzone when it's being draged over in Richfaces 4.0.0Final

Ender Tercero
Greenhorn

Joined: Nov 20, 2011
Posts: 2
Hi,

I'm trying to highlight a dropzone when it is draged over in Richfaces 4.0.0Final.

I know it could be done in Richfaces 3.3.X using "ondragenter" and "ondragexit" attributes of the "rich:dropSupport" component. But i can't figure it out using 4.0.0Final version since this specific attributes are not available anymore.

Can I have some help?

Thanks in advance.

Ender.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15952
    
  19

Welcome to the JavaRanch, Ender!

If they removed this option, it's probably because you can now get the effect using simple CSS (hover) instead of needing a JSF-specific qualification.


Customer surveys are for companies who didn't pay proper attention to begin with.
Ender Tercero
Greenhorn

Joined: Nov 20, 2011
Posts: 2
Tim Holloway wrote:Welcome to the JavaRanch, Ender!

If they removed this option, it's probably because you can now get the effect using simple CSS (hover) instead of needing a JSF-specific qualification.


Hi Tim, thanks for the interest.

I'm working with this simple code. Everything works as expected but i'd love to know how to change some style properties (like the background color) of the "dropPanel" when a accepted type it's being draged over it. I tried using the CSS ":hover" selector but it didn't work. Or maybe i missed something.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Highlighting a dropzone when it's being draged over in Richfaces 4.0.0Final
 
Similar Threads
rich:dropSupport not working
How to stop dragging the JFrame
fixed size jDialog
how to use dataTable without scrolling header
SWT -> TabItem -> addListener