Re: SSL Links and buttons

2010-10-24 Thread sonxurxo
Hi all. I've been dealing with this and I don't have a working solution yet. The problem that my previously posted solution had is that when the form validation fails, it falls into an infinite redirect loop. Playing with my custom HttpsRequestCycleProcessor all I have achieved is to make it redi

Re: sending ajax response part by part

2010-10-24 Thread Altuğ Bilgin Altıntaş
By the way this JS file does the same job : *** window.onload = initPage; function initPage() { /* on start up; assign checkUsername function to onblur */ document.getElementById("username").onblur = checkUsername; /* disable register

Re: sending ajax response part by part

2010-10-24 Thread Altuğ Bilgin Altıntaş
Thanks Martin; AjaxTimerBehavior doesn't tackle this issue I solved the issue by using IAjaxCallDecorator. Here is the code : final TextField username = new TextField("username", new Model()); username.setMarkupId("username"); username.setOutputMarkupId(true); form.add(u

Wicket dev oppty in Redwood City, CA

2010-10-24 Thread Nikita Tovstoles
Hi, folks: We're scrappy startup looking for a generalist dev; familiarity with Wicket a definite plus. Here's the req: http://bit.ly/dogOl0 Feel free to reply to me directly if interested. thanks, -nikita

Re: Fwd: Nested CompoundModel

2010-10-24 Thread Jan Ferko
I accidently sent it incomplete ... here is full code RepeatingView rp = new RepeatingView(); for(int i =0; i< n; i++){ WebMarkupContainer parent = new WebMarkupContainer(rp.newChildID()); rp.add(parent); MyPanelData data =new MyPanelData(); this.getModelObject.getList().add(data);

Re: Fwd: Nested CompoundModel

2010-10-24 Thread Jan Ferko
Thanks a lot, it worked great. I have one more question. I have to create same panel multiple times , based on user output into the form and i have list of panel data model object inside my form data object. Is it better to generate panels in page class and then passed list of panels into form con

Re: WiQuery Dialog when used with Ajax

2010-10-24 Thread Ernesto Reinaldo Barreiro
you can see the example in action here http://wiquery-plugins-demo.appspot.com/demo/?wicket:bookmarkablePage=:com.wiquery.plugins.demo.DialogPage Just added it a moment ago;-) Ernesto On Sun, Oct 24, 2010 at 10:40 PM, Ernesto Reinaldo Barreiro wrote: > The code below does what you ask: a link

Re: WiQuery Dialog when used with Ajax

2010-10-24 Thread Ernesto Reinaldo Barreiro
The code below does what you ask: a link and any time the link is clicked a modal dialog is opened and the contents of the dialog are update via AJAX. import org.apache.wicket.ajax.AjaxRequestTarget; import org.apache.wicket.ajax.markup.html.AjaxLink; import org.apache.wicket.markup.html.basic.Lab

Re: WiQuery Dialog when used with Ajax

2010-10-24 Thread drf
I'd like to make the question a little more specific: the dialog box has to the truly modal - nothing else in the browser can be accessed, ideally the rest of the window will be slightly grayed to indicate that only the modal window is enabled. Trying some of the examples on the web brings up a di

WiQuery Dialog when used with Ajax

2010-10-24 Thread drf
The WiQuery home page gives a simple example of opening a jQuery dialog, where the content already resides in the page. I wonder if anyone can provide code which shows how to use WiQuery to open a JQuery dialog with dynamic content, presumably using Ajax. For instance, you want to show an error m