Hi,

I want my action button to produce some JSON and send it back to the
browser where I will use this data to update a custom component.

Looking at
https://github.com/apache/isis/blob/master/component/viewer/wicket/ui/src/main/java/org/apache/isis/viewer/wicket/ui/components/widgets/cssmenu/ActionLinkFactoryAbstract.java#L168
I see there are two special cases covered:
- redirect when the result is java.net.URL
- download when the result is Lob

What is needed to achieve my goal ?
Is there a way to plug a special handler for a custom result type ?
Or I need to add the new type to org.apache.isis.applib.value package
and extend the code in ALFA ?


Martin Grigorov
Wicket Training and Consulting
https://twitter.com/mtgrigorov

Reply via email to