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').onclickOn Thu, Jul 29, 2010 at 5:23 PM, Stefan Lindner <[email protected]> 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:[email protected]] > Gesendet: Donnerstag, 29. Juli 2010 22:21 > An: [email protected] > 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 <[email protected]> > 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: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > -- > Pedro Henrique Oliveira dos Santos > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Pedro Henrique Oliveira dos Santos
