Dear all,
I have the struts2 checkbox which behavior strangely when there are previous and next paging situation.
I have the three pages
jsp named step1.jsp, step2.jsp and step3.jsp
I have the checkbox control on step1.jsp.
<s:checkbox value="%{loanForm.directmarketingCheckbox}" name="loanForm.directmarketingCheckbox"
style="vertical-align:middle;" id="directmarketingCheckbox" />
(1) Load step1.jsp and
checked the checkbox in step1 and clicked next button. It goes to step2.jsp.
(2) In step2.jsp, click previous button. It goes to step1.jsp.
(3) The checkbox in step 1 is checked. Then I
unchecked it and click next button. It goes to step2.jsp.
(4) In step2.jsp, click previous button. It goes to step1.jsp.
(5)
The checkbox in step1 is still checked. (It should show unchecked. Right?).