Add a component event result processor for Class instances
----------------------------------------------------------

                 Key: TAPESTRY-1370
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1370
             Project: Tapestry
          Issue Type: New Feature
          Components: tapestry-core
    Affects Versions: 5.0
            Reporter: Daniel Gredler
            Priority: Minor
             Fix For: 5.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to