Tapestry
  1. Tapestry
  2. TAPESTRY-1367

Documentation error on Application State page: ApplicationStateConfiguration should be ApplicationStateContribution

    Details

    • Type: Task Task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.5
    • Fix Version/s: 5.0.6
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      http://tapestry.apache.org/tapestry5/tapestry-core/guide/appstate.html

      the example reads:

      public void contributeApplicationStateManager(MappedConfiguration<Class, ApplicationStateConfiguration> configuration)

      { .... configuration.add(MyState.class, new ApplicationStateContribution("session", creator)); }

      I think the MappedConfiguration parameter should be MappedConfiguration<Class, ApplicationStateContribution>, since no such class ApplicationStateConfiguration exists.

        Activity

        Hide
        Peter Beshai added a comment -

        Oh sorry, just realized somebody pointed this out on the mailing list.

        Show
        Peter Beshai added a comment - Oh sorry, just realized somebody pointed this out on the mailing list.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Peter Beshai
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development