struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geeta Ramani" <gram...@terralink.com>
Subject RE: close the window if no errors
Date Thu, 22 Apr 2004 15:37:46 GMT
Actually since you are going to close that window onLoad anyway, it wouldn't really matter
:), but in the interest of not scaring your users ;), you'd probably want to forward to the
"same page" they were on.  (Btw, according to Nathan's suggestion, the closing is done by
Javascript, so your notation in struts-config would not be that pertinent.. unless, you  have
the "done" point to mypage.jps?close=true and then the existence of the "close" paraneter
will be used to add the "<body onLoad="javascript:self.close()">" bit that Nathan suggested
below..

Geeta


> -----Original Message-----
> From: sudheshna aaa [mailto:sudheshna@hotmail.com]
> Sent: Thursday, April 22, 2004 11:39 AM
> To: user@struts.apache.org
> Subject: RE: close the window if no errors
> 
> 
> what should it be in the struts-config.xml corressponding to 
> "done" to close 
> the window?
> 
> Thank you.

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


Mime
View raw message