Hi Mathilde,
have you got any ListView component in your form? Do you use AJAX for
form submitting?
Hi all,
I have a form which can send error message (on validation or on submit) and
I try to show them in feedbak panel :
I try with FeedBack panel like this :
Java :
add(new FeedbackPanel("feedbackPanelPassword"));
Form<Void> formNouveauPwd =
creationFormChangementPwd(membre);
add(formNouveauPwd);
HTML:
<div wicket:id="feedbackPanelPassword"></div>
<form wicket:id="changementPassword">
[...]
</form>
and I try with ComponentFeedbackPanel like this :
Java :
formNouveauPwd.add(new
ComponentFeedbackPanel("feedbackPanelPassword", formNouveauPwd));
HTML :
<form wicket:id="changementPassword">
<table>
<tr>
<td colspan="2"><span
wicket:id="feedbackPanelPassword"></span></td>
</tr>
<tr>
<td>Ancien mot de passe :</td>
<td><input wicket:id="password" type="password"
/></td>
</tr>
<tr>
<td>Nouveau mot de passe :</td>
<td><input wicket:id="newPwd" type="password"
/></td>
</tr>
<tr>
<td>Confirmation du nouveau mot de passe :</td>
<td><input wicket:id="confirmNewPwd" type="password"
/></td>
</tr>
<tr>
<td colspan="2" style="text-align: center;">
<input wicket:id="boutonModifierPwd"
type="submit" value="Changer de mot de passe"/>
</td>
</tr>
</table>
</form>
but each time I have "Component-targetted feedback message was left
unrendered " error.
At the beginning, I thougth that I was these error because I had to forms in
my page. But then I test with only one form and errors still there and
feedbackPanel is not shown in my page.
I really don't understand why, because in another page my feedbackPanel
works well : the only difference is that it is in a panel component. But in
wicket documentation it doesn't seem necessary to have panel component to
feedbackPanel works...
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org