hi,
Michiel Meeuwissen wrote:
Simon Groenewolt wrote:
[snip java code in jsp]
<mm:functioncontainer> <mm:param name="template" value="s(100)" /> <mm:nodefunction name="cachednode"> <mm:field name="filesize" /> </mm:nodefunction> </mm:functioncontainer>
might just work. But it would need testing.
That doesn't work in 1.7 indeed (using 1.7.1.20040717). But will be a nice solution later.
Could be that cached node is only 1.8. In 1.7 perhaps: <mm:function name="cache"> <mm:node number="$_"> </mm:node> </mm:function>
This gave some kind of error about to many (or not enough?) arguments. I used Andre's suggestion instead.
Btw, the image-stuff is on my TODO for review and improvement (especially absolute urls for images, but I'm planning to take this, and height and width!, into account too), because a customer requested to.
Great! (It would be nice to have the same functionality for attachments.)
Simon _______________________________________________ Developers mailing list [email protected] http://lists.mmbase.org/mailman/listinfo/developers
