aspose file tools*
The moose likes JSF and the fly likes Richfaces 4 - Drag and drop listener when failed drop Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces 4 - Drag and drop listener when failed drop" Watch "Richfaces 4 - Drag and drop listener when failed drop" New topic
Author

Richfaces 4 - Drag and drop listener when failed drop

Terry Bailey
Greenhorn

Joined: Nov 17, 2010
Posts: 14

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

Joined: Jun 25, 2001
Posts: 16014
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Richfaces 4 - Drag and drop listener when failed drop