I am planning to use Lenya to build a series of websites that i will be 
building over the next couple of months.  I have gone through all 
documentation, tutorials and wiki and understand the concept behind lenya.
 
All the websites that I am building are static in nature.  A typical page in 
the website consists of
1) Common Header
2) Common Left Menu
3) Content (changes from page to page)
4) Common Footer
 
So I am planning to use the following strategy.
1. Create the following documents which contain xhtml fragments
      a)/header
      b)/leftmenu
      c)/footer
2. Create documents for each page containing only the "Content" part
3. Edit page2xhtml.xsl so that it would automatically include /header, 
/leftmenu and /footer automatically at appropriate positions.
4. /leftmenu, /header can be edited at any later time by the editor (without 
needing to tinker with xsl), so that the whole website is affected at one go.
 
The question is 'How do I implement Step 3'?  I am not able to figure out how I 
can build the xsl to aggregate multiple xhtml documents from the publication.  
I have earlier used struts-tiles quite extensively and am trying to use similar 
concepts for layout here.  In other words, I need to know, what should I use in 
place of <tiles:insert name="header" value="/WEB-INF/jsp/header.jsp"/>
 
Any help in this regard will be highly appreciated.
 
Thanks
Ramesh


 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to