The first javascript api that comes to my mind is the onclick method, you
can add on your page an Link component, with all PopupSettings of your need.
Then you send to browser some javascript like:
Wicket.$('linkmarkupid').onclick

On Thu, Jul 29, 2010 at 5:23 PM, Stefan Lindner <lind...@visionet.de> wrote:

> Dear Pedro,
>
> thank you! Do you have any code snipplet or just a function name for
> google?
>
> Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Pedro Santos [mailto:pedros...@gmail.com]
> Gesendet: Donnerstag, 29. Juli 2010 22:21
> An: users@wicket.apache.org
> Betreff: Re: DropDownChoice for opening a new Window
>
> Yes, use javascript to reach that functionality. For instance, you can add
> an AjaxFormComponentUpdatingBehavior for the onchange event of your
> DropDownChoice. At the onUpdate method implementation, you can append the
> needed javascript to open your new window.
>
> On Thu, Jul 29, 2010 at 4:58 PM, Stefan Lindner <lind...@visionet.de>
> wrote:
>
> > Is it possible to have a DropDownChoice that responds to a new window
> > when selected? What I mean is
> >
> >        new DropDownChoice<T>(...) {
> >                protected void onSelectionChanged(Integer newSelection)
> > {
> >                        // Send response to a new open window as if
> > clicket to a Link with PopupSettings
> >                }
> >        }
> >
> > Stefan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> > For additional commands, e-mail: users-h...@wicket.apache.org
> >
> >
>
>
> --
> Pedro Henrique Oliveira dos Santos
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Pedro Henrique Oliveira dos Santos

Reply via email to