From version < 17.1 >
edited by Andreea Popescu
on 2014/07/01 08:17
To version < 18.1 >
edited by Vincent Massol
on 2014/07/01 08:23
< >
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -xwiki:XWiki.AndreeaPopescu
1 +xwiki:XWiki.VincentMassol
ExtensionCode.ExtensionCompatibilityClass[1]
cogCustom suggest displayer for multiple select DBList object properties
TypeXAR
Developed by

Ludovic Dubost, Marta Girdea

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1

Installable with the Extension Manager

Description

This is a custom suggest displayer for DBList object properties which adapts the suggest feature to multiple selection.

Usage

To activate it, you must edit the XClass and set, for the target property, the fields Use suggest and Multiple select to true, and the field Custom display to:

{{include document="XWiki.SuggestDisplay" /}}

The custom display was removed from the class editor UI since 1.9. To access it, you must either modify editclass.vm to remove customDisplay from the list of hidden properties, or set the value in the url via the propupdate action.

 The autosuggest widget will not work if Main.WebHome is not saved with programming rights ( http://jira.xwiki.org/jira/browse/XE-539) 

Screenshots

customDisplay.png

Limitations

This feature works "out of the box" with XWiki 2.7.1+. In earlier versions , XWIKI-4904 breaks the functionality if there are several properties with this custom display on the same page (all these properties will get suggestions from the possible values of the last property with this custom display). 

Tested on

This extension has been tested with the following configurations.

Extension VersionXWiki FlavorNotes
1.0XWiki Enterprise 2.7.1+, 6.0.1

And earlier versions with some limitations

 

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the following manual method, which is useful if this extension cannot be installed with the Extension Manager or if you're using an old version of XWiki that doesn't have the Extension Manager:

  1. Log in the wiki with a user having Administration rights
  2. Go to the Administration page and select the Import category
  3. Follow the on-screen instructions to upload the downloaded XAR
  4. Click on the uploaded XAR and follow the instructions
  5. You'll also need to install all dependent Extensions that are not already installed in your wiki


After importing the XAR, the document XWiki.SuggestDisplay is created and can be used as described above.

Get Connected