Wiki source code of EditOneObject
Last modified by ElenaOanaTabaranu on 2009/04/03 17:34
Hide last authors
author | version | line-number | content |
---|---|---|---|
1.1 | 1 | ||
2 | #warning("This is a draft about How to edit only one XWiki object from a XWiki document") | ||
3 | |||
15.1 | 4 | 1 Edit only one XWiki object for a XWiki document | |
1.1 | 5 | ||
6 | Each time you save a XWiki document in your browser all the expanded objects will be collapsed and only the first object from the list will be expanded. | ||
9.1 | 7 | To avoid this default behavior, you might want to edit just one object at a time by adding the following parameters to your link: | |
3.1 | 8 | {table} | |
9 | Parameter|Parameter Description | ||
10 | classname|class name selecting the type of objects to display | ||
11 | classid|object index | ||
12 | object|object index | ||
13 | property|property name to display | ||
14 | nb|object index | ||
15 | {table} | ||
1.1 | 16 | ||
12.1 | 17 | For example, when editing the default XWiki skin you can use this link: *{pre}http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object{/pre}* | |
14.1 | 18 | ||
12.1 | 19 | {image:editall.png} | |
1.1 | 20 | ||
12.1 | 21 | Or edit only the XWiki.XWikiSkins object with this link: *{pre}http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object&classname=XWiki.XWikiSkins&nb=0{/pre}* | |
14.1 | 22 | ||
12.1 | 23 | {image:editoneobject.png} | |
1.1 | 24 | ||
25 | |||
26 | |||
5.1 | 27 | ||
28 | |||
29 |