Best way to handle this in Struts/MVC ?

2002-12-12 Thread Rick Reumann
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

RE: Best way to handle this in Struts/MVC ?

2002-12-12 Thread Wendy Smoak
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

RE: Best way to handle this in Struts/MVC ?

2002-12-12 Thread Andy Kriger
() 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

Re[2]: Best way to handle this in Struts/MVC ?

2002-12-12 Thread Rick Reumann
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

Re: Best way to handle this in Struts/MVC ?

2002-12-12 Thread Eddie Bush
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