cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Reiss <d.re...@tu-bs.de>
Subject dynamically generated cinclude-tag not processed
Date Mon, 06 May 2002 22:53:23 GMT
Hello,

we try to generate a <cinclude:include> - tag dynamically using the following 
code:

<xsp:element>
  <xsp:param name="name"><xsp:expr>elementName</xsp:expr></xsp:param>
  <xsp:attribute name="src">
    <xsp:expr>uri</xsp:expr>
  </xsp:attribute>
 </xsp:element>

where the variables used are initialized in the <xsp:logic> part after calling 
an java-function

the generated output in the webbrowser is

<cinclude:include 
src="cocoon:/processed/lomobjects/lu/vorms/tp3/simulation/lektion1.xsp"></cinclude:include>

if we code this 'statically' in our logicsheet it works fine, the 
cinclude-instruction is processed correctly and the needed xml-file is 
included.

what could be wrong?

xsp should be executed and AFTER that the cinclude-transformer should do the 
rest... but it seems it doesnt...

can anybody help??

many thanks in advance
dirk

-- 
<!--------------------------------------------------------------------------------------
   Dirk Reiss
   Helmstedter Str. 134
   38102 Braunschweig
   ++49 (0) 531 7996276
   E-Mail: d.reiss@tu-bs.de
---------------------------------------------------------------------------------------->

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message