cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robin Green" <>
Subject Re: using other taglibrary in own taglibrary
Date Tue, 23 May 2000 18:56:37 GMT
Roman Kunert <> wrote:
>I tried to extend the example taglibrary from the cocoon samples like this:
><xsl:template match="example:test">
>	<sql:execute-query>
>		<sql:driver></sql:driver>
>		<sql:dburl>jdbc:mysql://localhost/example</sql:dburl>
>				...
>				...
>	</sql:execute-query>
>calling <example:test> doesn't evaluate the
><sql:execute-query>...</sql:execute-query> branch, it simply copies the 
>What do I have to do to make this work? Thanks for your help!

For future reference - you are probably declaring the xmlns namespaces in 
the wrong order. Logicsheets are applied in the order they are declared. 
Thus you must declare yours first and then the sql taglib afterwards. Nearly 
everything in XSP is actually done by logicsheets, you see - the sql 
elements are converted into Java code by another logicsheet. Quite a few 
people don't get this!

See also Donald's earlier message.

Get Your Private, Free E-mail from MSN Hotmail at

View raw message