Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 29209 invoked from network); 6 Jan 2002 03:53:40 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 6 Jan 2002 03:53:40 -0000 Received: (qmail 4173 invoked by uid 97); 6 Jan 2002 03:53:36 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 4157 invoked by uid 97); 6 Jan 2002 03:53:36 -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 4146 invoked from network); 6 Jan 2002 03:53:35 -0000 Message-ID: <20020106040833.11103.qmail@rocketred.com> Content-Type: text/plain; charset="iso-8859-1" From: Kevin O'Neill Reply-To: kevin@rocketred.com.au Organization: rocketred pty ltd To: struts-user@jakarta.apache.org Subject: Some newbie questions Date: Sun, 6 Jan 2002 14:54:21 +1100 X-Mailer: KMail [version 1.3.2] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 looking for guidance on the patterns used to handle composite patterns in struts. If there is a document I should have read ... please feel free to tell me to RTFM :) The in side of things I understand (I think :)), the output side of things starts to get a little shady for me when we start to deal with result sets as opposed to individual records. My initial thought is to create a collection of form beans and return that from a stateless session bean (my primary data container is entity beans), but I'm unsure. What about composites, for instance order, items? Do I create a composite form object that has the order and the line items or do I set two objects, order, line items? The other option is to return some XML and transform it in the display. My second area of confusion is composite pages. if I use the template tag (or tiles), can I include parts that will be processed via the action pipeline. e.g. the top of the page contains some information regarding the user, the application is stateless and extraction of the data is cheaper than storing it in a session variable so I what to extract it based on the user name. the second part of the page is context specific, say a list of orders for the customer. can both of these parts get their data via struts dispatch? hope this doesn't sound too confused to answer :) k. -- To unsubscribe, e-mail: For additional commands, e-mail: