> 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).
That should prevent attributute expressions from being evaluated prior
to being handed to the tag. Only drawback is that sciptlet expressions
(like <%= ...%>) can't be used inside attributes, but hopefully you
weren't relying on that anyway.

The big advantage of this approach, is that you can keep using the EL in
your JSP's, even if it contains MMBase tags. It's just that you can't
use EL expressions for MMBase tag attributes.

Rob van Maris
Technical Consultant

Quantiq
xmedia & communication solutions

Koninginneweg 11-13
1217 KP Hilversum
 
T    +31 (0)356257211
M    +31 (0)651444006
E    [EMAIL PROTECTED]


Reply via email to