I was following the admin-form configuration tutorial from https://developer.atlassian.com/server/framework/atlassian-sdk/creating-an-admin-configuration-form/ to create a admin form for my Confluence addon and am facing some issues now. It compiles, the form shows,… works so far. However I am unable to retrieve or save the data.
I think this is due to the fact the button in the admin.vm view is a simple submit button which triggers the following servlet url when pressed: …/xproduct/admin?name=foo&time=1 but the REST service for retrieval is under /xproduct-admin/1.0/
Or are there some good real-live addons with source code available somewhere? I would also like to inspect some, but they are difficult to find.