on 03-25-2008 5:26 AM
Hi.
I have a UI elemnt Message area at the top of my view .I get messages from backend.But the problem is my message area doesnot show messages while messages are showed at the bottom of the view everytime .These are the properties of the UI element
enabled Subs_Profile.messageArea
maxVisibleMessages 0
Could any one please help me to get the messages in the message area and not at the bottom by default
Thankxs& regards
varsha
Hi Varsha,
Problem seems to be that the message area on your view is NOT linked to the Message Area object that you are using to report the error.
what you need to do is in method wddomodify of the VIEW that has message area UI element add few lines of codes
assume the name of the message area on the view is MA_MSG
method WDDOMODIFYVIEW .
DATA:
lr_msg type ref to CL_WDR_MESSAGE_AREA
lr_msg ?= view->GET_ELEMENT('MA_MSG').
* use the method of you message area object to report error
endmethod.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
I tried changing the maxVisibleMessages to 5 also my enabled property is set true but still the messages are not coming in the message area they are coming on bottom of the view .can anyone please help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Varsha,
Problem seems to be that the message area on your view is NOT linked to the Message Area object that you are using to report the error.
what you need to do is in method wddomodify of the VIEW that has message area UI element add few lines of codes
assume the name of the message area on the view is MA_MSG
method WDDOMODIFYVIEW .
DATA:
lr_msg type ref to CL_WDR_MESSAGE_AREA
lr_msg ?= view->GET_ELEMENT('MA_MSG').
* use the method of you message area object to report error
endmethod.
Hi,
Well then it should work. Just one more check:
enabled Subs_Profile.messageArea, here enabled property is maaped to an attribute messageArea. Just check if it is true or not.
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What is the visible property of your messageArea UI?
thanks & regards,
Manoj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi 😃
1.- Set that MAXvisiblemessages to 4 or 5.
2.- How are you "reporting" those messages to the messageManager?
Regards!
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 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.