views:

192

answers:

2

In Struts2 I wanted to refresh(submit) a portion of page on selection of a radio button (Ajax) retaining all the rows in table of rows. Can someone please help with the code for this.

A: 

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

VinAy
VinAy thank you for your reply, I tried enquiring about DWR, but our org don't have that as standard, so I did not tried.
+1  A: 

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.

jogep
Thankyou jogep I will try the jQuery option.