On Wed, 26 Jan 2005 08:09:45 -0500, Vadim Gritsenko <[EMAIL PROTECTED]> 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: > > 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. Wow, the very first Cocoon related bugzilla entry I ever voted on.
Big +1 for fixing this the right way! -- Peter Hunsberger