override onerror() in the behavior and add the feedback panel
-igor
On Fri, Jun 17, 2011 at 1:31 AM, Mathilde Pellerin
wrote:
> I already have AjaxFormComponentUpdatingBehavior for the text field, so I
> try to add feedback panel like this :
> @SuppressWarnings("serial")
> class AjaxFormCo
I already have AjaxFormComponentUpdatingBehavior for the text field, so I
try to add feedback panel like this :
@SuppressWarnings("serial")
class AjaxFormComponentValidationTextField extends
AjaxFormComponentUpdatingBehavior{
private Component feedbackPanel;
private Componen
use AjaxFormComponentUpdatingBehavior for the TextField
On Fri, Jun 17, 2011 at 11:08 AM, Mathilde Pellerin
wrote:
> Thanks a lot, it works well.
>
> Any idea for the second question ?
>
> I have another form with textfield wich accept only Integer. Validation
> works well when I submit the form
Thanks a lot, it works well.
Any idea for the second question ?
I have another form with textfield wich accept only Integer. Validation
works well when I submit the form : if I put a letter in the textfield, I
have an error message in my feedback panel. But in console I can see that
error message
you should add target.addComponent(feedbackPanelPassword) for onSubmit
method.
On Fri, Jun 17, 2011 at 10:34 AM, Mathilde Pellerin <
mathilde.pelle...@statlife.fr> wrote:
>@Override
>protected void onSubmit(AjaxRequestTarget target, Form form)
> {
>String
Hi all,
I have two little problems with feedback panel.
The first one : I have a feedback panel in a form which render well error
messages of the form but which not render info messages. I thought feedback
panel render all types of messages, but maybe there is some configuration to
do to render i