Re: Having a function in a XSP.

2002-02-21 Thread Ed Jenkins
classpath. Ed --- From: Mauricio Souza Lima <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Having a function in a XSP. Date: Wed, 20 Feb 2002 14:31:55 -0200 Ed Jenkins wrote: > > > > Can I create an inner class with methods inside a XSP?

Re: Having a function in a XSP.

2002-02-20 Thread Mauricio Souza Lima
Ed Jenkins wrote: > > > > Can I create an inner class with methods inside a XSP? > > Don't think so. All XSP code goes in the resulting Generator's generate() > method. What you should do IMHO is to use helper classes. All xsp:logic tags before the main tag (the first tag after xsp:page, l

Re: Having a function in a XSP.

2002-02-20 Thread Ed Jenkins
<[EMAIL PROTECTED]> Subject: Re: Having a function in a XSP. Date: Tue, 19 Feb 2002 09:11:06 +0100 From: "Olivier Rossel" <[EMAIL PROTECTED]> > Supposing I repeat the same XSP fragment several times in my XSP page. > And I wish to "factorize" that with a func

Re: Having a function in a XSP.

2002-02-18 Thread Nicola Ken Barozzi
From: "Olivier Rossel" <[EMAIL PROTECTED]> > Supposing I repeat the same XSP fragment several times in my XSP page. > And I wish to "factorize" that with a function which receives > parameters, and > is a kind of "XSP" fragment. > Is it possible? Taglibs have this role, to become libraries of c

Having a function in a XSP.

2002-02-18 Thread Olivier Rossel
Supposing I repaet the same XSP fragment several times in my XSP page. And I wish to "factorize" that with a function which receives parameters, and is a kind of "XSP" fragment. Is it possible? Can I create an inner class with methods inside a XSP?