cancel
Showing results for 
Search instead for 
Did you mean: 

reportInvalidContextAttributeException : Where to show the messages ?

Joseph_BERTHE
Active Contributor
0 Kudos

Hi all,

I want to repport an exception into an attribute, so I used this methode :

reportInvalidContextAttributeException()

But, the problems are :

1. How to disable the meassage on the bottom of the screen ?

2. How to make that message automatically open below the inputfield (without clicking on the field) ?

kind regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Did you try to call a suitable method of the IWDMessageManager API e.g. IWDMessageManager.reportInvalidContextAttributeException...

also go through this link..

http://help.sap.com/saphelp_nw04/helpdata/en/d1/1937e802d4ef4597fa14c48e66ca5d/frameset.htm

Joseph_BERTHE
Active Contributor
0 Kudos

Hi,

Thanks to reply.

But, as I said in my question, I'musing the methode reportInvalidContextAttributeException()

regards

Former Member
0 Kudos

Hi,

All the <i>reportInvalidContextAttributeException()</i> methods use the default <i>MessageArea</i> to display the messages. If you want to show the messages below the inputfields, then you should place <i>TextView</i> UI elements and change the <i>semanticColor</i> property of the UI element to "<i>negative</i>".

Regards,

Satyajit.