checked that you don't target="_blank" on that link. On Thu, Oct 27, 2016 at 2:40 PM, Pratibha <pratibha.pari...@gmail.com> wrote:
> Thank you that seems to be working but when i click on link it first opens > the same page in new tab and after that i can see modalWindow. > > So basically i end up with 2 same pages in 2 tabs one with modalwindow. > > confirmModal.add(new OpenWindowOnLoadBehavior()); > confirmModal.setContent(new > ComplaintModal(confirmModal.getContentId(),confirmModal,_form)); > > I need modalwindow to be opened in same page on button click. > > Thank you so much... > > > -- > View this message in context: http://apache-wicket.1842946. > n4.nabble.com/how-to-call-modal-window-on-link-tp4675882p4675913.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Regards - Ernesto Reinaldo Barreiro