I'm waiting for my copy
On Thu, 2003-10-23 at 23:23, Francisco Hernandez wrote:
let us know when you guys finish up the book so I can order it! Patrick Lightbody wrote: > Might I add that this is one of the coolest features to come in WebWork > -- if you don't see the power in it just ask and I'm sure more than a > few can give real world examples. I used it last night (hence Matt's > commit ;) to finish up the PetSoar sample application that is included > with the eminent publication of Java OpenSource Programming: with Ant, > XDoclet, WebWork, and Hibernate (order yours today!). > > -Pat > > ps: sorry for the shameless plug, but I'm excited to finally have this > thing done > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Matt Ho > Sent: Wednesday, October 22, 2003 1:26 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] added a NullHandler to the ParameterInterceptor > > I just added a NullHandler to the ParameterInterceptor in xwork. This > means that the ParameterInterceptor will automatically instantiates > objects as necessary while populating your action. > > 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 > > > ------------------------------------------------------- > 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 > > > ------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
<<attachment: smiley-3.png>>