cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject RE: substitution in pattern/test attribute
Date Tue, 24 Apr 2001 11:39:42 GMT


On Tue, 24 Apr 2001, Klaasen Tom wrote:

> > -----Original Message-----
> > From: giacomo [mailto:giacomo@apache.org]
> > Sent: zaterdag 21 april 2001 20:39
> > To: cocoon-dev@xml.apache.org
> > Subject: substitution in pattern/test attribute
> >
> >
> >
> > I've added support for substitution to the Selector/Matchers
> > test/pattern attributes.
> >
> > Note that substitution can only be applied to non CodeFactory
> > Matchers/Selectors (we yet don't have any).
>
> Isn't this interesting! I thought the only way to build selectors/matchers
> was generating the code by yourself. Your statement implies that there is
> another way to do things? Could you point me to the right direction for
> trying this, since, to be honest, I hate the CodeFactory way...

Look at the Selector/Matcher interfaces. Define them in the sitemap with
the src instead of the factory attribute. If you have good
basic/abstract implementations (at least the matcher doesn't have an
abstract base class) post it to the list or to me privately.

Giacomo

>
> thanks
> tomK
>
> >
> > BTW: Inheritance of components to sub sitemaps are limited to non
> > CodeFactory ones and thus the regexp and wildcard Matchers as well as
> > the browser and coded are not inherited to sub sitemaps.
> >
> > I'll change the sitemap.xml soon to have the default SitemapComponents
> > also available in a sub-sitemap.
> >
> > Giacomo
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message