Richfaces 4 - Drag and drop listener when failed drop
posted 3 years ago
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
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.
An IDE is no substitute for an Intelligent Developer.