Wednesday, April 27, 2011

AbstractCell - working out what image icon has been clicked

I have a CellList containing a number of custom Cells – and in each cell I have 5 image icons to carry out a specific action. To invoke the action - I have override the onBrowserEvent  & am consuming the click events but the problem is that I can't work out if it was image 1, image 2 etc that was clicked – only that the "cell" was clicked.

Is it possible to working out what image icon was clicked within the onBrowserEvent   (to generate the image – I'm using the AbstractImagePrototype.create(deleteIcon).getHTML() method)?


Thanks,

Ian.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment