You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Igor Drobiazko (JIRA)" <ji...@apache.org> on 2009/10/22 21:11:59 UTC
[jira] Closed: (TAP5-889) Provide fluent API for order constraints
of contributions
[ https://issues.apache.org/jira/browse/TAP5-889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Drobiazko closed TAP5-889.
-------------------------------
Resolution: Fixed
Fix Version/s: 5.2.0.0
> Provide fluent API for order constraints of contributions
> ---------------------------------------------------------
>
> Key: TAP5-889
> URL: https://issues.apache.org/jira/browse/TAP5-889
> Project: Tapestry 5
> Issue Type: Improvement
> Components: tapestry-ioc
> Affects Versions: 5.2.0.0
> Reporter: Igor Drobiazko
> Assignee: Igor Drobiazko
> Priority: Minor
> Fix For: 5.2.0.0
>
>
> It is a pain to create order constraint for contributions because of the hard coded string "before" and "after".
> It would be nice to have a fluent API for this.
> public static void contributeMasterDispatcher(final OrderedConfiguration<Dispatcher> configuration) {
> configuration.addInstance("MyDispatcher",
> MyDispatcher.class,
> before("PageRender").after("ComponentEvent").build());
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.