cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: recursive func in XSP?
Date Mon, 05 Jun 2000 03:14:57 GMT
On Sun, 4 Jun 2000, Mike Engelhart wrote:

> on 6/4/00 9:58 PM, Mike Engelhart at mengelhart@earthtrip.com wrote:
> 
> >> or, even simpler:
> >> 
> >> <xsp:expr>yourMethodCall()</xsp:expr>
> >> 
> >> - donald
> > I thought that would give a parent document error unless you pass the page's
> > Document object into the method...
> > 
> > mike
> which actually mine would do as well :-)
> 
> it should be
> Element e = yourMethodCall();
> xspCurrentNode.appendChild(document.importNode(e));

6 of one, 1/2 dozen of the other. i guess i just don't like relying on
XSP's built in and not documented very well variables.

- donald


Mime
View raw message