You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Anton (JIRA)" <ji...@apache.org> on 2009/10/16 16:51:31 UTC

[jira] Created: (WICKET-2529) Message localization problem

Message localization problem
----------------------------

                 Key: WICKET-2529
                 URL: https://issues.apache.org/jira/browse/WICKET-2529
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4.1
         Environment: any
            Reporter: Anton
             Fix For: 1.4.1


org/apache/wicket/markup/html/form/FormComponent.java, line 178

                        // If not found try a more general form [prefix].[key]
			if (Strings.isEmpty(message))
			{
				resource = prefix(prefix, key);
				message = getString(localizer, key, formComponent);              <-----
			}

Please, replace
message = getString(localizer, key, formComponent);
by
message = getString(localizer, resource, formComponent);


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


[jira] Closed: (WICKET-2529) Message localization problem

Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Juergen Donnerstag closed WICKET-2529.
--------------------------------------

    Resolution: Duplicate
      Assignee: Juergen Donnerstag

was fixed in 1.4 and trunk already

> Message localization problem
> ----------------------------
>
>                 Key: WICKET-2529
>                 URL: https://issues.apache.org/jira/browse/WICKET-2529
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1
>         Environment: any
>            Reporter: Anton
>            Assignee: Juergen Donnerstag
>             Fix For: 1.4.1
>
>
> org/apache/wicket/markup/html/form/FormComponent.java, line 178
>                         // If not found try a more general form [prefix].[key]
> 			if (Strings.isEmpty(message))
> 			{
> 				resource = prefix(prefix, key);
> 				message = getString(localizer, key, formComponent);              <-----
> 			}
> Please, replace
> message = getString(localizer, key, formComponent);
> by
> message = getString(localizer, resource, formComponent);

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