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="close">close</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

Reply via email to