cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <gree...@hotmail.com>
Subject Re: <?xml-logicsheet> problem
Date Thu, 25 Jan 2001 18:49:10 GMT
Ulrich Mayring <ulim@denic.de> wrote:

>am I right in assuming that this doesn't work:
>
><?xml-logicsheet href="mytaglib"?>
><?cocoon-process type="xsp"?>
>
><xsp:page ...>
>
><xsp:logic>
>	if (condition) {
>		<mytaglib:do-something/>
>		}
>	else {
>		<mytaglib:do-something-else/>
>		}
></xsp:logic>

No, that should definitely work.

>
>It seems the mytaglib calls are evaluated first, before xsp has a chance
>to evaluate the condition, right?

The taglib tags are _substituted_ with actual code before the condition is 
evaluated, but no code is executed until the condition has run. You might 
want to check your generated source code.


_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


Mime
View raw message