Jsp to wicket page link , dont save the wicket page refrence.

2014-05-25 Thread Yoav Stern
I am using wicket where inside i am using in some places jsp the jsp page A has links to wicket pages which i genarate freestyle meaning i do Link from the opened page , page B i change some things using ajax(this page instance component model ) and openenig page C using wicket link then i

Re: Jsp to wicket page link , dont save the wicket page refrence.

2014-05-25 Thread Martin Grigorov
Hi, Your (or mine) English is not very good and it is hard to follow what you describe. Please try to rephrase the description of the problem or explain it with some Java code. Martin Grigorov Wicket Training and Consulting On Sun, May 25, 2014 at 12:11 PM, Yoav Stern yoa...@betamedia.co.il

NPE in AbstractSingleSelectChoice

2014-05-25 Thread Lucio Crusca
I'm pretty sure it's my fault, but I can't spot it. I'm trying to use a DropDownChoice with custom renderer and a PropertyModel, without a Form. I get a NullPointerException in AbstractSingleSelectChoice, here is the quickstart: http://www.sulweb.org/download/sparsi/quickstart.zip

Re: NPE in AbstractSingleSelectChoice

2014-05-25 Thread Marco Springer
Haven't run the code but my guess is that the idValue returns a null instead of 0. Take a look at AbstractSingleSelectChoice.convertChoiceIdToChoice(String) line 281. (Wicket 6.15.0) if(renderer.getIdValue(choice, index).equals(id) This would trigger a NPE if a null is returned, which would be

Re: Hard time with repeaters

2014-05-25 Thread Lucio Crusca
In data sabato 24 maggio 2014 04:50:56, kumar ramanathan ha scritto: a beginner to learn how the flow works. Also I would like to know where to get the complete codes of examples discussed in the above books to practically try it in home. No idea where to get the code for those examples, since

Re: NPE in AbstractSingleSelectChoice

2014-05-25 Thread Francois Meillet
When the DropDownChoice try to convert the submitted choice id back to the choice object there is an iteration over the choices. You get the NPE in this iteration because nullItem has no id. Have a look to AbstractSingleSelectChoice's setNullValid(true) method to include a null value.

Re: Hard time with repeaters

2014-05-25 Thread kumar ramanathan
Thanks Lucio. I have tried the example repeaters in wicket library site. In that if we try to open a source code for simple data view , many classes and files are coming , i am not able to try it in my desktop. Can you please tell how we can do it. Also am in need of examples which explains the

Wicket Groovy DSL

2014-05-25 Thread Eugene Kamenev
Hi there, If anyone interested with integrating Groovy with Apache Wicket, here is my project: https://github.com/eugene-kamenev/wicket-groovy-DSL Thanks for attention. - To unsubscribe, e-mail: