On 27-10-2008 at 15:47, Gregg Bolinger wrote: > This would probably be something more for Stripes 1.6 but I think it would > be nice if Stripes could get and set properties based on an @Property > annotation rather than requiring getters and setters. I'm not sure what > "rules" might be broken through reflection for this to work but it sure > would clean up the action beans, I think. Any opinions?
I'm all for this; I like a more consice notation for such mundane stuff. Unfortunately, the problems weigh too heavy for me. Aside from the JSP EL problem Chris mentioned, any other framework requiring reflection will fail. And as most generic framework code will use reflection, this is a big minus. If anyone still wants to make such a thing happen, it would require auto-generated getters & setters in .class files, optionally with an added BeanInfo class for extra / non-standard options. I'm just not sure if I like the extra "compilation" pass required for this. Oscar -- ,-_ The people cannot delegate to government the power to do /() ) anything which would be unlawful for them to do themselves. (__ ( =/ () -- John Locke ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
