You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Eyal Golan <eg...@gmail.com> on 2009/06/02 20:18:22 UTC

close button for a page

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
egolan74@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

Re: close button for a page

Posted by Eyal Golan <eg...@gmail.com>.
hanks igor and martin


Eyal Golan
egolan74@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.dashorst@gmail.com
> wrote:

> or:
>
> <button onclick="window.close()" />
>
> somewhere in your markup.
>
> Martijn
>
> On Tue, Jun 2, 2009 at 8:34 PM, Igor Vaynberg <ig...@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 <eg...@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
> >> egolan74@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-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: close button for a page

Posted by Martijn Dashorst <ma...@gmail.com>.
or:

<button onclick="window.close()" />

somewhere in your markup.

Martijn

On Tue, Jun 2, 2009 at 8:34 PM, Igor Vaynberg <ig...@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 <eg...@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
>> egolan74@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: close button for a page

Posted by Igor Vaynberg <ig...@gmail.com>.
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 <eg...@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
> egolan74@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org