W dniu 08.10.2010 03:02, Ross Sargant pisze:

> > If you split a complex action bean whose events currently share bean
> > properties  into multiple beans, then you'll probably wind up with
> > duplication across the beans. Possibly even more then you would having
> > to duplicate event names in "on={...}" lists or otherwise. That starts
> > to get really bad if it forces you into duplicating validation rules.
Careful use of inheritance makes it possible to still share bean
properties. Also, some elegant solutions to duplicating validation rules
were suggested not so long ago on this mailing list. I remember someone
saying they even had implementation ready of some mechanism that allows
importing validation rules from other places.

Anyway, I guess it wouldn't hurt to have choice of the method (property
or parameter binding) as long as it didn't need bending all the
framework. But if someone would go on and implement this, I believe that
would be quite difficult to do so that it doesn't break current
Stripes-based code.

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to