Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ender Tercero
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18276
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ender Tercero
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic