Hi

So far I've been using named xml files to define the various pages, but I've
decided to define them in clay-config instead. I know this is doable, but
I'm missing something, either a setting in web.xml or elsewhere

My simple clay-config.xml looks like this:

        <component jsfid="baseLayout" extends="clay" id="base">
                <attributes>
                        <set name="clayJsfid"
value="/templates/standard.html" />
                </attributes>
                <symbols>
                        <set name="title" value="Hello World" />
                        <set name="leftContent"
value="/pages/defaultLeftNav.html" />
                        <set name="headerContent"
value="/pages/defaultHeader.html" />
                        <set name="bodyContent"
value="/pages/defaultBody.html" />
                        <set name="footerContent"
value="/pages/defaultFooter.html" />
                </symbols>
        </component>

    <component jsfid="/page1.xml" extends="baseLayout">
        <symbols>
              <set name="title" value="Page 1"/>
              <set name="bodyContent" value="/pages/page1Body.html"/>
        </symbols>
    </component>

Earlier I had a page called page1.xml which contained the definition for
this and all was well, however if I now try to access the same page I get:

javax.servlet.ServletException: Unable to find file /page1.xml.  If this is
a full HTML or XML view, check your navigation rules.

What am I missing here?


Hermod

Reply via email to