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
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
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
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
4 matches
Mail list logo