cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: SSF
Date Thu, 27 Mar 2008 17:26:31 GMT
Vadim Gritsenko pisze:
> On Mar 27, 2008, at 12:55 PM, Grzegorz Kossakowski wrote:
>> Vadim Gritsenko pisze:
>>> On Mar 27, 2008, at 10:36 AM, Patrick Heiden wrote:
>>>> What should one do, if he/she wants to let all requests get routed 
>>>> through a mainController block first and therefor disabling direct 
>>>> calls to connected blocks (registered at some mount-path)?
>>> Sounds like you want to 'mount' a block from mainController's 
>>> sitemap. :) Grzegorz, do you remember if this was ever implemented? :)
>>
>> No, it wasn't and it's not likely it will ever get. ;)
> 
> Pity! :) What about forwarding? Does it work? :)
> 
>   <map:redirect-to uri="servlet:childBlock:/some/path"/>
> 

Won't work either, see: https://issues.apache.org/jira/browse/COCOON-1964

The good news are that it probably wouldn't be blocked if someone has an itch to implement
this 
feature. :-)

Once again: why do you need such design? Hiding all blocks/servlets apart from one is probably
a 
/bad/ idea because it's a DispatcherServlet that is meant to be main, basic controller.

Do I overlook something obvious?

-- 
Grzegorz Kossakowski

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


Mime
View raw message