From: "Tom Holmes Jr." <[EMAIL PROTECTED]>
> So, the way I started to handle this is call the JSP page directly with
> the form.  I got the 'member' object from session and I populated the
> value field as follows:
> <html:text property="address1" value="${member.address1}"/>
> Would this be appropriate?  It works except for my checkboxes.

No.  Set those values in the Action code, before forwarding to the JSP.

The struts-example webapp shows how to do this-- look for the calls to
BeanUtils.copyProperties(...) that copy the values back and forth from the
DTO to the form bean.

Don't forget to write a reset method to handle those checkboxes.

-- 
Wendy Smoak


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

Reply via email to