• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Richfaces 4 - Drag and drop listener when failed drop

 
Terry Bailey
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi all,

I'm interested in implementing a learning application and I've based an exercise on the Richfaces showcase Drag and Drop example.

Everything is fine and I invoke my listener inside the <rich:dropTarget> tag.. wow thats great for when the learner has a correct answer as I can pick up the event and update his score.

BUT.. is there a way to find out if the learner moves an item to an incorrect destination (e.g. in the Showcase example Symfony to Coldfusion Framework). That way I'd be able to guage the learner's efficiency.

I hope the question is clear... thanks in advance for your time

Terry
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, unless I'm mistaken, the only one who can determine whether the drop of an item is correct would be the logic that handles the drop. And I believe that that logic has the option to "bounce" the drop if it doesn't like it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic