Strange, invalid form input isn't preserved either. Check the application log for clues.
Regards Sven On 06/11/2014 06:21 PM, Lucio Crusca wrote:
Here is a form: http://158.58.168.198/quotaly/wicket/bookmarkable/it.quotaly.web.Register here is the relevant html snippet: <form class="inputForm" wicket:id="registrationform"> <fieldset> <legend>Inserisci i tuoi dati</legend> <div id="feedbackPanel"> <span wicket:id="feedback"/> </div> <div class="campoform"> <label wicket:for="nome"> <span class="inputformlabelspan">Nome *</span> <span class="inputWrapper"> <input type="text" class="text_reg" placeholder="nome" wicket:id="nome"> </span> </label> </div> [...] and java code: registrationform.add(new TextField("nome").setRequired(true)); registrationform.add(new FeedbackPanel("feedback")); If you click the "Invia" button (italian for "Submit"), the validation takes place (in fact my onSubmit() does not get called since many required fields are not filled in), but the FeedbackPanel remains empty (take a look at generated html). Similar code works in other wicket projects I've done, so I don't know what I'm doing different/wrong here... any clue? --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org