Ernst Bunders <[EMAIL PROTECTED]> wrote: > > > > -----Oorspronkelijk bericht----- > > Van: Michiel Meeuwissen [mailto:[EMAIL PROTECTED] > > Verzonden: maandag 8 maart 2004 16:31 > > Aan: [EMAIL PROTECTED] > > Onderwerp: Re: locale sensitive tags > > > > > > Kees Jongenburger <[EMAIL PROTECTED]> wrote: > > > > > > Do we wans soms sort of grouping or a "case" tag? > > > > Perhaps yes. Something like xslt's xsl:choose xsl:when > > xsl:otherwise was > > considered during the taglib-meeting (I would perhaps propose > > the excact > > same tag-names) > > I suppose it is not possible for mmbase tags to use the same context for > storing values as the standard taglib (or other taglibs) use? that way you > could chunk all the non-mmbase tags and use jstl and other taglibs > alongside. that would take care of the maintainance issue.
Yes, I've looked into this matter once (though not very deeply). It would be a bit hard, especially because mmbase taglib's attribute are quite powerful. It might be worth investigating this further, to at least make cooperation between mmbase- and other taglib possible in some extend. > Node.getFieldsValues() > if this returns a map than with fieldnames as key and > getStringValue([fieldname]) as value, the Node could be used with jstl or > other taglibs conforming to this standard. > This way the taglib could be small and easily maintainable and yet the total > sum of functionality would increase a lot. > I allso think this is important becouse more and more people start building > their webapps/sites according to the jsp2 specs (struts/tiles), where all > the buissiness logic and data gathering will be seperated form de data > presentation and data will be placed in the PageContext before parsing. At > this moment nor the mmbase taglib nor the jstl can be used to build jsp > templates in such an approach. I'm not even sure I like the approach, because it seems to lay yet another layer in the absurdly thick stack of layers you'd normally have already.. E.g. in my viewpoint (x)html is already an abstract representation of data and for style there is css. It is of course a probrem that HTML is no good (and more importantly: badly supported by browsers, extremely so by some) but I'd prefer to learn to live with that, rather then creating yet another abstraction layer, to work around it. But anyhow, yes, if people want to do it, it would be nice if it would be possible, but since I have virtually no experience it it, I would not dare to propose a way in how we would make it possible... Michiel -- Michiel Meeuwissen Mediapark C101 Hilversum +31 (0)35 6772979 nl_NL eo_XX en_US mihxil' [] ()
