Yes, I'm working on getting this feature in place. Currently it works -only- if getAccount() doesn't return null. My goal is to have Ognl realize this and create a new Account object.
-Pat ----- Original Message ----- From: "Jason Carreira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 7:29 AM Subject: RE: [OS-webwork] FW: from a ww user's view > > -----Original Message----- > > From: Matt Ho [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, February 20, 2003 9:48 AM > > To: [EMAIL PROTECTED] > > Subject: RE: [OS-webwork] FW: from a ww user's view > > > > > > I definitely like parts of this idea. Assuming we use the > > Account bean, what if we change the AccountManager to: > > > > public class AccountManager > > { > > private Account account ; > > public void setAccount(Account account) { > > ... > > } > > > > public void entryPoint() { > > ... perform business logic here > > } > > } > > > > And this for the UI tags: > > > > <ui:textfield label="'First name'" name="account.firstname"/> > > <ui:textfield label="'Last name'" name="account.lastname"/> > > <ui:textfield label="'Email'" name="account.email"/> > > <ui:textfield label="'Username'" name="account.username"/> > > > > M > > > > This is doable now, I think. I'm not sure of the status of it for WW > 1.x, but Patrick was talking about having it create the sub-bean for you > then set its properties like you're talking about. > > Jason > > > ------------------------------------------------------- > This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. > The most comprehensive and flexible code editor you can use. > Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. > www.slickedit.com/sourceforge > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork