This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-55e63b9d-3f8c-4657-ae65-67608c2a03ef XWIKI-23045 Open

Allow to define a provider of values for a macro parameter

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-67783a1e-0173-4e55-ac5e-b441d676091f Simon Urli created this issue on 26/Mar/25 17:54
 
Summary: Allow to define a provider of values for a macro parameter
Issue Type: cid:jira-generated-image-avatar-55e63b9d-3f8c-4657-ae65-67608c2a03ef Improvement
Affects Versions: 16.10.5
Assignee: Unassigned
Components: Rendering - XWiki
Created: 26/Mar/25 17:54
Priority: cid:jira-generated-image-static-major-4563bb6b-1d22-4011-881c-520866f5714e Major
Reporter: Simon Urli
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.

 
 

1 update

 
cid:jira-generated-image-avatar-67783a1e-0173-4e55-ac5e-b441d676091f Changes by Simon Urli on 26/Mar/25 17:54
 
Assignee: Simon Urli