instead of /admin/tool/_/widgets/com.enonic.app.guillotine/guillotine there should be
/admin/tool/com.enonic.app.contentstudio/main/_/widget/com.enonic.app.guillotine/guillotine
For this API Dispatcher should allow to register dynamic APIs via Java (ApiHandler interface)
And com.enonic.xp.admin-impl module should register an API with Component properties app-name = widget and no api-name
WidgetHandler code is basically reused with some minimal changes
instead of
/admin/tool/_/widgets/com.enonic.app.guillotine/guillotine
there should be/admin/tool/com.enonic.app.contentstudio/main/_/widget/com.enonic.app.guillotine/guillotine
For this API Dispatcher should allow to register dynamic APIs via Java (
ApiHandler
interface) Andcom.enonic.xp.admin-impl
module should register an API withComponent
propertiesapp-name = widget
and no api-nameWidgetHandler
code is basically reused with some minimal changes