cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vadim Gritsenko <va...@reverycodes.com>
Subject Object parameters, Was: sitemap, jx and flow design
Date Wed, 26 Jan 2005 13:09:45 GMT
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:

   http://issues.apache.org/bugzilla/show_bug.cgi?id=9916

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.


Vadim


Mime
View raw message