on 11-11-2008 5:18 AM
Hi,
I'm currently using Pop ups to show a new view when a user presses a button on the main view. My problem is that when the pop up view generates an error message, it uses the main view's message area to show the error.
How do I code the error message in such a way that the error will be shown on the pop up view instead of the main view?
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Make sure that MessageArea Ui elements Readonly property is set to true,And only one Message area is enable at the same time.
Correction:
Context attributes readonly Property should be set to true
which are being used for enabling and disabling MsgArea.
Siddharth
Edited by: Siddharth Jain on Nov 11, 2008 8:45 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
You can also the try the following way :
Use a image (for warning ,erros icons..) with a text view in the view which is popped..
Set its visibility to true when u wnat the error/warning/exception to be displayed set the text view with the correspoding error message.
Thanks
Ritushree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Try the following approach and see if it works.
create two context value attribute of type boolean and bind the enable property of both the message area to both the context.
in the wdDoInit method set one message area enable property as true,for other keep it false.
Now depending on the error message nature enble the respective Message Area and disable the other one.Before reporting the exception.
make sure that both message areas should not be enable at the same time.
Thanx.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Angelo,
In a prticular application, in an active View Window, there can be only 1 message area.
When you open the Pop-Up Window, u need to have only 1 enabled Message Area on the Pop-up View.
Hence, following can be done:
1. Create Message Area UI element in the Main view and one in the Pop-up view.
2. When you open the new pop-up window, disable the Main View Message Area.
3. Finally, When you Destroy / close the Pop-up window, Enable the Main view Message Area.
Regards,
Alka.
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.
Hi,
try the below process,
in pop up view use the MessageArea Ui element ?
Regards,
ramesh
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 | |
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.