开发者

How can I modify a form during an AjaxRequest?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜