"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
            Priority: Minor


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