on 03-28-2012 10:09 PM
Hi,
we have requirement in our project, we are using message area on top of the screen, we need to focus(take to ) the message area if there are any error on the screen.
the screen is very long screen , user wants to look at the error rmessage immediately if there any any errors on the screen.
Could you please help me how to highlight the message area?
Thanks & Regards,
Veeru.
Maybe you can try this in wdDoModifyView
if(! wdComponentAPI.getMessageManager().isEmpty())
view.getElement("MessageArea").requestFocus();
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, As i know there is no direct solution for this. Follow this work around,
1. Create an input field with width = 0px and bind an attribute say Va_MessageFocus.
2. In wdDoModifyView( ) method place the below code.
if(!wdComponentAPI.getMessageManager().isEmpty()){ wdThis.wdGetAPI().requestFocus(wdContext.currentContextElement(), wdContext.getNodeInfo().getAttribute(wdContext.currentContextElement().VA__MESSAGE_FOCUS));
}
Regards,
Vishweshwara P.K.M.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
My problem is solved partially.It is working when web dynpro view will be accessed directly from Portal.
it is not working when web dynpro view is accessed from BPM UWL task. BPM framework is ignoring the message area that is part of web dynpro view
is there any way to highlight the message area that is part of BPM task?any workaround also appricated
Thanks & Regards,
Veeru
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.