If it was a subview I would agree. But this is the root view which is why I'm surprised by the behaviour.

Rich

Alexandre Poitras wrote:
Well if it isn't the root view and just an included subview, I would
expect this behavior but Gary would be the best person to answer this
question.

On 4/19/06, Richard Wallace <[EMAIL PROTECTED]> wrote:
When trying to access a file that doesn't exist, Clay is throwing a
RuntimeException that is causing my 500 error page to be displayed
rather than a 404 error page.  Here's the offending exception:

java.lang.RuntimeException: Unable to find file /for_parents.html.
        at
org.apache.shale.clay.config.beans.ComponentConfigBean.getConfigDefinitions(ComponentConfigBean.java:230)
        at
org.apache.shale.clay.config.beans.TemplateConfigBean.getElement(TemplateConfigBean.java:72)
        at
org.apache.shale.clay.component.Clay.getRootElement(Clay.java:244)
        at org.apache.shale.clay.component.Clay.encodeBegin(Clay.java:283)
        at
org.apache.shale.clay.faces.ClayViewHandler.recursiveRender(ClayViewHandler.java:402)
        at
org.apache.shale.clay.faces.ClayViewHandler.renderView(ClayViewHandler.java:345)
        at
org.apache.shale.view.faces.ViewViewHandler.renderView(ViewViewHandler.java:146)
        at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
        at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
        at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        ...


I'm using a nightly from 20060313 so forgive me if this is fixed in the
latest code.  If not, can I file a bug?

Thanks,
Rich

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




--
Alexandre Poitras
Québec, Canada

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



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

Reply via email to