Rob van Maris wrote:
> 
> <Michiel M>
> >The other thing that I would very much miss is the <mm:content / 
> >escaper
> >functionallity, which perhaps would be a detail, but actually quit
> >essential, because generally it is wrong to just put your field to the 
> >page,
> 
> HTML-escaping a field value:
>       <c:out escapeXML>${newsitem.body}</c:out>

Which leaves little of the advantage of ${newsitem.body} above <mm:field
name="body" />, IMHO, and still leaves away the page-wide scoping offered
by <mm:content.

> Note: content/escaper functionality is easily implemented using tags 
> that take the tag body as input. Chances are a taglib that suits your 
> needs already exists.

Perhaps I may note that the mmbase taglib also already exists. 

Michiel

-- 
Michiel Meeuwissen                  mihxil'
Mediacentrum 140 H'sum                [] ()
+31 (0)35 6772979         nl_NL eo_XX en_US



_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to