开发者

Submit form (Ajax style) when a radio button is selected -- Struts2

In Struts2 I wanted to refresh(submit) a portion of page on selection of a ra开发者_如何学运维dio button (Ajax) retaining all the rows in table of rows. Can someone please help with the code for this.


The scenario which you have mentioned can be implemented using AJAX. Try DWR

Here are some examples which shows what you can do with DWR


Take a look at the showcase for the Struts2 jquery Plugin.

Go to "Ajax Form" -> "Buttonset / Radio Buttons" this is an example for an AJAX Submit triggered by an radio button.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜