Hi all,

I use Clay to build my pages with templates.

I have a base page, all my actual pages are derived from the base page.
My clay-config.xml looks like this

    <component jsfid="basePage" extends="clay">
        <attributes>
            <set name="clayJsfid" value="/templates/layout.html" />
        </attributes>
        <symbols>
            <set name="@title" value="Default Title" />
            <set name="@headercontent" value="/templates/header.html" />
            <set name="@bodycontent" value="space" />
            <set name="@footercontent" value="/templates/footer.html" />
        </symbols>
    </component>

    <component jsfid="startPage" extends="basePage">
        <symbols>
            <set name="@title" value="Application Home" />
            <set name="@bodycontent" value="/startBody.html" />
        </symbols>
    </component>

The "problem" is my actual page start.html it looks like this:

<span jsfid="startPage"/>

So the issue I'm having is that for every page I need two files
start.html
startBody.html

The start.html page only calls the "startPage" clay component.
So I'd like to have only one file which contains my body.
Are there any possibilties to do this?

Thanks

Bernhard

Reply via email to