on 03-18-2015 11:46 PM
Hi experts,
After selecting an entry in an OVS I need to do a check with the selected value.
To do this, in the custom controller I create a class that implements IWDOVSContextNotificationListener and do my check in the method applyResult.
In case the check fails, I would like to:
1 - prompt an error message in a modal dialog and
2- navigate to another view.
How can I achieve this ?
thanks in advance
Filippo
You could set an onChange event on your input field. There you could check the value and open a popup / navigate to another view. I would not do that in the applyResult. I assume you know how to create popups and do navigation in wd4j.
Regards,
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Filippo,
your OVS has to be bound to a InputField and the value changes when you apply your OVS-Result. So then the onChange of the InputField should be triggered and you could do your checks there. Haven't tryed it but i think it should work this way. Maybe just give it a try,
Regards,
Tobias
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.