Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 97740 invoked from network); 12 Mar 2003 18:41:55 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 12 Mar 2003 18:41:55 -0000 Received: (qmail 24540 invoked by uid 97); 12 Mar 2003 18:43:38 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 24533 invoked from network); 12 Mar 2003 18:43:37 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 12 Mar 2003 18:43:37 -0000 Received: (qmail 95921 invoked by uid 500); 12 Mar 2003 18:41:28 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 95861 invoked from network); 12 Mar 2003 18:41:23 -0000 Received: from mail2.digiweb.com.br (HELO mail2.digiweb.psi.br) (200.198.179.50) by daedalus.apache.org with SMTP; 12 Mar 2003 18:41:23 -0000 Received: (qmail 13733 invoked from network); 12 Mar 2003 18:38:47 -0000 Received: from unknown (HELO skinner) (200.189.76.154) by mail2.digiweb.com.br with SMTP; 12 Mar 2003 18:38:47 -0000 From: "Petterson F. Paula" To: "Struts Users Mailing List" Subject: RE: Help finding the right code for dynamic forms Date: Wed, 12 Mar 2003 15:40:40 -0300 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I'm interested in this problem too. Petterson Ferreira de Paula Consultor L�cida Tecnologia Fone.: +55 11 3704 5004 -----Original Message----- From: Wendy Smoak [mailto:Wendy.Smoak@asu.edu] Sent: quarta-feira, 12 de mar�o de 2003 15:28 To: Struts Users Mailing List (E-mail) Subject: Help finding the right code for dynamic forms I'm trying to make the back-end of my Struts webapp more flexible, and I'm interested in the mechanism by which a dynamic form is created. I'm currently using the DAO pattern, so I have a ton of Data Transport Objects. I've just hit a file with 129 data fields and I'm just not excited about writing (or even using a code generator to produce) all those get/set methods. Twice, because there will be an interface and an implementation. The database behind the DAO layer is multivalued. I'm not using a JDBC driver, so none of the existing magic will work. The next version (UniData 6.0) is supposed to speak XML, so I think I could produce something like the structure from the data dictionary. Given that, some sort of XML file describing the data fields, what do I look at to transform that into a class that conforms to the JavaBeans spec? It would need to work with JSTL as I often have a DTO sitting in the session that I use JSTL to display pieces of. I've looked around in the code but I've only found the actual DynaWhatever classes, not the bits that read the XML and create the objects. Where is that hiding? And if anyone could give a high level overview of what actually happens, that would help. Thanks! (Not technically Struts related, I know... please reply privately.) -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org