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

BeanEditForm guide example about creating the FieldTranslator is inaccurate and out of date

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.0.16
    • Component/s: documentation
    • Labels:
      None

      Description

      A quote from http://tapestry.formos.com/nightly/tapestry5/guide/beaneditform.html on 8-Sep-2008:

      public FieldTranslator getCurrencyTranslator()

      { Translator translator = ...; return fieldTranslatorSource.createTranslator(currency, context.getPropertyId(), context.getContainerMessages(), resources.getLocale(), context.getPropertyType(), context); }

      The signature for this method is incorrect; after resources.getLocale(), I believe there should be only one argument, which is translator.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              amhuhn Andy Huhn
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: