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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15
    • 5.0.16
    • documentation
    • 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

            hlship Howard Lewis Ship
            amhuhn Andy Huhn
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: