struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn DeschĂȘnes <maestr...@gmail.com>
Subject Re: logic:lessThan problem
Date Fri, 19 Aug 2005 13:30:46 GMT
Hi Peter,

There seems to be a typo in the closing tag.
<logic:lessThan name="projectListSize" value="5">
		 Less than 5!
</logicLessThan>

Should be 
</logic:lessThan>

- Glenn

On 8/19/05, Peter.Zoche@materna.de <Peter.Zoche@materna.de> wrote:
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message