Re: populating ActionFormBean-s

2008-02-22 Thread auz
tnx Laurie it worked Laurie Harper wrote: > > Your Department class doesn't initialize its 'program' member when the > no-arg constructor is called so when BeanUtils tries to fill in the data > from the request, program will be null. I suspect that is your problem. > Two things to try: > > 1

Re: populating ActionFormBean-s

2008-02-19 Thread Laurie Harper
Your Department class doesn't initialize its 'program' member when the no-arg constructor is called so when BeanUtils tries to fill in the data from the request, program will be null. I suspect that is your problem. Two things to try: 1) turn logging up to DEBUG for BeanUtils; that should show

Re: populating ActionFormBean-s

2008-02-18 Thread auz
yep both ActionFormBeans are java bean compliant here's the code note i didn't copy any irelevevant method (dont have reset() method for any bean) = bean1 == package beans.studyProgram; public class StudyProgram extends org.apache.struts.v

Re: populating ActionFormBean-s

2008-02-18 Thread Laurie Harper
auz wrote: hope some1 can help me out, i have a Struts ActionFormBean who has a complex type as an attribute (also ActionFormBean), the problem is i dont know how to populate it, tryed everything. i presume i have to extend RequestProcessor's populateProcess method or something like that, can an