Return-Path: Delivered-To: apmail-pivot-user-archive@www.apache.org Received: (qmail 12330 invoked from network); 11 Mar 2011 00:29:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 00:29:07 -0000 Received: (qmail 61314 invoked by uid 500); 11 Mar 2011 00:29:07 -0000 Delivered-To: apmail-pivot-user-archive@pivot.apache.org Received: (qmail 61297 invoked by uid 500); 11 Mar 2011 00:29:07 -0000 Mailing-List: contact user-help@pivot.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pivot.apache.org Delivered-To: mailing list user@pivot.apache.org Received: (qmail 61288 invoked by uid 99); 11 Mar 2011 00:29:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 00:29:07 +0000 X-ASF-Spam-Status: No, hits=1.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gk_brown@verizon.net designates 206.46.173.19 as permitted sender) Received: from [206.46.173.19] (HELO vms173019pub.verizon.net) (206.46.173.19) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 00:28:59 +0000 Received: from [192.168.1.15] ([unknown] [98.110.173.176]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHV009P5ANOPOE5@vms173019.mailsrvcs.net> for user@pivot.apache.org; Thu, 10 Mar 2011 18:28:37 -0600 (CST) Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Apple Message framework v1082) Subject: Re: DnD and post image to server From: Greg Brown In-reply-to: <1299801710224-2662942.post@n3.nabble.com> Date: Thu, 10 Mar 2011 19:28:36 -0500 Content-transfer-encoding: quoted-printable Message-id: References: <1299801710224-2662942.post@n3.nabble.com> To: user@pivot.apache.org X-Mailer: Apple Mail (2.1082) X-Virus-Checked: Checked by ClamAV on apache.org 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. >=20 > Thanks in Advance! >=20 > Abhi >=20 >=20 >=20 > -- > View this message in context: = http://apache-pivot-users.399431.n3.nabble.com/DnD-and-post-image-to-serve= r-tp2662942p2662942.html > Sent from the Apache Pivot - Users mailing list archive at Nabble.com.