You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Kamal Bhatt <kb...@tt.com.au> on 2008/04/24 02:06:02 UTC

Is this out of date?

On this page:
http://cocoon.apache.org/2.2/1362_1_1.html

It says the following:

You can mount your block at the root level in the application URI space, 
so that instead of using (for example) the URI 
http://localhost:8888/myBlock/foo/bar to request a page, you would 
request it at http://localhost:8888/foo/bar.

To do this, edit 
myBlock/src/main/resources/META-INF/cocoon/spring/block.xml , and change 
the element

    <property name="mountPath" value="/myBlock1"/>

to

    <property name="mountPath" value=""/>

and then run mvn:install.

/I don't see this file anywhere. Should this page be updated?/

-- 
Kamal Bhatt


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