On Mon, 2003-03-10 at 17:10, Dan Allen wrote: > I would start by adding a join I guess in the doSelectAll(). I > guess my question is, people say to leave the implementation of the > business logic out of the Action, which would mean no Criteria > objects in the Action. So who owns this criteria to add the > depenencies on the company table (or address if we choose to show > it?)
If I understand what you're asking correctly: the business logic isn't _in_ the action, it's being _called_ by the action. You have an object that understands all the fields you need returned and you use it within the action to populate either itself or a DTO that then goes on to the presentation layer. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]