For example:
public class SimpleAction implements Action { private Person person; public Person getPerson() { return this.person ;} public void setPerson(Person person) { this.person = person ; } ... }
class Person { private String name; public void setName(String name) { this.name = name; } public String getName() { return this.name ; } }
if the the user passed in the input parameter,
person.name = "Matt"
then the parameter interceptor would automatically instantiate the Person object (assuming Person has a default constructor) and then populate the name field with Matt. Previously, you had to create the Person object yourself.
M
------------------------------------------------------- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork