You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Prengaman.Karen" <Ka...@IGT.com> on 2001/12/04 20:00:26 UTC

RE: Seeking Know-How Advice: How Do I Implement Pop-up Error Wind ows With Struts

I wrote my own "errors" custom tag that sends back the javascript to display
the error in a popup window rather than the html sent back by the struts
error tag.  It still uses the ActionErrors that the struts error tag uses,
so none of your other code has to change.

-Karen

-----Original Message-----
From: Matt Raible [mailto:matt_raible@yahoo.com]
Sent: Monday, December 03, 2001 7:18 PM
To: Struts Users Mailing List
Subject: Re: Seeking Know-How Advice: How Do I Implement Pop-up Error
Windows With Struts


Tough to do - the only solution (work around) I can think of is to have your
error page pop up a new window using javascript - but no real way to tell
the
backend "when you throw an exception, open a new window and display an
error". 
You can only tell the backend to "go to this error page when you throw an
exception".

Matt

--- "Esterkin, Alex" <Al...@FMR.COM> wrote:
> I need to make my error pages displayed in a separate window.   The
> application uses frames.   What Struts mechanism or configuration
> element/attribute can I use to implement target="_blank" functionality for
> error pages?
> 
> Thanks.
> 
> ----------------
>    Alex Esterkin 
>  
> =============================================================
> 	
> 
> 
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Seeking Know-How Advice: How Do I Implement Pop-up Error Windows With Struts

Posted by Thinh Doan <td...@twjconsulting.com>.
Adam S. Grohs had also contributed source code in the past to implement this
sort of things.  Pls check-out archive.

Thinh

-----Original Message-----
From: Prengaman.Karen [mailto:Karen.Prengaman@IGT.com]
Sent: Tuesday, December 04, 2001 1:00 PM
To: 'Struts Users Mailing List'
Subject: RE: Seeking Know-How Advice: How Do I Implement Pop-up Error
Windows With Struts


I wrote my own "errors" custom tag that sends back the javascript to display
the error in a popup window rather than the html sent back by the struts
error tag.  It still uses the ActionErrors that the struts error tag uses,
so none of your other code has to change.

-Karen

-----Original Message-----
From: Matt Raible [mailto:matt_raible@yahoo.com]
Sent: Monday, December 03, 2001 7:18 PM
To: Struts Users Mailing List
Subject: Re: Seeking Know-How Advice: How Do I Implement Pop-up Error
Windows With Struts


Tough to do - the only solution (work around) I can think of is to have your
error page pop up a new window using javascript - but no real way to tell
the
backend "when you throw an exception, open a new window and display an
error".
You can only tell the backend to "go to this error page when you throw an
exception".

Matt

--- "Esterkin, Alex" <Al...@FMR.COM> wrote:
> I need to make my error pages displayed in a separate window.   The
> application uses frames.   What Struts mechanism or configuration
> element/attribute can I use to implement target="_blank" functionality for
> error pages?
>
> Thanks.
>
> ----------------
>    Alex Esterkin
>
> =============================================================
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Buy the perfect holiday gifts at Yahoo! Shopping.
http://shopping.yahoo.com

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>