<html:checkbox property="vaAppt" value="yes"/> if getVaAppt() returns yes it is checked else not >From: "Alex Colic" <[EMAIL PROTECTED]> >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> >To: "Struts" <[EMAIL PROTECTED]> >Subject: how does this checkbox thing work? >Date: Thu, 15 Nov 2001 13:49:45 -0500 > >Hi, > >can't seem to get this checkbox to work. >I have an app that reads the fields of a database and creates an array of >field objects. Then a jsp is produced allowing the user to input the new >data. > >I have a checkbox that is tied to a field object that has a >setValue(String) >and getValue() method. When I read the database and the checkbox should be >set I set the value to 1. This seems to have worked but when the screen is >produced and the checkbox is checked and I uncheck it I find that the >setValue() method is not being called and that the old value of 1 is being >set. > >Any help is appreciated in understanding how to fix this. > >Alex > > >-- >To unsubscribe, e-mail: ><mailto:[EMAIL PROTECTED]> >For additional commands, e-mail: ><mailto:[EMAIL PROTECTED]> >
_________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>