Looking in the code, the tag does not provide any way to set/force the default value - only by setting the value on the form bean.
A small workaround is to do: <c:set target="${quickSearchForm}" property="photosOnly" value="${true}" /> Which works. Still the better way is to work with the form and so anyone Who reads this don't get the idea that I am aiming at this way but still it is sometime useful. Not always we have an init action which is especially a pain with a form that belongs to some tile. Erez -----Original Message----- From: Erez Efrati [mailto:[EMAIL PROTECTED] Sent: Saturday, September 11, 2004 9:54 PM To: 'Struts Users Mailing List' Subject: html:checkbox default value I am trying to set the default value of a checkbox to 'checked' by putting: <html:checkbox property="schedule" value="true"/> but somehow it does not check it. The produced HTML gives me <input type="checkbox" .. value="on" > What am I missing here? Thanks, Erez --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]