> > The only difference the generator has to deal with is that with > > myfaces-core the component needs to be generated and for tomahawk a > > simple baseclass with mainly some static int-s to describe the property > > position within the array. Means, for myfaces-core we have to deal with > > developing with templates while for tomahawk we can move on with > > something more comfortable. > > One than has to extend this baseclass and put in all the getter/setter > > to access this array list. For the first time the generator might be > > able to generate this class to, afterwards it needs to be maintained > > manually which is not thath much work. And the dreaded reflection bug is > > fixed too. > > yes, exactly - I wanted to do something along these lines, and > therefore I wanted the generator back in place - to easily switch over > all components to a new state-saving mechanism. If we find out in > playing around with different possibilities here that we do not need > the generator at all - the better for us.
P.S.: we will always need the generator for JSP-tags, tld's, facelet-taglibs, faces-config metadata, etc. - but it might be ok to derive it from the component-class in the end, then. We can discuss this later on. regards, Martin
