cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <>
Subject Re: Object parameters, Was: sitemap, jx and flow design
Date Wed, 26 Jan 2005 15:42:24 GMT
Vadim Gritsenko wrote:

> Daniel Fagerstrom wrote:
>> BURGHARD √Čric wrote:
>>>  <generate type="jx" src="..">
>>>    <!-- pass authentication dom to jx -->
>>>    <parameter name="auth" dom="{session-context:authentication}"/>
>>>  </generate>
>> I have never disputed that things might be clumsy now, I just think 
>> we should focus on getting the flowscript way better, instead of 
>> adding things that makes the sitemap more of a programming language, 
>> by handling a more diverse set of datatypes then strings.
> This one is absolutely same issue you are discussing here:
> IMHO, it is worth to discuss the issue of passing object parameters by 
> itself, without mixing flow or jx into it, as a bonus we might get 
> resolution for a 2.5 years old feature request.
> As for implementation, probably extending Parameters with 
> getParameterAsObject, setParameter(String, Object) should be enough.

And changes to VariableResolver so that it returns an object if it only 
contains an input module expression.

We can add getParameterAsObject() to o.a.c.sitemap.SitemapParameters 
that was created to add getStatementLocation().


Sylvain Wallez                                  Anyware Technologies 
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }

View raw message