on 03-27-2006 5:24 AM
Hi guys,
If I report some message by this way:
IWDMessageManager manager = wdComponentAPI.getMessageManager();
manager.reportSuccess("some text");
The message will show in the bottom of the iview. My question is how to show the message in the top of the iview.
Thank you very much!
Regards,
Xiaoming Yang
Hi Xiaoming,
This will depend on your application.
If you have only one view in your application you can have a message area in the view at the location in which you want to display the message.
However if you have multiple views in your application and you navigate to different views then the above option will not work. This is becuase messages will only be displayed in the message area(ofcourse inside some view) thats loaded first in the memory.
So now you will have two options
1) Define a viewset having two areas(top and bottom, 2 row 1 columns). In the top area have a view that only contains a message area UI element. In the bottom area, embed all the views that you will be navigating to in your application.
2) Create the message area dynamically on the view thats being displayed at a particular time. Read my earlier replies on this topic.
If any problem in understanding, do let me know and I will help you.
Thanks & Regards,
Shubham
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
U can use the UI element "MessageArea" for displaying the messages.
Hope this helps.
Regards,
Rathna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.