cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <vadim.gritse...@verizon.net>
Subject Re: [RT] Access to the object model
Date Tue, 20 May 2003 15:12:09 GMT
Sylvain Wallez wrote:

> Vadim Gritsenko wrote:
>
>> Sylvain Wallez wrote:
>> ... 
>
...

>>
>>> [1] http://www.cocoondev.org/projects/cvssource.html#N1005E 
>>
>>
>>
>>
>> <commit-message-expr>{request-attr:cvs-message}</commit-message-expr>
>>
>> Ewww!!! Looks awful! Ain't there better way -- like pass info via 
>> URI? Things like that must be controlled from the sitemap, not from 
>> cocoon.xconf.
>
>
>
> For this one, I admit it's awful. But look at the other ones also :
>  <username-expr>{session-attr:cvs-user}</username-expr>
>  <password-expr>{session-attr:cvs-passwd}</password-expr>
>
> I used the same mechanism for the commit message because the mechanism 
> was there and I lacked time to do something nicer. 


Compare with:

<map:generate 
src="cvs://{session-attr:cvs-user}:{session-attr:cvs-password}@cvs.apache.org/home/cvs/cocoon-site/site/2.1/index.html"/>

Or something similar. Will it work? Is it better or worse - from your POV?


Vadim



Mime
View raw message