cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: Cocoon 2.2 - how to wire block into webapp
Date Wed, 25 Oct 2006 08:14:18 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


>
> You need to mount the block. Your missing 'blocks' in the src
> attribute. Following webapp-sitemap works for me:
>
> <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
> <map:pipelines> <map:pipeline> <map:match pattern=""> <map:generate
> src="welcome.xml"/> <map:serialize type="xhtml"/> </map:match>
>
> <map:match pattern="*/**"> <map:mount src="blocks/{1}/"
> uri-prefix="{1}"/> </map:match>
>
> </map:pipeline> </map:pipelines> </map:sitemap>
>
> Felix
>> Thanks Felix, and sorry for my messy conversation, my e-mail
> provider anti-spam started to reject most of this list e-mails,
> including mines ... Solved now.
>

No problem, your welcome :-)

Felix


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFPxzZ2lZVCB08qHERAm7cAJwNceW6ZW6Hh8R14MoPG7jBop3YhgCeOEwU
M30azkbEetVXggP6NWEhdU8=
=imW/
-----END PGP SIGNATURE-----


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


Mime
View raw message