Tapestry
  1. Tapestry
  2. TAPESTRY-1370

Add a component event result processor for Class instances

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0.5
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      I find that my event handlers that need to redirect to other pages often return a string:

      return Start.class.getSimpleName();

      It would be nice if I could just return a Class instance:

      return Start.class;

      This change would involve a new class, ClassResultProcessor, implementing ComponentEventResultProcessor, plus a line in TapestryModule#contributeComponentEventResultProcessor to add it to the configuration.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Daniel Gredler
            Reporter:
            Daniel Gredler
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development