cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <gkossakow...@apache.org>
Subject Re: More problems with implementing servlet services
Date Sat, 12 May 2007 09:41:19 GMT
Vadim Gritsenko napisaƂ(a):
> Grzegorz Kossakowski wrote:
>> <map:serialize type="servletService">
>>   <map:parameter name="service" value="servlet:forms:/renderForms"/>
>> </map:serialize>
> 
> Just a nitpick, but I think this syntax would be sweeter:
> 
>  <map:serialize type="service" src="servlet:forms:/renderForms"/>


I wanted to stay consistent with rest components, especially generator, see:
http://svn.apache.org/repos/asf/cocoon/trunk/core/cocoon-servlet-service/cocoon-servlet-service-sample/src/main/resources/COB-INF/test1/sitemap.xmap

In generator we already use src attribute for different purpose.

-- 
Grzegorz Kossakowski

Mime
View raw message