You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Raphaël Piéroni <ra...@aql.fr> on 2007/10/04 11:45:14 UTC
[C2.2] no named block
Hi guys,
I have a cocoon war that defines contains my block in a jar.
I tried to have a no name block in the jar like this :
<bean id="com.company.project.xxx.block"
class="org.apache.cocoon.sitemap.SitemapServlet">
<servlet:context mount-path="/yyy"
context-path="blockcontext:/xxx/" />
</bean>
Having yyy=empty.
but that didn't work.
What is the way to remove the block name from the calling URL ?
Do i have to define a top level sitemap that redirect all call to the
block ? if yep, any link to the doco ?
Regards,
Raphaël
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: [C2.2] no named block
Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Raphaël Piéroni pisze:
> cocoon 2.2 rc1
Then it should contain my fix. Cloud give us an error you get?
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: [C2.2] no named block
Posted by Raphaël Piéroni <ra...@aql.fr>.
cocoon 2.2 rc1
Raphaël
Grzegorz Kossakowski a écrit :
> Raphaël Piéroni pisze:
>> Hi guys,
>>
>> I have a cocoon war that defines contains my block in a jar.
>>
>> I tried to have a no name block in the jar like this :
>> <bean id="com.company.project.xxx.block"
>> class="org.apache.cocoon.sitemap.SitemapServlet">
>> <servlet:context mount-path="/yyy"
>> context-path="blockcontext:/xxx/" />
>> </bean>
>> Having yyy=empty.
>> but that didn't work.
>>
>> What is the way to remove the block name from the calling URL ?
>> Do i have to define a top level sitemap that redirect all call to the
>> block ? if yep, any link to the doco ?
>
> Which version of Cocoon do you use?
> You could take a look at:
> https://issues.apache.org/jira/browse/COCOON-2121
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re: [C2.2] no named block
Posted by Grzegorz Kossakowski <gr...@tuffmail.com>.
Raphaël Piéroni pisze:
> Hi guys,
>
> I have a cocoon war that defines contains my block in a jar.
>
> I tried to have a no name block in the jar like this :
> <bean id="com.company.project.xxx.block"
> class="org.apache.cocoon.sitemap.SitemapServlet">
> <servlet:context mount-path="/yyy"
> context-path="blockcontext:/xxx/" />
> </bean>
> Having yyy=empty.
> but that didn't work.
>
> What is the way to remove the block name from the calling URL ?
> Do i have to define a top level sitemap that redirect all call to the
> block ? if yep, any link to the doco ?
Which version of Cocoon do you use?
You could take a look at:
https://issues.apache.org/jira/browse/COCOON-2121
--
Grzegorz Kossakowski
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org