Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-744

Add navigation error callback

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0.0.Final
    • Component/s: ErraiUI
    • Labels:
      None
    • Affects:
      User Experience
    • Estimated Difficulty:
      Low

      Description

      When manually entering an url with a page that doesn't exist in the NavigationGraph, the exception IllegalArgumentException("Page not found: \"" + name + "\"") is thrown.

      in this case it would be good to have the possibility to pass in an error callback to the navigation, such as Navigation.addErrorCallback(...).

      the information passed in could be an enum to distinguish the errors. in case no callback is defined, the IllegalArgumentException can be continued to be thrown.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                csa Christian Sadilek
                Reporter:
                abluem Alexander Bluem
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: