How occur error messages when don't type data in required inputfield?
I create 6 inputfields in the view(main_view) in Webdynpro for java application.
I have set 5 inputfield to required state, and I can see red "*" beside left in these 5 inputfields.
My problem is:
I need occur 5 error messages in the page if I don't type data in these required inputfields when I click a button to other page.
I need use the following code in Webdynpro for abap for resoling, But I don't know how to do the same thing in Webdynpro for java.
view_controller = wd_this->m_view
display_messages = abap_true
messages = messages
How can I do it? Do you give me some hint?
Thanks a lot.
You may refer [this|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/837d9290-0201-0010-1381-e633fe17cb14] tutorial. All please read the [IWDMessageManager|https://media.sdn.sap.com/html/submitted_docs/60_sp2_javadocs/webdynpro/com/sap/tc/webdynpro/progmodel/api/IWDMessageManager.html] API.