This issue has been created
 
 
XWiki Platform / cid:jira-generated-image-avatar-80226bbe-932a-4817-b3d8-23caaf162f01 XWIKI-25416 Open

Add extension point for custom node type in document tree macro

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-71cf4027-9770-4d75-8362-2fc0b8a0c7ab Josué Tille created this issue on 20/Oct/26 09:13
 
Summary: Add extension point for custom node type in document tree macro
Issue Type: cid:jira-generated-image-avatar-80226bbe-932a-4817-b3d8-23caaf162f01 Improvement
Affects Versions: 17.10.13
Assignee: Unassigned
Components: Tree
Created: 20/Oct/26 09:13
Priority: cid:jira-generated-image-static-major-525001e4-d11f-4e3c-8057-a3e391616a0c Major
Reporter: Josué Tille
Description:

Before XWIKI-24216, it was possible to add custom node type, so with the macro #maybeAddNode it was possible to handle custom type. So $nodeType could be custom and then the custom usage just needed to provide a custom macro for #maybeAdd<costom name>Node.

Now it's not possible any more because the type of node is hard coded. So this issue is to introduce an extension point in a way to restore this feature.

Note: XWiki SAS is using this for the procedure Flavor.