开发者

How can I modify a form during an AjaxRequest?

开发者 https://www.devze.com 2023-02-16 14:02 出处:网络
How can I refresh the form inside a Wicket modal dialog during an AjaxRequest? I need to write two strings in two text 开发者_JAVA技巧fields, and to change the List<String> in a tab by clicking

How can I refresh the form inside a Wicket modal dialog during an AjaxRequest? I need to write two strings in two text 开发者_JAVA技巧fields, and to change the List<String> in a tab by clicking on a button in the form. The models connected to the text fields are defined with PropertyModel, while the List is connected to a LoadableDetachableModel.


Just add these form components and tab panel in the AjaxRequestTarget. E.g.: target.addComponent(textField1);

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号