This content has been marked as final.
Show 4 replies
-
1. Re: DataModelSelection without Outjection?
pmuir Jul 9, 2006 4:43 AM (in response to japplicoon)Please show the getter and setter for
#{messageManager.message}
Also you could show a simple facelets page which produces the error and the stacktrace. -
2. Re: DataModelSelection without Outjection?
japplicoon Jul 9, 2006 5:48 AM (in response to japplicoon)Hello, petemuir!
There's Nothing special about the getter/setter:public FMessage getMessage() { return message; } public void setMessage(FMessage message) { this.message = message; }
Should there be ??
Thanks you!
sonja -
3. Re: DataModelSelection without Outjection?
pmuir Jul 9, 2006 6:28 AM (in response to japplicoon)I'm not sure about the set up of your pages but you do have @In(create=true,required=false) with no equivalent message = new FMessage() in the second code segment. This could cause an NPE.
-
4. Re: DataModelSelection without Outjection?
japplicoon Jul 10, 2006 2:33 AM (in response to japplicoon)Thank you, petemuir, I'll experiment with that!