Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.3, 5.4
Description
Sometimes you attempt to reach a page, but it doesn't exist because of a syntax error.
Even after you create the page and reload, Tapestry may not pick up the change because it is not monitoring the directory containing the .class file, because it didn't successfully load a file from that directory.
It would be nice if the exception report page included a link to discard the class loader, forcing a reload of the page(s) for the request, and would then redirect back to the page (or event request) that failed.
Caveats:
- Different handling for an Ajax request, where the class loader should be discarded, and a response returned that will dismiss the exception report iframe.
- POST requests may be tricky.
- The link should only appear if the request is white-listed (by default, from localhost).