> This will not solve imnput problems. Imagine that the functiona ctually has
> two arguments:
> 
> <mm:function name="url">
>       <mm:param name="type" value="ram" />
>       <mm:param name="connection" value="1500" />
> </mm:function>
> 
> could perhaps send url(ram,1500) to the core.
> 
> But what should
> 
> <mm:function name="url">
>       <mm:param name="connection" value="1500" />
>       <mm:param name="type" value="ram" />
> </mm:function>
> 
> do then?

hmm named parameters is very nice in perl 
call ( -url -> "http://www.test.nl/"; ,-connectionspeed =>"84kbs");

But I think the "java" way of doing this is just like beans are doing it
<jsp:useBean id="search" class="org.mmbase.applications.htdigsearch.HTDigBean" 
scope="page"/>
<jsp:setProperty name="search" property="*" />
or
<jsp:setProperty name="search" property="ram" />
<jsp:getProperty name="search" property="result" />

or something like this..

We really need to start looking around (what functionality is provided with JSTL) and 
how can we make use of those functionalities


Reply via email to