Hi list!

I have some problems comparing values with logic tags. I have searched the
mailing list archive,
but I only found solutions that look pretty the same as what I have done,
but it still does not
work. So perhaps someone can help. I have a bean which stores a list of
projects. Because
the size of this list can vary, I get it like this:

<bean:size id="projectListSize" name="myBean" property="projectList" />

When I write out the size bean <bean:write name="projectListSize" />, the
correct size is shown. But when I try to do the following:

<logic:lessThan name="projectListSize" value="5">
        Less than 5!
</logicLessThan>
<logic:greaterEqual name="projectListSize" value="5">
        Greater or equal 5!
</logic:greaterEqual>

always both messages are shown! Is there something I am missing?

Thanks,
Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to