At the gate, how can you update the feedback field from the onSubmit ajax component inside the panel?

I have a feedback panel at the top of my page.

I have several panels, each of which has subpanels with AjaxFallback links, which when I click, they want to set information () messages in () that will be displayed on the feedback panel.

Do I need to pass the feedback panel through the panel layers so that I can re-add it to the Ajax target when I click the link? Or is there another way?

Thanks Tom

+3
source share
2 answers

- , , . . .

Wicket 1.5 . . WICKET-1312 .

+1

Wicket 6

    target.addChildren(getPage(), FeedbackPanel.class);
+7

Source: https://habr.com/ru/post/1769863/


All Articles