Sorry I didn't test it before I replied. Your solution didn't work because
for non-Ajax submit both forms r submitted. Non-ajax submit submits the page
instead of individual form in Ajax style.
--
View this message in context:
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel(feedback, new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return
Not a best solution but it works:)
final FeedbackPanel feedback = new FeedbackPanel(feedback, new
ContainerFeedbackMessageFilter(form)
{
@Override
public boolean accept(FeedbackMessage message)
{
return
Thank you for providing a solution to that.
It not so much of the solution I am looking for. I am curious why it didn't
work out of the box for non-Ajax submit but it works for AjaxSubmitLink.
Basically the code to determine if the FormComponent is the child of the
container is the same but for