I ve run into this many times when i have to compare something with something else in a logic:equal or notEqual tags and that something else is not always a permanent value like "true" or "1". for example, i would want to compare against a bean property and based on that, show one style or another. I know how to do this, my question is why i can't do it like this:
<logic:equal name="bla" value="<bean:write name="foo" property="bar" />">
</logic:equal>
single quotes dont work either, since the tag thinks that anything inside the value attribute's quotes is a literal value and is interpreted as a string...very frustrating...
so, i do something like value="<%=request.getParameter("foobar")%>" and it sux because thats not what i want to do
<logic:equal name="bla" value="<bean:write name="foo" property="bar" />">
</logic:equal>
single quotes dont work either, since the tag thinks that anything inside the value attribute's quotes is a literal value and is interpreted as a string...very frustrating...
so, i do something like value="<%=request.getParameter("foobar")%>" and it sux because thats not what i want to do