Listen I googled quite a while before I asked here and all I saw was sea of lost souls asking same question dating back to 2007...but NOT answers...if it is so simple and obvious then why docs for checkbox are not mentioning this trivial case. ...... BTW would you please point me to the site where there is nicely organized reading on Best Struts2 Practices....I will truly appreciate it. (S2 in Action didn't mention and book written by guy with similar same like yours neither....aside from that Ive' read 3 more...guess what... nobody mentioned it anywhere)
On Tue, Oct 26, 2010 at 7:54 AM, Dave Newton <davelnew...@gmail.com> wrote: > Oh, I understand. Definitely agree; I think the OP just isn't aware of > some S2 functionality and/or best practices, that's all. > > Dave > > On Tuesday, October 26, 2010, Li Ying <liying.cn.2...@gmail.com> wrote: > > I mean: > > > > Representing associated data by a DTO class and then holding DTO > > instances in one List > > > > is better than > > > > Holding data in several separated Lists each represent one column. > > > > > > > > 2010/10/26 Dave Newton <davelnew...@gmail.com>: > >> On Tue, Oct 26, 2010 at 4:32 AM, Li Ying wrote: > >>> I think this is a better design, because the data modal is more > >>> compliant with OO principles. > >> > >> Better than what? > >> > >> (And as an aside, there's nothing particularly OO about what's > >> essentially a struct, although from a pragmatic viewpoint, > >> particularly when doing data transfer, sometimes such constructs seem > >> reasonable. See http://c2.com/cgi/wiki?DumbDataObject for a brief > >> discussion.) > >> > >> Dave > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >