pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Brown <gk_br...@verizon.net>
Subject Re: DnD and post image to server
Date Fri, 11 Mar 2011 00:28:36 GMT
I don't think there's a specific example that demonstrates this, but try using a PostQuery
with a BufferedImageSerializer. You can get the BufferedImage from the image in the ImageView
(as long as it is an instance of Picture).


On Mar 10, 2011, at 7:01 PM, abhi wrote:

> I'm exploring the DnD feature of Pivot. Its working like a charm. Users want
> to drop images and then upload it instead of file-->browse option. I'm able
> to get the images dropped fine but not sure how to post the image to server
> side that would save it to DB. Not sure how to get the ByteArray out of
> ImageView to post it server side code. Can someone please help? Let me know
> if there are alternatives.
> 
> Thanks in Advance!
> 
> Abhi
> 
> 
> 
> --
> View this message in context: http://apache-pivot-users.399431.n3.nabble.com/DnD-and-post-image-to-server-tp2662942p2662942.html
> Sent from the Apache Pivot - Users mailing list archive at Nabble.com.


Mime
View raw message