Re: problem with checkbox (when using disabled property)

2008-07-13 Thread ravi_eze
yes it doesnt. Atleast in version 2.0.9. i heard its fixed in 2.1 version. you can write a reset interceptor also for this. i.e. always (before param interceptor) reset the checkbox field. If there is some checkbox getting submitted then you will get them, else the field would be reset by the inte

Re: problem with checkbox (when using disabled property)

2008-07-10 Thread Owen Berry
I would have thought 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

Re: problem with checkbox (when using disabled property)

2008-07-10 Thread Paweł Wielgus
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 simpl

Re: problem with checkbox (when using disabled property)

2008-07-09 Thread Dave Newton
--- 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 tag already includes the hidden field; I don't know what it does for disabled checkboxe

Re: problem with checkbox (when using disabled property)

2008-07-09 Thread Owen Berry
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. Basically, it's just for display. On Wed, Jul 9, 2008 at 2:29 PM, Lukasz Lenart <[EMAIL PROTECTED]> wrote: > Did you try with some others browsers, like IE, F

Re: problem with checkbox (when using disabled property)

2008-07-09 Thread Lukasz Lenart
Did you try with some others browsers, like IE, FF? Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

problem with checkbox (when using disabled property)

2008-07-09 Thread akash agrawal
Hi, Using struts tag for a checkbox. I disable my checkbox using disabled property so that user cannot change it. When the form is submitted, the value of the checkbox passed to the action comes out as false, even if the checkbox was selected (true). The weird thing is if I remove the disabled