Skip to Content
author's profile photo Former Member
Former Member

Message Area

Hi everybody!

I have different Web Dynpro components. On each of them I have an own message area. My problem is that when ever I switch to another Component the messages are printed always on the same message area. How can I set the correct message area? In the wdComponentAPI, there is only a get Method but not a set Method.

How can I do that?

Thanks for your answer in advance ....

Bye Markus

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2004 at 04:21 PM

    Hi Markus,

    The get method of wdComponentAPI is for getting the message manager. Probably to code your requirement there are several way. Choose the one which suits you

    1.Set the cancelNavigation to "true" in your report or raise message method.

    2. Destroy the first Component before navigating to the second Component.

    3. Set the message manager UI element of the other component to be invisible


    Thanks and Regards,

    Sam Mathew

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Markus,

      please have a look at the IWDMessageArea API. Context binding is only possible by using read only context attributes (enabled and visible). If they aren't read only, i guess, the values contained in the attributes are simply ignored.

      Hope that helps (even if it doesn't help you out ;).



      PS: BTW, maybe it works if you use a read only calculated value attribute. The getter method could examine and return the content of a writable alternative attribute. Give it a try.

      Message was edited by: Stefan Klensch

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.