forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ross Gardler <rgard...@apache.org>
Subject Re: Q: Site and unique element names
Date Thu, 21 Apr 2005 15:57:10 GMT
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).

Ross

Mime
View raw message