forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Q: Site and unique element names
Date Thu, 21 Apr 2005 16:26:24 GMT
On Thu, 2005-04-21 at 16:57 +0100, Ross Gardler wrote:
> Thorsten Scherler wrote:
> > On Thu, 2005-04-21 at 13:02 +0100, Ross Gardler wrote:
> > 
> >>Thorsten Scherler wrote:
> >>
> >>>Ok, I am not the expert on that but have a look on:
> >>>http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/package-summary.html
> >>>
> >>>http://svn.apache.org/viewcvs.cgi/cocoon/trunk/src/java/org/apache/cocoon/components/modules/input/SimpleMappingMetaModule.java?view=markup
> >>>
> >>>If you want to modify the default behavior just patch this class. It
> >>>seems to me (I just had a *quick* look) that it is possible. ;-)
> >>
> >>How would we do it so that it did not break backward compatibility? That 
> >>  is how does the class know when we are referring to a node name and 
> >>when we are referring to an ID?
> >>
> >>Ross
> > 
> > 
> > Hmm, I thought somebody talked about a plugin. ;-)
> > 
> > If implemented in a plugin that means we would leave the default
> > behavior (node name) in the core and support ID by the plugin.
> 
> Not if we provide a new class with the same name as one used in core (we 
> could create a new subclass used by the plugin I suppose).
> 

+1 for a new subclass ;-)

> Ross
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message