Code sample in documentation on how to add a new property editor incorrect
--------------------------------------------------------------------------

                 Key: TAPESTRY-1864
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1864
             Project: Tapestry
          Issue Type: Bug
          Components: Documentation
    Affects Versions: 5.0.6
            Reporter: Christoph Jäger


The documentation in how to add a new property editor in Tapestry 5 Core -> 
BeanEditForm documentation has a code sample which reads

public static void contributeDefaultDataTypeAnalyzer(MappedConfiguration<Class, 
String> configuration)
{
  configuration.put(BigDecimal.class, "currency");
}

but should be

public static void contributeDefaultDataTypeAnalyzer(MappedConfiguration<Class, 
String> configuration)
{
  configuration.add(BigDecimal.class, "currency");
}

"put" replaced with "add".

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to