Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
16.10.5
-
None
-
Unknown
-
Description
The idea is that defining an Enum type for a macro parameter is often not enough: we might need to be able to get dynamically the returned values to display for a wiki macro parameter. And we might also to allow custom values on top of predefined values.
Right now the only way to deal with those scenario is to define a custom displayer which is tedious. It would be easier to be able to define a component role and to be able to specify the hint of the component implementation for getting the values.
Example of needs for such usecases are the JIRA charts macro where we want to allow set of predefined and custom jira fields, and async macro context elements.
Attachments
Issue Links
- blocks
-
CHARTJS-42 Use number fields and lists of values for the parameters of the chartjs and tableToChartJS macros
-
- Open
-
-
JIRA-129 Offer the sources, styles and fields of the JIRA macro as lists in the Edit Macro dialog
-
- Open
-
-
XWIKI-25498 Use number fields and a list of page properties for the parameters of the page list and tree macros
-
- Open
-
-
XWIKI-25499 Use number fields and lists of values for the parameters of the attachment picker macros
-
- Open
-
-
XWIKI-25500 Offer the script languages and the Velocity filters as lists in the Edit Macro dialog
-
- Open
-
-
XWIKI-25501 Suggest the sections, templates and UI extensions in the fields of the content reuse macros
-
- Open
-
-
XWIKI-25502 Offer the layouts of the container macro and the menu types as lists in the Edit Macro dialog
-
- Open
-
-
XWIKI-25503 Offer the chart types, the Live Data sources and layouts and the dashboard styles as lists in the Edit Macro dialog
-
- Open
-
-
XWIKI-25504 Offer the mention types as a list in the Edit Macro dialog of the mention macro
-
- Open
-
-
XWIKI-25505 Suggest the translation keys and the languages of the wiki in the Edit Macro dialog of the translation macro
-
- Open
-
- relates to
-
XWIKI-25197 Allow wiki macro parameters to declare a range or a format for their value
-
- Open
-