Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 46210 invoked from network); 15 May 2006 15:26:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 May 2006 15:26:03 -0000 Received: (qmail 70578 invoked by uid 500); 15 May 2006 15:25:57 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 69583 invoked by uid 500); 15 May 2006 15:25:55 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 69572 invoked by uid 99); 15 May 2006 15:25:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 May 2006 08:25:55 -0700 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [66.199.228.234] (HELO mail.javanet.info) (66.199.228.234) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 15 May 2006 08:25:54 -0700 Received: (qmail 21011 invoked from network); 15 May 2006 15:25:32 -0000 Received: from unknown (HELO ?84.222.69.244?) (84.222.69.244) by javanet.info with SMTP; 15 May 2006 15:25:32 -0000 Message-ID: <44689D65.8020709@javanet.info> Date: Mon, 15 May 2006 17:25:25 +0200 From: es User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: java bean 2 OO Calc Xcell binding anyone? Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Greetings community! (when next get-together ?) I need help/advices to automatically bind beans populated by CForm and an OpenOffice Calc spreadsheet. The fields are a lot (150 or more) now I wonder if there is a more clever idea then to do ooCalcWrapper.setCellValue( "C15", bean.getC15()) for 150 different fields. Since a lot these cells are simple cellranges like C15:C30 I'm sure there is a way (how?) I can iterate the cellranges horizzontaly or vertically and set/get the value and fill a Collection. Then I can use reflection to discover the get/set method of the bean and doing a binding. Another thing: Looking at the samples I've see that they way CForm can build up a dropdown list is using Enum. I wonder how can I generate it dynamically and how can I set the selected option on loading, since I need to get it from the underlying spreadsheet. Since I'm in great pressure because I have to deliver the whole web application in 15gg if someone is interested in developing this or other things in this cocoon+openoffice+svg solution and is ready to jump in I have some �$work$� for you ! contact me for details pm thanks Eli Mad --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org