Re: close button for a page

2009-06-02 Thread Martijn Dashorst
or:

button onclick=window.close() /

somewhere in your markup.

Martijn

On Tue, Jun 2, 2009 at 8:34 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 add(new webmarkupcontainer(close) { oncomponenttag(tag) {
 tag.put(onclick, window.close();); }});
 a wicket:id=closeclose/a

 -igor

 On Tue, Jun 2, 2009 at 11:18 AM, Eyal Golan egola...@gmail.com wrote:
 Hello,
 How do I make a button that will close a page.
 Not a Modal window, but a page that was opened using BookmarkablePageLink
 with PopupSettings.

 I've been searching for the solution without success.

 Thanks,


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really necessary


 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: close button for a page

2009-06-02 Thread Eyal Golan
hanks igor and martin


Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


On Tue, Jun 2, 2009 at 9:53 PM, Martijn Dashorst martijn.dasho...@gmail.com
 wrote:

 or:

 button onclick=window.close() /

 somewhere in your markup.

 Martijn

 On Tue, Jun 2, 2009 at 8:34 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  add(new webmarkupcontainer(close) { oncomponenttag(tag) {
  tag.put(onclick, window.close();); }});
  a wicket:id=closeclose/a
 
  -igor
 
  On Tue, Jun 2, 2009 at 11:18 AM, Eyal Golan egola...@gmail.com wrote:
  Hello,
  How do I make a button that will close a page.
  Not a Modal window, but a page that was opened using
 BookmarkablePageLink
  with PopupSettings.
 
  I've been searching for the solution without success.
 
  Thanks,
 
 
  Eyal Golan
  egola...@gmail.com
 
  Visit: http://jvdrums.sourceforge.net/
  LinkedIn: http://www.linkedin.com/in/egolan74
 
  P  Save a tree. Please don't print this e-mail unless it's really
 necessary
 
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.3.5 is released
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org