You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/11/14 00:09:43 UTC
[jira] Closed: (TAPESTRY-1864) Code sample in documentation on how
to add a new property editor incorrect
[ https://issues.apache.org/jira/browse/TAPESTRY-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAPESTRY-1864.
------------------------------------------
Resolution: Fixed
Fix Version/s: 5.0.7
Assignee: Howard M. Lewis Ship
> 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
> Assignee: Howard M. Lewis Ship
> Priority: Trivial
> Fix For: 5.0.7
>
>
> 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org