struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sudheshna aaa" <sudhes...@hotmail.com>
Subject RE: close the window if no errors
Date Thu, 22 Apr 2004 15:39:28 GMT
what should it be in the struts-config.xml corressponding to "done" to close 
the window?

Thank you.



>From: "Geeta Ramani" <gramani@terralink.com>
>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>To: "Struts Users Mailing List" <user@struts.apache.org>
>Subject: RE: close the window if no errors
>Date: Thu, 22 Apr 2004 11:08:22 -0400
>
>Yes you do! :)
>
>-----Original Message-----
>From: sudheshna aaa [mailto:sudheshna@hotmail.com]
>Sent: Thursday, April 22, 2004 11:14 AM
>To: user@struts.apache.org
>Subject: RE: close the window if no errors
>
>
>But if I use
>mapping.findForward( "done" ); screen is hanging
>
>Do I need to define "done" in struts-config.xml
>
>Thank you for your help.
>
>
> >From: "Nathan Ewing" <Nathan.Ewing@cbhk.com>
> >Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
> >To: "Struts Users Mailing List" <user@struts.apache.org>
> >Subject: RE: close the window if no errors
> >Date: Thu, 22 Apr 2004 10:40:09 -0400
> >
> >Just save like you normally would, and when it finishes do a "return
> >(mapping.findForward("done"));", which goes to a page with the following
> >as part of the html code:
> >
> ><body onLoad="javascript:self.close()">
> >
> >
> >Nathan
> >
> >-----Original Message-----
> >From: sudheshna aaa [mailto:sudheshna@hotmail.com]
> >Sent: Thursday, April 22, 2004 10:31 AM
> >To: user@struts.apache.org
> >Subject: close the window if no errors
> >
> >On the click of submit, I need to store the values in the database and
> >if
> >there are no errors,
> >I need to close the window.
> >
> >Do I need to use <logic:empty> tag to see if the errors are empty--->
> >then
> >close the window
> >
> >Can somebody provide me the code. Thank you in advance.
> >
> >_________________________________________________________________
> >FREE pop-up blocking with the new MSN Toolbar - get it now!
> >http://toolbar.msn.com/go/onm00200415ave/direct/01/
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >For additional commands, e-mail: user-help@struts.apache.org
> >
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >For additional commands, e-mail: user-help@struts.apache.org
> >
>
>_________________________________________________________________
>FREE pop-up blocking with the new MSN Toolbar - get it now!
>http://toolbar.msn.com/go/onm00200415ave/direct/01/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>

_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! 
http://join.msn.com/?pgmarket=en-us&page=hotmail/es2&ST=1/go/onm00200362ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message