java.lang.IllegalArgumentException: Parameter modelObject cannot be null

2010-07-05 Thread Sigmar Muuga
(organisation, entity.name); TextFieldOrganization organisationName = new TextFieldOrganization(organisationName, m1); organisationName.setRequired(true); add(organisationName); But when I load the page, I get: java.lang.IllegalArgumentException: Parameter modelObject cannot be null I have read the docs

Re: java.lang.IllegalArgumentException: Parameter modelObject cannot be null

2010-07-05 Thread Sigmar Muuga
(organisationName); But when I load the page, I get: java.lang.IllegalArgumentException: Parameter modelObject cannot be null I have read the docs and manuals about models etc, but this thing here is really weird..

Re: java.lang.IllegalArgumentException: Parameter modelObject cannot be null

2010-07-05 Thread Dr. Wolf Blecher
, entity.name); TextFieldOrganization organisationName = new TextFieldOrganization(organisationName, m1); organisationName.setRequired(true); add(organisationName); But when I load the page, I get: java.lang.IllegalArgumentException: Parameter modelObject cannot be null I have read

SV: java.lang.IllegalArgumentException: Parameter modelObject cannot be null

2010-07-05 Thread Wilhelmsen Tor Iver
Also, organisation is initialized in constructor with new Organisation(). Does this initialization happen before or after you create the model? java.lang.IllegalArgumentException: Parameter modelObject cannot be null This error message indicates it happens after. - Tor Iver

Re: java.lang.IllegalArgumentException: Parameter modelObject cannot be null

2010-07-05 Thread Sigmar Muuga
or after you create the model? java.lang.IllegalArgumentException: Parameter modelObject cannot be null This error message indicates it happens after. - Tor Iver