Rob van Maris <[EMAIL PROTECTED]> wrote:
> > I've been attempting this morning to get MMBase 1.7rc2
> > working as a Servlet2.4/JSP2.0 compliant webapp. To
> > accomplish this, I had to turn of the JSP2.0 Expression
> > Language for quite some JSP's, due to the fact that both
> > MMBase and the EL use the ${...} syntax.
>
> A different solution you might try is to modify the TLD for the MMBase
> taglib. Look for these lines:
>
> <rtexprvalue>true</rtexprvalue>
>
> Simply change the value to false, or remove these lines altogether
> (false if default).
It seems a bit ad-hoc and not backwards-compatible. It can of course be done
if you want to use mmbase-taglib now in JSP2 environment, but I don't think
it can be changed in 'the' mmbase taglib tld because it simply is not
backwards-compatible.
What about my idea to simply provide an alternative for the ${} syntax in
mmbase taglib. Simply $ we already have and $() or so could be added by only
a few lines of code.
Then the mmbase-taglib can be used in JSP1 and JSP2 environments without too
much troubles.
I will also try what happens if MMBase taglib will write its vars to the root of
the pageContext, in stead of in a container in the pageContext. That will
make them sort of compatible, perhaps.
Michiel
--
Michiel Meeuwissen
Mediapark C101 Hilversum
+31 (0)35 6772979
nl_NL eo_XX en_US
mihxil'
[] ()