cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: jxtemplate - using static methods
Date Wed, 10 Aug 2005 07:45:53 GMT
David wrote:
> Is it possible to do something like this in JXTempaltes?
> 
> ${org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}
> 
> If not what is the recommended way of doing something like this?
> 
> Also I tried the code above, it didn't do anything, but it aslo did not 
> error. Where should the error be showing up? I have noticed with most jx 
> errors they don't appear in the browser, it simply keeps parsing the jx 
> template as if nothing is wrong.
is this a repost ? I thought I replied to this one.

shortly saying, use:
${Packages.org.apache.commons.lang.StringEscapeUtils.escapeXml('test')}

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
IT 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

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


Mime
View raw message