on 10-25-2005 12:04 PM
Hi All,
I am getting problem in confirmation dialog like this:
I had written a Method for Validation Check, so variou if else is there
public void dovalidation()
{
if (x<y)
{
Popup dialog1
}
if (i<j)
{
popup dialog2
}
if(m<n)
{
popup dialog3
}
-
-
---
}
If all the condion are true, I am getting only the last dialog, here like dialog3, and after passing its event handler I am seeing on more dialog with no message no event handler button.
What I am trying is that if condition 1 is true it will popup dialog 1 , other should not get processed.
Pl. suggest.
Regards,
Prakash
My advice is not to use a confirmation dialog at all for signaling failed validation checks.
Web Dynpro provides the IWDMessageManager API and automatic focussing of the UI element where the validation failed.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prakash,
Visit this <a href="http://help.sap.com/saphelp_erp2004/helpdata/en/99/34be5f4ee2974a8e7e127c4aeacd9b/frameset.htm">link</a> .
Here steps are given to create a simple application which
uses an input form and do some validations. Use of
IWDMessageManager API is also explained.
Hope it helps.
Regards,
Narinder Hartala
Hi Prakash,
Try adding <b>return</b>statement in each if processing
block. If one block is prpcessed after that function
will return no other if will be processed.
hope it helps.
regards,
Narinder Hartala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.