Thanks all for your Quick reply.
František, I have override 'handleException()' method in
Application.java and return the message to a ModalPageWrapper. It
works, but when I'm passing a map with clientPanel as true, message is
displayed in a white page, not in a Popup. Could you please check my
code.
Application.java
----------------------------
public AWComponent handleException(AWRequestContext requestContext,
Exception exception) {
Map pageMap =new HashMap();
pageMap.put("clientPanel",true);
pageMap.put("message", "Problem Found !");
return requestContext.pageWithName("app.MyErrorPage",pageMap);
}
MyErrorPage.awl
---------------------------
<w:ModalPageWrapper title="Error Message" preventBackTrack="$false">
<b>$message</b>
</w:ModalPageWrapper>
Regards,
Jerry
On Apr 26, 11:00 am, František Kolář <
franti...@kolar.pro> wrote:
> Hi Jerry,
>
> What you can do as a first thing:
>
> 1) go to AWComponentActionRequestHandler.AWResponse handleRequest (AWRequest request) and maybe put a breakpoint into the each exception in there .
> 2) I think there is a exception in the rendering phase(maybe in others too). Cuz there is a javascript that is parsing incomming request and expecting specific tag from server side to come. When it missing you get this red popup.
>
> 3) Then once you localize: Check out handleException(), handleExceptionPage in your web application class to override it and put in better exception handling and maybe show your own error page or popup.
>
> I hope it will help,
>
> Regards
>
> František Kolář
>
> On Apr 26, 2013, at 6:48 AM, James Sebastian <
james.sebast...@gmail.com> wrote:
>
>
>
>
>
>
>
> > Dear Jerry,
>
> > Is your network in good shape ? If the network is congested (say due to virus infection or real busy network or bad wiring), the response from client side can be slow and can cause such problems.
>
> > I do not know if there is any way to improve them. May be more experienced in the list can comment on that.
>
> > Regards,
> > James
>
> > On 26 April 2013 10:15, Jerry Joy <
jerryjo...@gmail.com> wrote:
> > Hi All,
>
> > I'm not using any client side script in my AW web application. But
> > sometime it shows "Bad XMLHTTP Incremental Refresh Response" error.
>
> > Can anyone help me to avoid this.
>
> > Thanks in advance,
> > Jerry
>
> > --
> > You received this message because you are subscribed to the Google Groups "AribaWeb (
aribaweb.org)" group.
> > To unsubscribe from this group and stop receiving emails from it, send an email to
aribaweb+u...@googlegroups.com.
> > To post to this group, send email to
arib...@googlegroups.com.
> > Visit this group athttp://
groups.google.com/group/aribaweb?hl=en.
> > For more options, visithttps://
groups.google.com/groups/opt_out.