cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Russell <p...@luminas.co.uk>
Subject Re: [C2] xsp-attribute behaviour
Date Fri, 01 Dec 2000 16:14:52 GMT
On Fri, Dec 01, 2000 at 04:47:36PM +0100, Marcus Crafter wrote:
> 	Example:
> 
> 	<xsp:element name="tag">
> 
> 		<xsp:logic>
> 			String var = myclass.getVar();
> 		</xsp:logic>
> 
> 		<xsp:attribute name="attr1">
> 			<xsp:expr>var</xsp:expr>
> 		</xsp:attribute>
> 
> 	</xsp:element>

I'd have *thought* that should be:

<xsp:element name="tag">
	<xsp:logic>
		String var = myclass.getVar();
		<xsp:attribute name="attr1">
			<xsp:expr>var</xsp:expr>
		</xsp:attribute>
	</xsp:logic>
</xsp:element>

I'm no XSP expert (yet) though, so I'm not *sure*. does that work?


P.
-- 
Paul Russell                               <paul@luminas.co.uk>
Technical Director,                   http://www.luminas.co.uk
Luminas Ltd.

Mime
View raw message