cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabor Dolla <agdo...@mezon.net>
Subject Re: URI escape
Date Mon, 10 Apr 2000 19:38:03 GMT
> 
> With your last idea I receive the following:
> Call to extension function failed: method call/new failed:
> java.lang.NullPointerException
>

OK, your idea might work ..

> >    <xsl:value-of
> > select="java:java.net.URLEncoder.encode('your-url-to-encode')"/>

my problem is, that I produce HTML so I need the value in a href, like
this:
<A TARGET="wmMails" HREF="dummy.xml?action=show&amp;
what={java:java.net.URLEncoder.encode(NAME)}">

Or is it not possible to use java:java.net.URLEncoder.encode
between {} ???

Then how can I use the encoded value in a href with 
<xsl:value-of select="....   ???

thanks

Gabor




Mime
View raw message