This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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: 14475
    
    7

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
fixed size jDialog
SWT -> TabItem -> addListener
How to stop dragging the JFrame
rich:dropSupport not working
how to use dataTable without scrolling header