Re: Wicket on Google App Engine

2012-01-03 Thread Martin Grigorov
Hi, gae-initializer project provides https://github.com/wicketstuff/core/blob/master/jdk-1.6-parent/gae-initializer-parent/gae-initializer/src/main/java/org/wicketstuff/gae/GaeInitializer.java which is an implementation of org.apache.wicket.IInitializer and declares it in https://github.com/wicket

Wicket on Google App Engine

2012-01-03 Thread Daniel Watrous
Hi, I've been working for a few days to get a wicket application going for Google App Engine with mixed results. I hope these questions aren't too noobie for this list? There are a couple of really old articles which Google brings up first: http://stronglytypedblog.blogspot.com/2009/04/wicket-on-

Re: signOut and port

2012-01-03 Thread Jeremy Thomerson
On Mon, Jan 2, 2012 at 5:38 PM, brettTi wrote: > We're running a wicket app on jetty and having an issue with signout. The > app > runs on port 8443 and we have iptables redirecting from port 443. This > lets > us go to https://ourap.lab without port numbers and without having the web > app run

Re: Hide page version query parameters

2012-01-03 Thread Taneli Korri
On Tue, Jan 3, 2012 at 1:20 AM, Igor Vaynberg wrote: > add the nofollow attribute to such links. > All the links had it from the start. The crawlers from the big companies (Google, Bing etc) obey it, but some smaller ones do not. Anyways, I fixed the problem by filtering the bad parameters with

Re: Altering TextField content from within AbstractDefaultAjaxBehavior

2012-01-03 Thread HugoSilva
I solved the issue Instead of a direct call to jQuery.ajax(), I called wicketAjaxGet() function. I think that wicket has to do some stuff beforehand and when you call wicketAjaxGet() it is "forced" to do it. Thanks a lot -- View this message in context: http://apache-wicket.1842946.n4.nabble.co

Re: Altering TextField content from within AbstractDefaultAjaxBehavior

2012-01-03 Thread HugoSilva
Thank you Martin, I have just done what you said. It doesnt show anything in the debug window. It remains blank! By the other hand, when a change the combo box value it shows the ajax command! It means that the command is not being executed, right? Is there something that I can do to "force" its

Re: StringResourceModels doesn't seem to detach properly

2012-01-03 Thread Martin Grigorov
Hi, It is intended. IModel#detach() is called only if this model is assigned to a component. Since no one calls #detach() on the StringResourceModel it has no idea when to call detach() on its inner model. You need to call SRM.detach() in #onDetach() in the component where it is used. Then it will

StringResourceModels doesn't seem to detach properly

2012-01-03 Thread Einar Bjerve
If a StringResourceModel contains a model for property substitutions, and there has not been assigned a component it is relative to on construction time, it will not detach the property substitution model. If there is assigned a component on construction time, the property substitution model is

Re: Altering TextField content from within AbstractDefaultAjaxBehavior

2012-01-03 Thread Martin Grigorov
Hi, Take a look at Wicket Ajax Debug window. Maybe there is some JavaScript error during the replacement of the DOM node for this textfield. Otherwise all looks OK to me. On Tue, Jan 3, 2012 at 3:46 PM, HugoSilva wrote: > Hello guys, > > I'm new to Wicket and working with it's version 1.4.9. > I

Re: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-03 Thread Sven Meier
AjaxFormComponentUpdatingBehavior processes a single component only (change input, validate, convert), so it doesn't make sense to validate all components. In that case you should use AjaxFormSubmitBehavior, which processes the whole form. Sven Am 03.01.2012 10:26, schrieb Michal Wegrzyn: Hi

RE: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-03 Thread Michal Wegrzyn
Hi Sven, When event is triggered I check all components with #isValid(). I am not sure if validation is performed after every ajax update or only after submit? I am aware of AjaxFormSubmitBehavior, but I want to check fields after every user action, so user can know error immediately and not on

Re: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-03 Thread Martin Grigorov
Additionally "keyup" for is not the best event. People prefer using the mouse to change the value. On Tue, Jan 3, 2012 at 11:13 AM, Sven Meier wrote: > Hi, > > are you validating all form components or just the one which triggered the > ajax request? > > You know AjaxFormSubmitBehavior? > > Sven

Re: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-03 Thread Sven Meier
Hi, are you validating all form components or just the one which triggered the ajax request? You know AjaxFormSubmitBehavior? Sven Am 03.01.2012 09:32, schrieb Michal Wegrzyn: Any ideas here? Should I provide a quickstart? Best regards, Michal Wegrzyn -Original Message- From: Mic

RE: AjaxFormComponentUpdatingBehavior, required fields and validation

2012-01-03 Thread Michal Wegrzyn
Any ideas here? Should I provide a quickstart? Best regards, Michal Wegrzyn > -Original Message- > From: Michal Wegrzyn [mailto:michal.wegr...@onior.com] > Sent: Monday, December 19, 2011 23:07 > To: users@wicket.apache.org > Subject: AjaxFormComponentUpdatingBehavior, required fields and