Conditional validation without overriding isRequired

2012-06-05 Thread Schlärmann , Bob
Hello, A question about form processing: is it possible to do conditional form validation without overriding FormComponent#isRequired? I have a form with about 5 different form components (e.g. textfields, dropdown, radiobutton). These fields are only required if a RadioGroup has a certain

Re: restfb json object

2012-06-05 Thread Dror
reply... thanks On Tue, Jun 5, 2012 at 11:05 AM, Dror [via Apache Wicket] ml-node+s1842946n4649734...@n4.nabble.com wrote: Hi, i'm a fresh developer, i run into a problem while fetching jsonobjects from the facebook using restfb API: JsonObject facebookUser =

restfb json object

2012-06-05 Thread Dror
Hi, i'm a fresh developer, i run into a problem while fetching jsonobjects from the facebook using restfb API: JsonObject facebookUser = facebookClient.fetchObject(1674441058, JsonObject.class) there should be a field named type that old information about the object type, in this case type =

Re: wicket 1.6

2012-06-05 Thread Douglas Ferguson
I would be deploying my app in a couple months. Is that too aggressive for 1.6? On Jun 4, 2012, at 10:32 AM, Martin Grigorov wrote: On Mon, Jun 4, 2012 at 6:25 PM, Dan Tran dant...@gmail.com wrote: totally agree with Vineet here. The problem is that once we release the first Release

Re: wicket 1.6

2012-06-05 Thread Martin Grigorov
Hi, I think 6.0.0-beta2 is good enough for production. If you find any problems I promise I'll try to solve them as soon as possible. If there are no workarounds you may need to use 6.0-SNAPSHOT for your development until the next RC is released. On Tue, Jun 5, 2012 at 7:07 PM, Douglas Ferguson

Re: Conditional validation without overriding isRequired

2012-06-05 Thread Thomas Götz
Yes, you can also push the state instead of pulling it, which besides is preferrable in terms of efficiency (as onConfigure() is only called once per request whereas isVisible() is potentially called many time): TextFieldString textField = new TextFieldString(textField) { @Override

Re: Conditional validation without overriding isRequired

2012-06-05 Thread Thomas Götz
Argh, confused setVisible() with setRequired, my bad ;-) But nevertheless: call setRequiered(condition) in onConfigure(). -Tom Thomas Götz wrote: Yes, you can also push the state instead of pulling it, which besides is preferrable in terms of efficiency (as onConfigure() is only called

wicket job opportunity, we are hiring

2012-06-05 Thread Igor Vaynberg
the company i work for ( 42lines.net ) is growing and we are looking for a few good devs. about our approach: * we are a distributed company with employees based predominantly in the usa, there are 27 of us now * everyone telecommutes either from home or a coworking space of your choice (paid

Re: wicket job opportunity, we are hiring

2012-06-05 Thread Cedric Gatay
Hi Igor, this is an interesting opportunity, too bad it is time zone limited. I hope you'll find somebody. __ Cedric Gatay http://www.bloggure.info | http://cedric.gatay.fr | @Cedric_Gatayhttp://twitter.com/Cedric_Gatay On Tue, Jun 5, 2012 at 10:37 PM, Igor Vaynberg

Re: Wicket page has a redirect loop

2012-06-05 Thread paulstar
You are right. I found out the 'markupProvider' is null by debugging, thanks to Tom to fores me to do it. In Wicket 1.3 1.4, I overrided 'getAssociatedMarkupStream(boolean throwException)' so that the class extends from Fragment doesn't have to provide 'markupProvider'. After upgraded to