Hi Chris, the ZoneDroppable mixin is only a few lines of code
https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/mixins/ZoneDroppable.java

You could quite easily create another mixin by copying/tweaking the code or
better yet, clone the repository and send a pull request to the author :)

The following line is what fires the AJAX event on your page
   resources.triggerEvent(JQueryEventConstants.DROP, context, callback);

You could change the line of code to something like:
   Object[] concatenatedContext = concatenateArrays(context,
this.droppablecontext);
  resources.triggerEvent(JQueryEventConstants.DROP, concatenatedContext,
callback);

Cheers,
Lance.

Reply via email to