Search found 103 matches

Go to advanced search

by Robert Larsen
Tue Nov 19, 2013 5:01 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

Ok, tried writing that on service complete event and that did not work. Do I need to write that code to a local variable, or somewhere else?

by Robert Larsen
Tue Nov 19, 2013 3:56 am
Forum: Issues
Topic: Java to round to nearest number.
Replies: 6
Views: 539
 
Jump to post

Java to round to nearest number.

I tried that didn't work

by Robert Larsen
Tue Nov 19, 2013 3:40 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

Could you show me how to write the code?

by Robert Larsen
Tue Nov 19, 2013 3:15 am
Forum: Issues
Topic: Java to round to nearest number.
Replies: 6
Views: 539
 
Jump to post

Java to round to nearest number.

My Service Call gives me a decimal number 1.2073544433094996, i then map it to a label. Is there any java I can add to change it to 1.2 or round to closest number?

by Robert Larsen
Tue Nov 19, 2013 2:40 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

so would I write (response text error not found) in the java?

by Robert Larsen
Tue Nov 19, 2013 1:21 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

I kinda see what you are saying could you provide me with a little bit more detailed steps. I understand what you are saying about the mapping and service success. I added the code you provided to complete event. Here is what I get in console, when I invoke the error with the provided code. I apolog...
by Robert Larsen
Mon Nov 18, 2013 5:34 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

I dont think im writing the code properly, would i leave this code and add it to the end? Because no matter how I write the jqXHR the page never loads with it in the java. var errorText = localStorage.getItem('notFound') ; if(errorText != ""){ localStorage.removeItem('notFound'); alert(err...
by Robert Larsen
Mon Nov 18, 2013 4:55 am
Forum: Issues
Topic: Display service response error message on application as an alert.
Replies: 41
Views: 4052
 
Jump to post

Display service response error message on application as an alert.

Im confused.... If I invoke the service properly I get the data I want. This notFound error is the error I want to invoke in this case, but I want to display this error to the user. But I have been able to display an error box now but the error box is either blank or displays null.

Go to advanced search