tapestry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Massimo Lusetti (JIRA)" <j...@apache.org>
Subject [jira] Commented: (TAP5-889) Provide fluent API for order constraints of contributions
Date Wed, 14 Oct 2009 09:48:31 GMT

    [ https://issues.apache.org/jira/browse/TAP5-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12765492#action_12765492
] 

Massimo Lusetti commented on TAP5-889:
--------------------------------------

This would be awesome!

> 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
>            Priority: Minor
>
> 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.


Mime
View raw message