(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
(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..
,
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
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
or after you create the model?
java.lang.IllegalArgumentException: Parameter modelObject cannot be
null
This error message indicates it happens after.
- Tor Iver