This content has been marked as final.
Show 2 replies
-
1. Re: null drag value in listener
haoues01 Sep 18, 2007 1:42 AM (in response to chizzzo)Hi,
Have you resolved your problem ? Because I'm actually in the same crap ;).
Any reply would be welcome. Thanks. -
2. Re: null drag value in listener
maksimkaszynski Sep 18, 2007 10:46 AM (in response to chizzzo)chizzzo, I tried the following method instead of yours
public void processDrop(DropEvent event) { Dropzone dropZone = (Dropzone) event.getComponent(); ArrayList<InitItem> selected = (ArrayList) dropZone.getDropValue(); System.err.print(selected.size()); Object ob = event.getDragValue(); System.out.println("DragValue " + event.getDragValue()); System.out.println("DropValue " + event.getDropValue()); if(ob == null) System.err.print("objeto nulo"); }
and got0DragValue asd DropValue []
in console.
So, for me it works.
RichFaces 3.1.1 Snapshot, JSF RI 1.2_04-b16-p02, Tomcat 6.0.
What is your environment?