Angelo Chen wrote:
Hi,

I'd like to display a count if count is greater than 200, but following will
trigger error:
Could not convert 'currentPage.count > 0' into a component parameter binding

<t:if test= 'currentPage.count > 200'>
  count : ${currentPage.count}
</t:if>

This not supported in the T5.0-final version. You have three possibilites :
- do your logic in the java where it belongs ;
- use the Chenillekit OGNL binding to gain access to OGNL syntax and possibilities ; - wait for T5.1, one of the most visible upgrade being in the expression language.

--
Francois Armand
Etudes & Développements J2EE
Groupe Linagora - http://www.linagora.com
Tél.: +33 (0)1 58 18 68 28
-----------
http://fanf42.blogspot.com
InterLDAP - http://interldap.org FederID - http://www.federid.org/
Open Source identities management and federation


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to