> -----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.
Another issue in this respect is the more structural problem of using nodes
with the jstl. with jstl tags it is not possible to use methods with
arguments (like node.getStringValue("somefield")on objects. you would need
something like:
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.
>
> It would be quite simple to implement, but was not done
> (yet?). It feels a
> bit as if we're yet again making things not actually
> connected to mmbase then, any
> more. But as said, it would be simple to make, and require little
> maintaince, so perhaps we could as well supply it...
>
>
> Michiel
>
>
>
> --
> Michiel Meeuwissen
> Mediapark C101 Hilversum
> +31 (0)35 6772979
> nl_NL eo_XX en_US
> mihxil'
> [] ()
>