For all of my forms I have an appropriate DynaValidatorForm bean
defined in my struts-config file. This form eventually populates a
bean (Data Transfer Object) that corresponds to the form bean but with
the correct data types (ie java.util.Date birthDate vs String
birthDate ).
The question I have
The question I have is when generating a List to display the beans is
it really that bad to use the actual Data Transfer objects beans in
the display (vs a List of the DynaFormBeans)? The reason I ask is it
seems like a lot of overhead to convert a Collection of data transfer
objects into a
() method that returns a long).
For number formatting, I use my own custom tag (that wraps
java.text.DecimalFormat).
-Original Message-
From: Rick Reumann [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 13:17
To: Struts List
Cc: model struts
Subject: Best way to handle
On Thursday, December 12, 2002, 1:31:08 PM, Wendy wrote:
WS I have a 'dto' package which has the beans that are really intended to
WS transport data in both directions. Then I have 'dto.custom' in which all
WS the classes are named with View in the name. These are only for display.
I was
The JSTL offers formatting tags ... and it is a standard. Requires
Servlet Spec 2.3.
Rick Reumann wrote:
On Thursday, December 12, 2002, 1:43:49 PM, Andy wrote:
AK I put data storage beans that need to be displayed into the
AK request or session and use bean:write and logic:iterate on the
AK
5 matches
Mail list logo