RE: problem with checkbox

2008-08-18 Thread Muralidhar Y
this message. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2008 4:08 PM To: Struts Users Mailing List Subject: Re: problem with checkbox --- On Mon, 8/18/08, Muralidhar Y wrote: > Hi , when I typed the c

Re: problem with checkbox

2008-08-18 Thread Dave Newton
--- On Mon, 8/18/08, Muralidhar Y wrote: > Hi , when I typed the code in my jsp like the following > > value="one" /> > > In the html file the following code is being shown. By > default the attribute value is being true. Instead I want > to give some other value. Kindly help. >

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]

RE: problem with checkbox values and map backed properties

2005-05-02 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
7;s unset". kr, guenther -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien Austria http://www.creative-it.com -Original Message- From: Cliff Lam [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 03, 2005 4:20 AM To: Struts Users Mailing List Subject: Re: problem with che

Re: problem with checkbox values and map backed properties

2005-05-02 Thread Cliff Lam
You can try to set a "unlicked value" in the reset function in the form. When the click-box is clicked the unlicked value will be covered. Hope this is useful for you. =) Cliff - Original Message - From: "Günther Wieser" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" Sent: Satu

Re: Problem with checkbox

2005-02-10 Thread Norris Shelton
Now I see clearer what you were saying. I found this in the java forums. http://forum.java.sun.com/thread.jspa?threadID=242031&messageID=2946045 It worked like a charm. I wonder why the html:checkbox docs don't mention this. Thanks for your help. --- Cédric Levieux <[EMAIL PROTECTED]> wrote:

Re: Problem with checkbox

2005-02-10 Thread Cédric Levieux
Because when you uncheck a checkbox you don't send this field and the form process let the previous value in place One of tips of mine is to put a hidden field with the same name and to see the field as an array : when it contains only one value the checkbox is unchecked, checked otherwise Hope i