jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Trails
  • TRAILS-54

Provide a default exception page

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1.0
  • Component/s: None
  • Labels:
    None

Description

We should provide an exception page:

<contribution configuration-id="tapestry.Infrastructure">
    <property name="exceptionPageName" value="ExceptionPage"/>
</contribution>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Kalle Korhonen added a comment - 21/Jun/07 1:16 PM

Instead of the above, trails-core now contributes ExceptionPresenter that handles all TrailsRuntimeExceptions. It's not perfect now you cannot contribute you own implementation. A better way would have been ExceptionPresenter pipeline, but it would have required Hivemind 1.1.2. Read more about it in the comments in trails-core. The Trails ExceptionPresenter renders a DefaultException page, or if entity type is provided and a correspoding page is available, a <Type>Exception page.

You can still override the default Tapestry error page using the above syntax - which should make sense in a production environment

Show
Kalle Korhonen added a comment - 21/Jun/07 1:16 PM Instead of the above, trails-core now contributes ExceptionPresenter that handles all TrailsRuntimeExceptions. It's not perfect now you cannot contribute you own implementation. A better way would have been ExceptionPresenter pipeline, but it would have required Hivemind 1.1.2. Read more about it in the comments in trails-core. The Trails ExceptionPresenter renders a DefaultException page, or if entity type is provided and a correspoding page is available, a <Type>Exception page. You can still override the default Tapestry error page using the above syntax - which should make sense in a production environment

People

  • Assignee:
    Kalle Korhonen
    Reporter:
    Alejandro Scandroli
Vote (0)
Watch (0)

Dates

  • Created:
    04/Jun/07 10:30 AM
    Updated:
    07/Apr/08 11:34 AM
    Resolved:
    21/Jun/07 1:16 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.