[ 
https://issues.apache.org/jira/browse/WICKET-2426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Juergen Donnerstag resolved WICKET-2426.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M1
         Assignee: Juergen Donnerstag

fixed

> "Couldn't resolve model type of Model" for PasswordTextField
> ------------------------------------------------------------
>
>                 Key: WICKET-2426
>                 URL: https://issues.apache.org/jira/browse/WICKET-2426
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.0
>            Reporter: Mikhail Fursov
>            Assignee: Juergen Donnerstag
>            Priority: Minor
>             Fix For: 1.5-M1
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> When using PasswordTextField with  CompoundPropertyModel mapped with the 
> Map<String, String> I get the following warning:
> Couldn't resolve model type of 
> Model:classname=[org.apache.wicket.model.CompoundPropertyModel$AttachedCompoundPropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.CompoundPropertyModel]:nestedmodel=[org.apache.wicket.util.collections.mini...@115126e]]
>  for [MarkupContainer [Component id = password]], please set the type 
> yourself.
> This message is fixed if to set password field type manually: new 
> PasswordTextField("").setType(String.class)
> I propose PasswordTextField to use String.class type by default

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

Reply via email to