I would like to create a form for a international audience (multi language)
So I created a AppWithinMinutes app.
I would like that my users can Multiselect from a list that is a selection
of objects based on a class.
So i created a class (with AppWithinMinutes:
Class properties
Short Text (shortText1: String)
Long Text (longText1: TextArea)
Long Text (longText2: TextArea)
Database List (databaseList1: Database List)
The databaseList1 has the following properties:
DisplayType: checkbox
Multiple Select: true
XWiki Class Name: XWiki.UIExtensionClass
Id Field Name: name ()
Value Field Name: name
The first issue I get that I get all objects of the class. I hoped to add a
selection by adding this query:
from doc.object(XWiki.UIExtensionClass) as obj where
lower(obj.extensionPointId) like '%cdlsworld.standardized.questionaires%'
and ('wiki' = obj.scope) order by obj.name
But how can I add this?
The second issue that I hoped to be able to use for the option to add the
translated value
$services.localization.get('$value')