EditOneObject

Last modified by ElenaOanaTabaranu on 2009/04/03 17:34

This is a draft about How to edit only one XWiki object from a XWiki document

Edit only one XWiki object for a XWiki document

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. To avoid this default behavior, you might want to edit just one object at a time by adding the following parameters to your link: 

ParameterParameter Description
classnameclass name selecting the type of objects to display
classidobject index
objectobject index
propertyproperty name to display
nbobject index

For example, when editing the default XWiki skin you can use this link: http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object

editall.png

Or edit only the XWiki.XWikiSkins object with this link: http://localhost:8080/xwiki/bin/edit/XWiki/DefaultSkin?editor=object&classname=XWiki.XWikiSkins&nb=0

editoneobject.png

Tags:
   

Get Connected