[Hippo-cms7-user] Import tool
m.milicevic at onehippo.com
Mon Nov 30 14:16:45 CET 2009
> marijan milicevic-2 wrote:
>> your code looks ok. Do you get any errors/warnings ?
>> for the time being/as a workaround, you can override following method:
>> Node beforePersisted(Node node, DocumentCreator documentCreator);
>> within the bean that contains List<Category> field.
>> Now you can add your node(s) "manually" by using: node.addNode() method.
> That doesn't keep the import tool from trying to add myns:categories as a
> property... somehow I must be missing some vital configuration property to
> indicate that this is a sub node rather than a property...
> I've been running the importer through the debugger but I can't really find
> out how the tool determines whether something is a property or a node.
could you compare your annotation attributes with following bean:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Hippo-cms7-user