How can I send a pop-up message directly from Java into a running mendix application as the below code is deprecated from mendix lib (com.mendix.webui.Custom Java Action.add Text Message Feedback public Boolean executeAction() throws Exception { this.addTextMessageFeedback(MessageType.ERROR, "hoi", true); return true; }
asked
Vijayakumar Gade
2 answers
3
Use the IFeedback class as this is stated in the deprecation message.
What you can also do is throw an exception with a nice message and then show this message to the user from the microflow where the java action is used.