Hi Renaud
Thanks for reply.........
i am explaining in detail...
i have written an action class in
src\lenya-1.2.4\src\java\org\apache\lenya\cms\cocoon\acting\classname.
This action has defined in sitemap.xmap and it calls in usecase.xmap at create
usecase while creating a document.
so, this action returns a map object. It contains dynamic content. how
can i pass this map object to xhtml.xml. why becasue xhtml.xml generates the
body of the document.
Thanks and Regards,
Srinivas Gurram.
-----Original Message-----
From: Renaud Richardet [mailto:[EMAIL PROTECTED]
Sent: Friday, May 26, 2006 5:51 AM
To: [email protected]
Subject: Re: dynamic content
Gurram, Srinivas wrote:
>
> Hi All
>
> In lenya CMS, the body of the document is generated from
xhtml.xml.
Right: in
lenya-1.2.x/src/webapp/lenya/pubs/default/publication-sitemap.xmap, we
aggregate all the different parts that will build the page:
<map:part src="cocoon://navigation/{2}/{3}/breadcrumb/{5}.xml"/>
<map:part src="cocoon://navigation/{2}/{3}/tabs/{5}.xml"/>
<map:part src="cocoon://navigation/{2}/{3}/menu/{5}.xml"/>
<map:part src="cocoon://navigation/{2}/{3}/search/{5}.xml"/>
<map:part
src="cocoon:/lenya-document-{1}/{3}/{4}/{page-envelope:document-path}"/>
> how can i modify that file in runtime if we want dynamic content.
I am not sure I understand, could you explain a little more? The content
from breadcrumb, tabs, ... is created dynamically.
If you want to add your own part, add a new <map:part>, and create a new
pipeline that matches this <map:part>
HTH,
Renaud
> could any one help me...........
>
>
> Thanks and Regards,
> Srinivas Gurram.
>
>
--
Renaud Richardet
COO America
Wyona Inc. - Open Source Content Management - Apache Lenya
office +1 857 776-3195 mobile +1 617 230 9112
renaud.richardet <at> wyona.com http://www.wyona.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an intended
recipient then please promptly delete this e-mail and any attachment and all
copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]