You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Rui Alberto <ru...@ptinovacao.pt> on 2005/06/08 19:47:18 UTC

string length jx template generator

Hi all,
this is a basic question, but I've no experience with jx syntax.

Is that possible verify a string length using jx template generator?
Somethig like <jx:if test="length(request.param) &lt;  5">

Thanks to all

Rui


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: string length jx template generator

Posted by Leszek Gawron <lg...@mobilebox.pl>.
Rui Alberto wrote:
> Hi all,
> this is a basic question, but I've no experience with jx syntax.
> 
> Is that possible verify a string length using jx template generator?
> Somethig like <jx:if test="length(request.param) &lt;  5">
<jx:if test="${cocoon.request.param.length() &lt; 5">

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65