Re: multiobject form with "missing" objects

2006-04-29 Thread Mark
Depends a little bit on the background, I would say. Here are some criteria under which I would stick it into the DAO layer: 1. If you expect that there should never really be missing days and cases of missing days are really cases of "broken data" 2. Every usage scenario you can possibly think

Re: multiobject form with "missing" objects

2006-04-27 Thread Robin Ericsson
On 4/27/06, Peter Svensson <[EMAIL PROTECTED]> wrote: > Hmm. I'm not sure I follow you here. > Would you like to make a method which reads a Set of pojos from the dao and > then return an array of all days except those in a month, or what? In a "good" month, the database contains all days, but the

Re: multiobject form with "missing" objects

2006-04-27 Thread Peter Svensson
Hmm. I'm not sure I follow you here. Would you like to make a method which reads a Set of pojos from the dao and then return an array of all days except those in a month, or what? Cheers, PS On 4/27/06, Robin Ericsson <[EMAIL PROTECTED]> wrote: > > Hi, > > I want some input how I should solve thi

multiobject form with "missing" objects

2006-04-27 Thread Robin Ericsson
Hi, I want some input how I should solve this, as I'm pretty new to Java, business layer abstraction and things like that :) What I want from the page side is an array of object consisting of one object for each day in a month. What I have from the dao is a list of pojos where each pojo is repre