on 01-30-2007 12:49 PM
Hi
I want to show the Exception Details in Text Area
So please let me know how to acivhe this in Web dyn pro application
mmukesh
Hi ,
I guess it is TextView instead on TearView
create a context attribute ..(errorMsg)
try{
statements 1;
State,emt 2;
}catch(Exception e){
wdContext.currentConetxtElement.setErrormsg(e.getMessage);
e.printStackTrace();
}
bind the text property of the textview with the conetxt Attribute ErrrMsg
Regards
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 have a <b>message area</b> UI element which you can use to show the exception at particular place in your application or do as what mathew says.
regards,
Gopi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
create a context attribute..bind this with textEdit
Set the context attribute when you get the execption
Regards
AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mathew
Thanks for your reply
Here is my requirement
try{
statements 1;
State,emt 2;
}catch(Exception e){
e.printStackTrace();
}
here e.printStackTrace(); will print the error messages.
so these error messages i want to show in a TearView UI element.
so please let me know the procedure and if possible code .
regards
mmukesh
User | Count |
---|---|
88 | |
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.