struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adolfo Miguelez" <pell...@hotmail.com>
Subject Re: data Structure to use for a list of data
Date Fri, 16 Aug 2002 12:57:38 GMT
ArrayList of Java Beans

However, I have tested sucessfully ArrayList of dynabeans (from 
Commons/BeanUtils package). By using dynabeans you would not need to create 
specific JavaBean classes for each type of data row.

Adolfo.


>From: "Mazza, Glen  R, PERSCOM" <Glen.Mazza@hoffman.army.mil>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "'struts-user@jakarta.apache.org'" <struts-user@jakarta.apache.org>
>Subject: data Structure to use for a list of data
>Date: Fri, 16 Aug 2002 08:23:48 -0400
>
>Hello,
>
>Very common master-detail pattern:  User enters a query and gets a
>multi-column master list of items matching that query.  Then the user
>selects an item in the list to get to a detail form on that item.
>
>The query/JDBC and detail form I can handle, but what Java data structure
>(created in the action object) should I use to hold the master list items:
>assume about 4-5 column items, one of them supplying data for the 
>hyperlink:
>
><link id=1>   Last Name, First Name      Address       Email   etc.
><link id=2>   Last Name, First Name      Address       Email   etc.
><link id=3>   Last Name, First Name      Address       Email   etc.
>
>Struts-related issues: (1) I expect to use the Iterator tag for multi-page
>returns, I'm unsure if that would affect the data structure chosen.  (2) 
>I'm
>also interested in ease of display on the subsequent master list page, so I
>would like a data structure that can be easily manipulated by the Struts 
>tag
>libraries in rendering the page.
>
>Thanks,
>Glen
>
>--
>To unsubscribe, e-mail:   
><mailto:struts-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:struts-user-help@jakarta.apache.org>

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message