Thanks Francois - that was simple.
My syntax was not quite like that and frustration got the better of me.
I'm also trying to create 5 of these drop zones, or 20 of them - dynamically -
i.e. add a drop zone on the fly. Probably by some custom component stuff down
the track - but for a hard code
Hi Chris,
Did you try to replace your
@OnEvent(value = JQueryEventConstants.DROP)
void chris(Object[] context){
String contextString = (String)context[0];
setThedata(contextString + " dropped on ...");
}
by
@OnEvent(value = JQueryEventConstants.DROP,component="dropzone1")
void dropOnZone1(Objec