Groovy GSP <g: if>
It made me crazy for hours and probably very obvious to someone ...
Can anyone understand why this prints out even if his message is false?
<g:if test="${className == 'SRep'}">
${className == 'SRep'}
</g:if>
If classname == SRep, then this is correct. However, if classname <> SRep still displays false? I do not understand how this can be.
If i use? showSource = true, the if statement looks like this:
if(true && ("false")) {
printHtmlPart(29)
}
else {
printHtmlPart(30)
}
Does anyone see something obvious?
Thanks, John
+3