Hey!
I´ve got two little problems, I hope somebody can help me to solve it:
1. I will generate a new entry:
ExtResources newRes = (ExtResources)
ctxt.createAndRegisterNewObject(ExtResources.class);
newRes.setContent(content);
newRes.setContent(content);
...
ctxt.commitChanges();
But then I get an exception:
"Validation failure for
edu.unika.aifb.webex.webexauthor.server.model.ExtResources.id: "id" is
required",
but ID is my PK, so how can I add this entry?
2. When I add this entry, is there a possibility to get the ID or must I
use DataObjectUtils.objectForPK etc.?
Thans for your help,
gr
PK
This archive was generated by hypermail 2.0.0 : Sun Jan 15 2006 - 11:05:21 EST