There is 1 comment.
 
 
XWiki Platform / cid:jira-generated-image-avatar-4c722006-adb0-442f-92ef-3f9f39729a43 XWIKI-16216 Open

Allow users to rebind the shortcuts from their user profile UI

 
View issue   ยท   Add comment
 

1 comment

 
cid:jira-generated-image-avatar-1ca38456-e5e8-4f83-965b-25b7b561d46d Charpentier Lucas on 13/Nov/24 17:54
 

Actually this last graph is completely off:
I misunderstood the example at https://github.com/xwiki-contrib/application-numbered-content/blob/0a7b85afa70f2e104aae6ea0b466aa93ab4f0f5b/application-numbered-content-headings/application-numbered-content-headings-ui/src/main/resources/NumberedHeadings/Code/ActivationUI.xml#L666-L675](https://github.com/xwiki-contrib/application-numbered-content/blob/0a7b85afa70f2e104aae6ea0b466aa93ab4f0f5b/application-numbered-content-headings/application-numbered-content-headings-ui/src/main/resources/NumberedHeadings/Code/ActivationUI.xml#L666-L675)

There is at most one input for creation and one input for deletion. Those set the query parameters `deletedObjects` and `addedObjects`. From what I understand, and this could very well just mess things up with the rest of the edit form.
For the actual implementation, `deletedObjects` is fine, but for addition, we should just handle inputs to non existing objects. It will create or update them depending on the needs. Those parameters are handled in the `EditForm.java` class. It made things way clearer for me to get a look in there.