Community Tip - You can change your system assigned username to something more personal in your community settings. X
As per the original post.
Hello @HelesicPetr,
I have a table that I am calling directly from a jsp file:
<div id="mvcTable">
<mvc:tableContainer compId="com.ml.util.testUserTable" height="800"/>
</div>
The table automatically brings back a list of users. The users are selected by checkbox and then I have a custom action that allows action on the selected users from the Actions menu.
I'd like to implement an inline message that gives information once the custom action completes. I would normally do this from the jsp file but the custom action is not accessed from there. Any thoughts on how to accomplish this?
Solved! Go to Solution.
Hi @tspain
It depends on your action..
Usually the action is placed in the table action menu for the table and the action use nmCommandBean as a input and returns FormResult
How do you perform your action?
PS: open a new thread with this question
PetrH
Hi @tspain
Your function called on the table should return a FormResult, where you define the feedbackMessage
FormResult result = new FormResult();
result.addFeedbackMessage();
PetrH
Hi @HelesicPetr, thank you for your response.
I am building my table from the examples given in:
https://dev.ml/Windchill/app/#netmarkets/jsp/componentCatalog/tableComponent.jsp
The only returns I currently have are:
ComponentConfig buildComponentConfig
Object buildComponentData
Not sure how to return a FormResult. Do I need a seperate method and then do I call it from my jsp file?
Hi @tspain
It depends on your action..
Usually the action is placed in the table action menu for the table and the action use nmCommandBean as a input and returns FormResult
How do you perform your action?
PS: open a new thread with this question
PetrH
Hello @HelesicPetr,
After reviewing all of your input, I was able to get things working. I returned a FormResult from my action class as you suggested. Thank you very much for your input.