tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Howard M. Lewis Ship (JIRA)" <...@tapestry.apache.org>
Subject [jira] Closed: (TAPESTRY-1370) Add a component event result processor for Class instances
Date Fri, 08 Jun 2007 04:47:25 GMT

     [ https://issues.apache.org/jira/browse/TAPESTRY-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Howard M. Lewis Ship closed TAPESTRY-1370.
------------------------------------------


> 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
>            Assignee: Daniel Gredler
>            Priority: Minor
>             Fix For: 5.0.5
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


Mime
View raw message