Multilingual DBListManager Application

Modifié par Admin ATILLA le 2026/02/02 09:20

Description

This application is an helper for simple users that allows them to design the fields of a DataBase List, which is used as a Static List that users can easily edit, without needing editing rights on the class. This new version handle the internationalization, but if you don't need it, you can use the simple DBList Manager Application.

Warning

This application does not handle the multiple selection.

Usage

Just write:
{{mldblist_manager property='..' wikiclass='..' showQuery='true|false' documentHandler='..' showTitle='true|false' /}}

Where :

  • "property" is the property of the class to manage (must be a Database List!).
  • "wikiclass" is the class which contains the property.
  • "showQuery" (optional) is for the class designer: display or not the query to put on the "Hibernate Query" field of the property. (default: false)
  • "documentHandler" (optional) is the document where the Database list entries will be saved. Default: the current document where is used this macro.
  • "showTitle" (optional) shows or not the title. (default: true)

Then, in your class, you can create a 'Database List' property and fill in the 'Hibernate Query' the content that you can display with showQuery parameter of the macro.

Installation

Don't forget to add MLDBListManagerTranslations to your translation files.

Example of use

  1. In your class, add a Database List field
    Screen1.png
  2. In the page where you want the user can customise it, call the macro:
    Screen2.png
    (or)
    Screen3.png
  3. Get the Hibernate Query
    Screen4.png
  4. Put it on the "Hibernate Query" field of your property in your class:
    Screen5.png
  5. Add some values using the macro
    Screen6.png

Developers, how to use it on your sheet

Go to MLDBListManagerDisplay.

Credits