Help.

Can't get this to work.

I've got a 'view' object Company ... trying to populate a DynaForm?

Is that possible?

CompanyView view = service.getCompany(Integer.valueOf("1"));
DynaActionForm dynaForm = (DynaActionForm) form;
System.err.println(view.getName());  <--- Gives me "CIBC"
    
PropertyUtils.copyProperties(dynaForm, view);
System.err.println(dynaForm.getName()); <---- Gives me null;

Actually, I'd love to be able to do this straight from an EJB.

Ideas?

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to