on 06-06-2007 11:28 AM
Can we have two message area UI controls in the same view (one at the Top and the other at the bottom section) and ensure that the messages are displayed at both places?
Requirement reason:The View is a very big form which the user has to fill in, and the messages need to displayed at the top and bottom section of the screen so that the user does not have to scroll and can see the messages at both places.
Currently, the message is displayed at the first (top) message area and not the bottom message area.
Thanks,
Hai,
you can focus the Message Area UI element for those big screens.
view.getElement("MessageArea").requestFocus();
create a context attribute is Focus of type boolean.
like in Exception block
{
wdComponentAPI.getMessageManager.reportException("some Statement",false);
wdContext.currentContextElement.setIsFocus(true);
}
in
wdDOModify(){
if(wdContext.currentContextElement.getIsFocus()){
view.getElement("MessageArea").requestFocus();
wdContext.currentContextElement.setIsFocus(false);
}
}
Like this you can manage Big screens for Messages.
Regards,
Naga
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. Looking at the help docs:
<b>If there is more than one suitable IWDMessageArea instance, the first instance created is used.</b>
So only one messagearea can be used.
Regards,
Satyajit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.