on 10-07-2009 6:31 AM
Dear All,
I want to run some validations while saving data through form and while user add data in forms. Can it possible that the all validation messages shows in a popup dialog/window when i submit the view to save data. plz help.
thks all
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Apart from the previous reply ,Optimum solution for this is create a dedicated view and window ,define one method in Component Controller with String and IWDWindow parameter (which take care of LifeSpan of dialog window and Messages including validation feild) and called it throughout the component.So just pass the validation message which will change in each case remaining things will same
[For further help|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903fed0d-7be4-2a10-cd96-9136707374e1]
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it's possible for you to validate the field after entering values and before submition of form.
Even you can open one exrternal window with the help of IWDWindow and pass error parameter which you can display.
IWDWindow window = wdComponentAPI.getWindowManager().createModalWindow(windowInfo);
window.setWindowPosition (300, 150);
window.show();
In Web Dynpro java you can validate the field viause node's attirbure value attached to it and display error msg using MessageManager and you can use message pool too.
You can use this link for more help:-http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20d2def3-f0ec-2a10-6b80-877a71eccb68&overridelayout=true
Deepak!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.