From version < 8.1 >
edited by Ecaterina Moraru (Valica)
on 2017/09/04
To version < 9.1 >
edited by Ecaterina Moraru (Valica)
on 2017/09/04
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -37,7 +37,7 @@
37 37  <mapping resource="/some/package/mailinglist.hbm.xml"/>
38 38  {{/code}}
39 39  )))
40 -1. Last, the XClass for which the mapping has been written should be set as containing a custom mapping. Unfortunately there's currently no way to set this using the XWiki Enterprise UI so you'll have to set it programmatically. The following Groovy snippet will do the trick (Remember that for Groovy code to be executed, the page that contains the code should be saved by a user having the programming right allowed on that document). Note that this could also be done in a Java component.
40 +1. Last, the XClass for which the mapping has been written should be set as containing a custom mapping. Unfortunately there's currently no way to set this using the XWiki UI so you'll have to set it programmatically. The following Groovy snippet will do the trick (Remember that for Groovy code to be executed, the page that contains the code should be saved by a user having the programming right allowed on that document). Note that this could also be done in a Java component.
41 41  (((
42 42  {{code language="java"}}
43 43  {{groovy}}

Get Connected