So I take it that once Struts puts the data into your Map, using the names
of the HTML input fields as the keys, you never have to pull that data
out--you just hand it off to iBATIS to store in the database?
----- Original Message -----
From: "netsql" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, March 14, 2006 9:57 PM
Subject: Re: How to make dao's / vo's more polymorphic
If you use Struts, it supports maps instead of beans, so no need.
If you use DisplayTag, it takes a collection.
So does DataSource in c#, Flash, and jTable.
So ... there is no such thing (giant interface of string constants of
keys) is my case.
It takes the Collection (arraylist of hashmaps) and treats it like a
"formbean".
.V
Joe Wolf wrote:
Heh heh...not having to modify your "VO" doesn't buy you much when you
have to change your giant interface/class of String constants holding the
keys to your Map.