Concept for custom java interaction
Posted: Thu Nov 26, 2020 4:57 pm
Hi,
I'm using quite some custom implementations of AuthorOperationWithResult to be called by the ActionsManager form the js code.
The documentation of ActionsManager.invokeOperation() claims that on an exception the user will see an error message. Actually this doesn't happen for me. I find the exception i nthe server log but on the client side I get error and result both as null.
So how do I more complex results to the client without parsing a string? For instance a list of objects (in my case a list of key-value-pairs) or an error message?
Thanks and regards,
Patrik
I'm using quite some custom implementations of AuthorOperationWithResult to be called by the ActionsManager form the js code.
The documentation of ActionsManager.invokeOperation() claims that on an exception the user will see an error message. Actually this doesn't happen for me. I find the exception i nthe server log but on the client side I get error and result both as null.
So how do I more complex results to the client without parsing a string? For instance a list of objects (in my case a list of key-value-pairs) or an error message?
Thanks and regards,
Patrik