From: "ojay78" <[EMAIL PROTECTED]>

Could you give a example Code for that?

You can see an example of form pre-population in the code for the MailReader example app:

http://svn.apache.org/viewcvs.cgi/struts/apps/trunk/shared/src/java/org/apache/struts/apps/mailreader/actions/EditSubscriptionAction.java?rev=149010&view=markup

This line:
   PropertyUtils.copyProperties(subform, subscription);
is what copies the values from the 'subscription' object to the form bean.

--
Wendy Smoak

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

Reply via email to