cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Greene" <>
Subject XSP page - dynamic link generation
Date Fri, 27 Jun 2003 10:09:07 GMT
Hi all,

I'm trying to create a dynamic link generated by a xsp page.
Inside the html code:
	<a href="<insert link>">Link to some page</a>
I want to replace the <insert link> with a value passed back by a object

E.g. This is what I trying at the moment
	//get someObject from somewhere
		<a href="<xsp:expr>someObject.getURL()</xsp:expr>">Link
to some page</a>
I get back a error from cocoon complaining about the '<' of the
<xsp:expr> tag.
"Original Exception: org.xml.sax.SAXParseException: The value of
attribute "href" must not contain the '<' character"

Any one any ideas how to solve this.


Stephen Greene

View raw message