[Hippo-cms7-user] Import tool

marijan milicevic m.milicevic at onehippo.com
Mon Nov 30 14:16:45 CET 2009


Hi Niels,

nvankampenhout wrote:
> 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.
>
> Niels
>
>   
could you compare your annotation attributes with following bean:

http://svn.onehippo.org/repos/hippo/hippo-documentation/hst_docs/trunk/import/src/main/java/org/onehippo/ecm/docsite/migrate/xdoc/beans/FullDoc.java

cheers,
marijan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20091130/ee6b8a3d/attachment.htm>


More information about the Hippo-cms7-user mailing list