I tried using such a construct on my JSF and JPA project with the
latest RC1 build and it fails as well. It looks like something in
the upgraded libraries is causing the issue but I am trying to track
it down. It occurs in all my facelet code. I did not try to change
the brackets to [ so the new construct should be?
<c:if test=$[empty pojo.property]>
replacing the curly brackets with the square brackets or should we
move to the direct jsf tags for a jsf implementation.
Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]
On Sep 15, 2007, at 12:28 PM, Matt Raible wrote:
Use $[empty pojo.property] or $[not empty pojo.property].
Matt
On 9/15/07, Nathaniel Rahav <[EMAIL PROTECTED]> wrote:
I am trying to execute the following code in JSP but I'm getting
errors:
<c:if test="${! bldg.apartments.isEmpty}">,</c:if>
this doesnt work either:
<c:if test="${ bldg.apartments.size >0}">,</c:if>
The problem is that the collection (
http://www.hibernate.org/hib_docs/v3/api/org/hibernate/collection/
PersistentSortedSet.html)
does not expose any bean-style properties (eg getSize() ) ...
Does anybody have a trick for checking collection sizes on a jsp
page ?
hopefully there's a really quick answer to this somewhat trivial
question ?
thanks
Nat
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]