Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-889

Provide fluent API for order constraints of contributions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.2.0
    • 5.2.0
    • tapestry-ioc
    • None

    Description

      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()); }

      Attachments

        Activity

          People

            igor.drobiazko Igor Drobiazko
            igor.drobiazko Igor Drobiazko
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: