You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Christoph Jäger (JIRA)" <de...@tapestry.apache.org> on 2007/10/28 08:40:50 UTC

[jira] Created: (TAPESTRY-1864) Code sample in documentation on how to add a new property editor incorrect

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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


[jira] Closed: (TAPESTRY-1864) Code sample in documentation on how to add a new property editor incorrect

Posted by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org>.
     [ 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


[jira] Updated: (TAPESTRY-1864) Code sample in documentation on how to add a new property editor incorrect

Posted by "Christoph Jäger (JIRA)" <de...@tapestry.apache.org>.
     [ https://issues.apache.org/jira/browse/TAPESTRY-1864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Jäger updated TAPESTRY-1864:
--------------------------------------

    Priority: Trivial  (was: Major)

> 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
>            Priority: Trivial
>
> 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