Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
clicked.   -- Karl From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor VaynbergSent: Tuesday, October 17, 2006 4:53 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax erm, the problem is the url - if the page is not bookmarkable you cannot create

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
7, 2006 7:23 AM To: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax this has nothing to do with popup settings. if you have a bookmarkable page - which looks like you do because you are using that urlfor variant you must provide either the

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
see anything quite as simple as urlFor(...) that takes a reference to a Page.   -- Karl From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor VaynbergSent: Tuesday, October 17, 2006 7:23 AMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax this

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Igor VaynbergSent: Tuesday, October 17, 2006 7:23 AMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax this has nothing to do with popup settings. if you have a bookmarkable page - which looks like you do

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
simple as urlFor(...) that takes a reference to a Page.   -- Karl From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor VaynbergSent: Tuesday, October 17, 2006 7:23 AMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax this has nothing to do with popu

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Igor Vaynberg
TED]] On Behalf Of Igor VaynbergSent: Monday, October 16, 2006 9:16 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax you are kinda abusing popup settings class, its not meant to generate _javascript_ for that usecase. the problem is that "return f

Re: [Wicket-user] Open Popup via Ajax

2006-10-17 Thread Karl M. Davis
n abusing PopupSettings like this, perhaps?   -- Karl From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor VaynbergSent: Monday, October 16, 2006 9:16 PMTo: wicket-user@lists.sourceforge.netSubject: Re: [Wicket-user] Open Popup via Ajax you are kinda abusing popup setting

Re: [Wicket-user] Open Popup via Ajax

2006-10-16 Thread Igor Vaynberg
you are kinda abusing popup settings class, its not meant to generate _javascript_ for that usecase. the problem is that "return false;" in the js it generates which is mean to abort he current click event. you def dont need ajax to do this, try whats belowprivate static class DoubleClickEditorBeha

[Wicket-user] Open Popup via Ajax

2006-10-16 Thread Karl M. Davis
Hello all,   What I'm trying to do is have a Label that I can double click to open a popup window.  I don't really care if it's Ajax or static _javascript_, I just need it to work.  However, Ajax seemed easiest so I've added the following Ajax behavior to a Label:   <<  private static class