On 8/19/05, Jiri Luzny <[email protected]> wrote:
Hi Ludovic,
..great, I will try it... For the enabling of custom mappings I would like to use the new import feature. However, I'm not sure if my assumption how the import works is correct: when importing any doc which has some objects assigned, it together with objects also automatically manages class definitions: if certain class definition doesn't exist it gets created and if it already exist it gets updated. Is it right?
Or before importing any doc the corresponding class definition must already exist in its master doc? In this case how do you ensure the master doc with class definition is imported earlier than any other doc using this class?
Hi Jiri, No, you have to import the class definition too. XWiki does not automatically manage class definition. Maybe it can be done in the futur. The update of a class is difficult, how to know if the user have modified the class, what doing in this case? What we do with objects which are using this class? I don't think the order for the import of class and objects are important. But Ludovic can you confirm? Jérémi -- portable : 06.73.20.11.49 http://www.jeremi.info http://www.xwiki.com - http://www.moovement.com skype: jeremi23