Hashmaps can be used in place of conventional properites with the Nightly Build.
http://jguru.com/forums/view.jsp?EID=567079 Louis Leung wrote: > > I agree. That is really the point of the Action Form. > > But in the application I'm working on, the majority of the values in the value > objects are just string. So my ActionForms really just do nothing except for > mapping the values coming in back to the actual value beans directly. With nearly > 1000 forms and more than 5000 properties that needs to be implemented, such method > becomes a pain for the developers. > > So we chose to map the input values directly to the actual value beans, and save > the invalid values (values that cannot be mapped) in a Hashmap. We then plan to > modify the <html:text> tag to first look at the Hashmap to see if the property > exists, then use the actual bean property if such property is not in the Hashmap. > > Althought this is ruining the purpose of the action form, but we think this will be > alot easier for the development. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>