so i've almost got this feature added, but i'm running into an issue with javascript.
i want to invoke a url and then close the window. this is my javascript:


   protected String getOnClickScript(String url)
   {
       return "self.location.href = " + url + "; self.close()";
   }

but the self.close() never happens. how do i invoke the url and then close the window??

-------- Original Message --------
Subject: [ wicket-Feature Requests-1182728 ] Provide a close button for popup windows
Date: Thu, 14 Apr 2005 19:52:13 -0700
From: SourceForge.net <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]




Feature Requests item #1182728, was opened at 2005-04-13 22:24
Message generated for change (Comment added) made by jonathanlocke
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1182728&group_id=119783


Category: all projects
Group: 1.1
Status: Open
Priority: 5
Submitted By: Ari Suutari (arisuu)
Assigned to: Nobody/Anonymous (nobody)
Summary: Provide a close button for popup windows

Initial Comment:
Provide a Button (and/or Link) which can be used to
close popup pages and any necessary cleanup during close.

----------------------------------------------------------------------

Comment By: Jonathan Locke (jonathanlocke)
Date: 2005-04-14 19:52

Message:
Logged In: YES user_id=486414


i think this should always be a link.  buttons are really
form components and ought to reside in a form.  there may or
may not be a form in a given popup.

----------------------------------------------------------------------

You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1182728&group_id=119783




------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to