Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9730

Re: Web Dynpro Error Messages

$
0
0

Hi Deepankar,

 

I guess putting all the validations in WDDOBEFOREACTION is okay if I have few views and fields.

But I have a lot.

I cannot do all my validations in WDDOBEFOREACTION.

It is important that I do my validation in ONACTION events on each fields.

So that when the user hits enter or click a dropdown list or click a checkbox, the error would then be raised right away if there's any.

Because I have so many tabs and dropdowns and checkbox and validations on enter, WDDOBEFOREACTION will get triggered so many times.

 

I can't activate is_permanent also because it sometimes prevents the user in doing any action. I have fields that are dependent on the fields from other tabs.

 

Is there no other way to catch the errors when the user clicks the button?

I noticed that I can only read the messages in WDDOBEFORENAVIGATION and not in any other places, but this WDDOBEFORENAVIGATION is executed after ONACTION event of the button. My processing is already executed before I had the chance to read the error.

 

Please advice.


Viewing all articles
Browse latest Browse all 9730