I would have thought <s:checkbox.../> would handle all of that for you, but I guess it may not be working, or doesn't aim to.
2008/7/10 Paweł Wielgus <[EMAIL PROTECTED]>: > Hi all, > just yesterday i had the very same problem in rails with date field, > so i searched for disabled definition and found this: > http://www.w3.org/TR/html401/interact/forms.html#successful-controls > and > http://www.w3.org/TR/html401/interact/forms.html#h-17.12 > It looks like disabled flag will simply prevent the field from submiting. > > So an extra hidden field read-only should do the job. > > Best greetings, > Paweł Wielgus. > > On 10/07/2008, Dave Newton <[EMAIL PROTECTED]> wrote: >> --- On Wed, 7/9/08, Owen Berry <[EMAIL PROTECTED]> wrote: >> > You need to have a hidden field value that will take the >> > place of the disabled checkbox as some browsers do not >> > send disabled field values. >> >> >> The <s:checkbox.../> tag already includes the hidden field; I don't know >> what it does for disabled checkboxes, though. The checkbox interceptor >> *should* work in concert with the tag to handle disabled checkboxes as well, >> or at least I thought it did. >> >> >> Dave >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >