| <!-- |
| Copyright 2004 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <span jwcid="$content$"> |
| <html jwcid="@Shell" title="Exception" stylesheet="asset:stylesheet" disableCaching="true" doctype="ognl:''"> |
| <body> |
| |
| <span jwcid="@If" condition="ognl:dynamic" renderTag="false"> |
| <style jwcid="@Style" href="asset:dynamicStylesheet"/> |
| </span> |
| |
| <span class="exception-top"> |
| <span class="exception-header"> |
| An exception has occurred. |
| </span> |
| |
| <p>You may continue by <b><a jwcid="restart">restarting</a></b> the session.</p> |
| </span> |
| |
| <span jwcid="@ExceptionDisplay" exceptions="ognl:exceptions" packages="ognl:packages"/> |
| |
| <span jwcid="@RequestDisplay"/> |
| |
| <style> |
| .bytegenerated {display:none;} |
| .duplicate {font-size:3pt;} |
| li.duplicate:hover {font-size:10pt; background:#eee;} |
| .duplicateStarter {background:#eee; padding:2px;margin:2px;} |
| </style> |
| <script type="text/javascript"> |
| <!-- |
| tapestry.html.enhanceExceptionPage(); |
| var st = document.getElementsByTagName('ul')[0].getElementsByTagName('li'); |
| processStacks = function(st) { |
| if (st.length==0) return; |
| var firstStack = st[0].innerHTML; |
| var firstPos = 0; |
| for (i=1;i<st.length;i++) { |
| var currentStack = st[i].innerHTML; |
| if (currentStack.indexOf('$')==0) { |
| st[i].className='bytegenerated'; |
| firstStack = currentStack; |
| firstPos = i; |
| continue; |
| } |
| if (allStartWith('org.apache.tapestry', currentStack, firstStack) || |
| allStartWith('ognl.', currentStack, firstStack) || |
| allStartWith('org.mortbay.jetty', currentStack, firstStack) || |
| allStartWith('org.apache.catalina', currentStack, firstStack) |
| ) { |
| st[i].className='duplicate';st[firstPos].className='duplicateStarter'; |
| } else { |
| firstStack = currentStack; |
| firstPos = i; |
| } |
| } |
| }; |
| |
| allStartWith = function(require, first, second) { |
| return first.indexOf(require)==0 && second.indexOf(require)==0; |
| } |
| |
| processStacks(st); |
| |
| //--> |
| </script> |
| |
| </body> |
| </html> |
| </span> |