I've practically made a carbon copy of your code, but everything seems
work well (tested also with wicket 1.4.13). Can you attach the full code
(markup included) of your panel and pages?
hmm, stil no succes, still trying. again recap:
public class PageBase extends WebPage
{
public PageBase()
{
this.add(new PanelCart("cart").setRenderBodyOnly(true));
}
}
public class PageOrder extends PageBase
{
public PageOrder()
{
Form<Object> form = new Form<Object>("formOrder")
{
@Override
protected void onSubmit()
{
//...do_something..
}
};
this.add(form);
TextField formOrderName = new TextField("formOrderName");
form.add(formOrderName.setRequired(true).add(StringValidator.lengthBetween(2
, 35)));
form.add(new FeedbackPanel("feedback"));
}
}
public class PanelCart extends Panel
{
public PanelCart(String id)
{
super(id);
//...do_something...
this.add(new FeedbackPanel("feedback", new
ComponentFeedbackMessageFilter(this)));
}
}
on pageorder when i put value long 1 character then there is error message -
but one on pageorder
and one on panelcart. message is on panelcart and it seems that
add(new FeedbackPanel("feedback", new
ComponentFeedbackMessageFilter(this)));
is on panelcart. not know what doing wrong.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org