Reinhard Poetz wrote: > What's wrong with property injection? (I'm asking because you certainly know > about it ;-) ): > > <bean name="o.a.c.s.s/mySerializer"> > <property name="mime-type" value="text/xml"/> > </bean>
The current sitemap features do not require the component implementation to have support for a mime-type (or a label), so they don't need to have a property for that. We could use properties for that, with the (minimal) cost of forcing each implementation to take care of it. > > and the label is the name after the slash, in this case "mySerializer". It's > not > the most elegant way but with C3 we can reconsider it. > The label is not the component name (or type) - the label is used for the cocoon-view feature, e.g. the file generator has the label "content". Carsten -- Carsten Ziegeler - Chief Architect http://www.s-und-n.de http://www.osoco.org/weblogs/rael/
