Hey all,
I've been breaking the administrative UI a lot recently playing with
JavaScript and stuff, and I was thinking it would be nice to create some
custom error pages for wicket, just to keep the navigation links from
completely disappearing when things go south.
It looks like it's pretty easy to do, though we have quite a few
options:
http://cwiki.apache.org/WICKET/error-pages-and-feedback-messages.html
I'd be happy to write a patch to add them, but I wanted to get a bit of
feedback on the content. I was thinking we could have an internal error
page like:
<h2>Oops, there was a server error...</h2>
Sorry, something unexpected happened on the server.
{if logged in}
Here's a stack trace you can include in the <link>JIRA</link> report for
this issue:
<textbox with stack trace/>
{else}
If you were <link>logged in</link>, you could view an error report for
this issue.
{end if}
Go back to the <link>home page</link> and try again.
and a session timeout page like:
<h2>Sorry, your session ended</h2>
It looks like you waited too long to make that last change. If this
continues to happen, you should get in touch with your system
administrator.
Go back to the <link>home page</link> and try again.
Any thoughts?
--
David Winslow
OpenGeo - http://opengeo.org/