Re: [Webwork-user] Setting Property of a Property
Brought to you by:
baldree,
rickardoberg
From: Rickard O. <ri...@te...> - 2000-11-25 08:56:47
|
Hi! > But I can't seem to set the property of a property in an action the same > way. > > I'd prefer not to define getters and setters for all my data object's > fields again in the action class, since I have a lovely PersonData class > generated by EJBDoclet that already has all those getters and setters. > > I'd like to make the name of an HTML Form field currentPerson:lastName > and have webwork set the lastName field of the PersonData attribute of > the PersonEdit class. > > Is this possible? I can't seem to get it to work - I have debug turned > on, and the Dispatcher doesn't appear to be recognizing the : fields in > setParameters. > > Any thoughts? Wow, that is a great idea! :-) Why didn't I think of that... add this to the task tracker on the site. Or can anyone think of semantical problems with it? Off the top of my head it seems very cool, but I might be missing something... regards, Rickard |