on 12-08-2005 3:31 PM
Hi
We want to display error messages at the bottom of the screen.The messages are not being displayed in the bottom of the screen. They are displayed immediately after the transparent container. We have tried using a message area and position it to the bottom. but we still face the problem.
Any suggestions?
jamila
Jamila,
Messages by default displayed right below all content. So may either insert a placeholder (invisible element) to shift messages. Also you may use MessageArea UI pattern to place messages at any position.
Currently it is impossible to display messages at the very bottom of screen (you cannot calculate this position). This functionality was available in SP4 or SP5 but then discontinued.
VS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Well you can do the following. This is one way where you can avoid display of message problems :).
Dont worry about displaying messages at the bottom. You can display the messages of the respective popups in the same window.
Follow the steps
Define explicit message areas on each of the views.
Well before that the thing you will have to do is create a boolean context attribute in the view context and have the read-only property of that attribute to true.
Then bind this attribute to the enabled property of the explicit message areas defined in the views. When you want to display messages in the Left view enable the message area at runtime.
When you want to display messages in the Table View enable that message area and disable the remaining message areas. Do this as per your requirement.
This is the only way you can do it. We are doing it for multiple popups and it works.The maximum popups we have in our scenario is upto 3 levels. So i guess for any level of popups we should be able to display the messages in that respective window in this way.
let me know if that helps you.
regards
ravi
Hi,
You can always use a image (for warning ,erros icons..)..plus a text view.. in the view.. which is popped..
Set its visibility to true when u wnat the rror to be displayed.. set the text view with the correspoding error message..
Tsis is another way ..:) You already have one solution.. from the previous answer..
Regards
Bharathwaj
Hi jamila,
Have you created the message UI element .. How many messaged is it capable of displaying..
Creating a message UI element and positioning it should put all the message in theis area..
Is the message area not coming in the bottom of the screen or the error is not displayed in the message area,,
U r using message manager to display error right ..
(Wow.. 4 answers at the same time.. )
Regards
Bharathwaj
Message was edited by: Bharathwaj R
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jamila,
If u want to display msg down give this following code .
For success msg:
wdComponentAPI.getMessageManager.reportSuccess("Successful");
For exceptions:
wdComponentAPI.getMessageManager.raiseException("Exception" +e,true);
Similarly u have all type msg displays.
This should solve ur problem.
Regards,
Nagarajan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
It is not possible to display the messages at the bottom. When you say at the bottom of the transparent container are you refering to the RootUIElement Container.
Anyways changing the height and width also not allow display of messages at the bottom.
regards
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.