Can you post your code ? François Meillet Formation Wicket - Développement Wicket
Le 17 oct. 2014 à 17:26, pureza <pur...@gmail.com> a écrit : > Dear Wicket users, > > I believe I have found the cause of a long standing issue in my application. > Basically, a form would submit with everything set to null or the default > values even when the user filled in all the information. The problem is that > this only happened once in a while and I was never able to reproduce it, so > I couldn't figure out what was wrong. > > However, today I was looking at that code to reuse it somewhere else and > something odd caught my attention. It turns out that my form is a > StatelessForm when it shouldn't be. I don't remember why I made it like > that, but I think it was because I was still learning Wicket at the time. > Anyway, it always worked for me and for 99.9% of the users, so I was never > able to identify the cause. > > I tried StatelessChecker and indeed it complains that the form is stateful. > However, that still doesn't guarantee that this mistake is the cause of my > problem. Can you think of any way to exploit this erroneous StatelessForm > declaration so that it doesn't behave correctly? > > Thanks, > > Luis > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Stateful-StatelessForm-works-most-of-the-time-How-to-make-it-crash-tp4667977.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org >