You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by David LAGARDERE <dl...@yahoo.fr> on 2002/06/06 10:30:27 UTC

Generator type matching

Hello.

I would like to use a generator depending on my
request
without having to write a matcher for each :

<map:pipeline>
<map:match pattern="dynamic/**">
<map:generate type="{1}"/>
<map:serialize type="xml"/>
</map:match>
</map:pipeline>

Of course, the generator mathing {1} is declared
in the generators section.

This doesn't work and I get the exception 
"org.apache.avalon.framework.component.ComponentException:
UnnamedSelector: ComponentSelector could not find the
component for hint: {1}"

Any Idea ?

Thanks in advance.

David LAGARDERE




___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>