| Author |
Drag and dropping images to another image with richfaces
|
Juan Manuel Diaz
Ranch Hand
Joined: Mar 23, 2009
Posts: 53
|
|
Hi greenhorns!,
I am needing some component (avoiding an applet) in which the user can add to a predefined image, three kind of items: a point, a line or a circle. The idea is to set up a mammography report, in wich the doctor can add those items to the image of the busts.
Do you any idea about how I can do that?
I am thinking in Paint2D component, wich comes with RichFaces 3.0.0 (or later), but I dont know if it could do that for me.
Regards!
JM
|
 |
Tim Holloway
Saloon Keeper
Joined: Jun 25, 2001
Posts: 14460
|
|
RichFaces has extensive drag and drop support, and you can certainly set up a control such that dropping something on it would fire an AJAX event so that the server could do something with it - possibly merging images and re-rendering the updated target image.
For client-side image manipulation, it depends on what exactly you want to do.
|
Customer surveys are for companies who didn't pay proper attention to begin with.
|
 |
Juan Manuel Diaz
Ranch Hand
Joined: Mar 23, 2009
Posts: 53
|
|
Hi! Thanks for the reply.
I thought about that, but the thing is: how can i know the exact point in which the image was dropped? So, if i know the coordinates, i can merge the images.
Regards,
JM
|
 |
 |
|
|
subject: Drag and dropping images to another image with richfaces
|
|
|