Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JSTL checkbox persisting

800409Dec 1 2004 — edited Dec 2 2004
I'm having problems with a checkbox always being checked. no matter if I have unchecked it or not when my form is returned to my action class the checkbox is always on. I have seen several threads mentioning this, but none seemed to give me the answer I was looking for. Can anyone look at this and tell me what they see wrong?

I basically need a way to change the value of the form while it is still on the jsp...

I have tried calling a function on the onclick event... but it won't even call the function?

Any help would be greatly appreciated.
<td><fmt:message key="VTFHLForm.crossPlan" />
      <INPUT type="checkbox" name="crossPlan"   
          <c:if test="${session.VTFHLForm.crossPlan eq on}">checked</c:if>/>		
</td>
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2004
Added on Dec 1 2004
19 comments
829 views