You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2014/12/28 14:17:13 UTC

[jira] [Resolved] (WICKET-5796) "Couldn't resolve model type of Model" for RequiredTextField

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

Sven Meier resolved WICKET-5796.
--------------------------------
    Resolution: Invalid
      Assignee: Sven Meier

RequiredTextField may be used with all kind of types, we can't fix it to String only.

Make sure you're using a model which can provide the type, or set the type explicitly yourself.

> "Couldn't resolve model type of Model" for RequiredTextField
> ------------------------------------------------------------
>
>                 Key: WICKET-5796
>                 URL: https://issues.apache.org/jira/browse/WICKET-5796
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.18.0
>            Reporter: Phil Franken
>            Assignee: Sven Meier
>            Priority: Minor
>
> Similar to
> https://issues.apache.org/jira/browse/WICKET-2426
> This message is fixed if to set field type manually:
> new RequiredTextField("").setType(String.class)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)