cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Rossel <olivier.ros...@anyware-tech.com>
Subject Re: dynamically composing cinclude tag
Date Mon, 15 Apr 2002 09:30:58 GMT


a000@gmx.net wrote:

>Hello!
>
>In my xsp-page the following statemet works correctly:
>
> <cinclude:include src="cocoon:/SimpleTable.htm" element="xxx"/>
> 
>However I'm required to assign the value of src dynamically. 
>
>Initially I tried this statement which did not work:
>
><cinclude:include
>src="<xsp:expr>(String)((java.util.Map)request.getAttribute("restructComps")).get("uiSimple")"
element="xxx"/>
>
>
>Later I tried the following:
> 
> <cinclude:include>
>                  <xsl:attribute
>name="src"><xsp:expr>(String)((java.util.Map)request.getAttribute("restructComps")).get("uiSimple")</xsp:expr></xsl:attribute>
>                  <xsl:attribute name="element">xxx</xsl:attribute>
> </cinclude:include>
> 
>.. which did not work.
>
Try <xsp:attribute> instead of <xsl:attribute>




---------------------------------------------------------------------
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