Getting InstanceContent from Lookup
Hi!
Does anyone know if something like this is possible?
InstanceContent instanceContent=new InstanceContent();
AbstractLookup abstractLookup=new AbstractLookup(instanceContent);
...
myObject.getLookup().lookup(InstanceContent.class).add(myAddedObject);
....
It does not work in this way becaus AbstractLookup doesn't save the
instance content object in its lookup. I just want to understand how to
add objects to lookups dynamically..
Thanks,
BYe,
Klaus