struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Serge A. Redchuk" <b...@mail.ru>
Subject checkbox
Date Tue, 15 Jan 2002 12:21:12 GMT
Hello struts-user,

  I'm newbie in Struts and encountered a problem when tried to get
  boolean value of checkbox state from my form bean.

  I always have 'true', even if I unchecked my checkbox on form.
  
   In JSP I wrote:
   Published: <html:checkbox property="published" />

   In Action that must handle the form data:
   ...
   ef.getPublished() - ever true !
   ...

What have I done in wrong way ?

-- 
Best regards,
 Serge                          mailto:bitl@mail.ru


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message