pure Struts implementation of form with an html:checkbox that enables/disables an html:text ?

2004-03-02 Thread Mike R. Phelan
= true; } } /script ... html:form action=/NewIPRecordSubmit focus=baseIP ... IP Address ... html:text property=baseIP styleClass=textbox style=size:114/ ... html:checkbox property=ipRangeEnabled value=no onclick=GrayOut(this)/ Upper Range html:text property=boundIP styleclass=textbox style=size:114

html:checkbox

2004-02-18 Thread Anand M S
Hi All, Is we use html:checkbox, what should be the type in struts-config.xml? is that boolean or string? THanks, Anand _ STOP MORE SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail

Re: html:checkbox

2004-02-18 Thread Mark Lowe
String's always a safe bet.. But you can use Boolean although I understand that you don't want to use the primitive boolean. On 18 Feb 2004, at 22:46, Anand M S wrote: Hi All, Is we use html:checkbox, what should be the type in struts-config.xml? is that boolean or string? THanks, Anand

Can't make html:checkbox CHECKED by default

2004-02-05 Thread otisg
Hello, I am using html:checkbox Struts tag, but I am unable to set it to a CHECKED state by default (I read the docs). This is what I am using now: html:checkbox property=foo value=true Is 'value' not the attribute I should use for that? Which attribute should I use then? Any help would

RE: Can't make html:checkbox CHECKED by default

2004-02-05 Thread Paul McCulloch
PROTECTED] Subject: Can't make html:checkbox CHECKED by default Hello, I am using html:checkbox Struts tag, but I am unable to set it to a CHECKED state by default (I read the docs). This is what I am using now: html:checkbox property=foo value=true Is 'value

RE: html:checkbox and struts-EL

2004-02-05 Thread Renato Romano
: Karr, David [mailto:[EMAIL PROTECTED] Sent: mercoledì 4 febbraio 2004 20.46 To: Struts Users Mailing List Subject: RE: html:checkbox and struts-EL I have no clue why you think you needed to write a customized checkbox class. It's not clear to me from your description. Having your form in session

RE: html:checkbox and struts-EL

2004-02-05 Thread Karr, David
, 2004 6:18 AM To: 'Struts Users Mailing List' Subject: RE: html:checkbox and struts-EL You're right, I missed an element: the form is split across several pages (a wizard style form) so I can't reset the checkbox value because I need to mantain the value it had. Anyway your hint on the source

html:checkbox and struts-EL

2004-02-04 Thread Renato Romano
I'm using a customized version of the checkbox tag that always sets in the property field a value of true or false depending on the state of the checkbox, thus avoiding the noisy problem of not checked tags does not reset the property; this was needed to me because the form is in session scope,

html:checkbox - default check state - how?

2004-02-04 Thread otisg
Hello, I am using html:checkbox Struts tag, but I am unable to set it to a CHECKED state by default. I checked the docs for the Struts HTML taglib, but found nothing that worked. This is what I am using now (removed gt and lt to avoid HTML rendition problems): html:checkbox property=foo value

RE: html:checkbox and struts-EL

2004-02-04 Thread Karr, David
view the source code in the CVSweb interface on the jakarta site. -Original Message- From: Renato Romano [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 8:58 AM To: 'Struts Users Mailing List'; [EMAIL PROTECTED] Subject: html:checkbox and struts-EL I'm using a customized

RE: html:checkbox pls help

2004-01-26 Thread Wendy Smoak
From: Raman Garg [mailto:[EMAIL PROTECTED] Thanks for your reply... BUT it take the default value=on when I do the way as you were telling me. I want to put the value=232 where 232 is the id value corresponding to my record. Can you post the iterate tag along that's outside the

RE: Value attribute of html:checkbox

2004-01-22 Thread Leticia Golubov
://jakarta.apache.org/struts/userGuide/struts-html.html#checkbox -Original Message- From: Raman [mailto:[EMAIL PROTECTED] Sent: 19 December 2003 07:02 To: Struts Users Mailing List Subject: Value attribute of html:checkbox Hello, I have a checkbox and i want to assign value attribute

Value attribute of html:checkbox

2004-01-19 Thread Raman
Hello, I have a checkbox and i want to assign value attribute in html:checkbox and that value should be my id value. How should i do that?? by default it is taking value=on but i don't want this. html:checkbox property=deleteItem value=?? Delete /html:checkbox here i want value to be my id

html:checkbox pls help

2004-01-17 Thread Raman
Hello, I have a checkbox and i want to assign html:checkbox value. and that value should be my id value. How should i do that. html:checkbox property=deleteItem value=?? Delete /html:checkbox here i want value to be my id value of table.. i have this string in logic:iterate loop What I did

RE: html:checkbox pls help

2004-01-17 Thread Mohan Radhakrishnan
Raman, What's wrong with this ? html:checkbox property=deleteItem/ Shouldn't this pick up the property from the ActionForm and generate value=x for example. Is yours dynamic ? Mohan -Original Message- From: Raman [mailto:[EMAIL PROTECTED] Sent: Saturday, January 17, 2004 12:43

Re: html:checkbox pls help

2004-01-17 Thread Raman Garg
List' [EMAIL PROTECTED] Sent: Saturday, January 17, 2004 5:02 PM Subject: RE: html:checkbox pls help Raman, What's wrong with this ? html:checkbox property=deleteItem/ Shouldn't this pick up the property from the ActionForm and generate value=x for example. Is yours dynamic ? Mohan

html:checkbox or multibox?? how to value as getter from collection

2003-12-26 Thread shahfazal
Hi all i already posted twice about this but i guess my email program had trouble formatting my mail or somethign but anyway long thing short i have a collection of ApplicationVO value objects, i need to display them in rows on a jsp. so i iterate thru the collection of the value objects, and

Array of html:checkbox / html:multibox not retaining state after validation

2003-11-18 Thread Shyam A
of the checkboxes are not retained when a validation error occurs. I have tried the following in vain: a. Array of html:checkbox I have used a boolean array for the form data type corresponding to the checkbox. Also, I set all the values of the boolean array to false in the reset() method. b

html:checkbox Tag problem

2003-10-15 Thread mohamed ebrahim faisal
Hai I populate data from database in to the Action form, which i am using to display multiple records in the JSP Page. Here i am using Html:checkbox as an indicator to every record in the the page. I have associated the checkobox with String array Property. My Problem is when i submit the form

RE: html:checkbox Tag problem

2003-10-15 Thread Wendy Smoak
Faisal wrote: I populate data from database in to the Action form, which i am using to display multiple records in the JSP Page. Here i am using Html:checkbox as an indicator to every record in the the page. I have associated the checkobox with String array Property. My Problem is when i

RE: html:checkbox Tag problem

2003-10-15 Thread Chen, Gin
: html:checkbox Tag problem Faisal wrote: I populate data from database in to the Action form, which i am using to display multiple records in the JSP Page. Here i am using Html:checkbox as an indicator to every record in the the page. I have associated the checkobox with String array Property. My Problem

RE: html:checkbox Tag problem

2003-10-15 Thread Lynn Guy
I think multibox will return the value of the checked items which might help you out. --- Wendy Smoak [EMAIL PROTECTED] wrote: Faisal wrote: I populate data from database in to the Action form, which i am using to display multiple records in the JSP Page. Here i am using Html:checkbox

html:checkbox, iterate and a value

2003-08-15 Thread Gregory F. March
... html:checkbox indexed=true property=uniqueKey name=myItem/ ... html:link action=MyViewItemsAction paramId=myId paramName=myItem paramProperty=uniqueKey bean:write name=myItem property=uniqueKey/ /html:link ... The html:link works great. I just don't know

Re: html:checkbox, iterate and a value

2003-08-15 Thread Ben Anderson
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: html:checkbox, iterate and a value Date: Fri, 15 Aug 2003 12:48:40 -0400 What is the proper way to build html:checkbox's inside of an logic:iterate loop? It seems

Re: html:checkbox, iterate and a value

2003-08-15 Thread Gregory F. March
On Aug 15, 2003, Ben Anderson [EMAIL PROTECTED] wrote: |have you looked at multibox? No, I haven't. But, I have now... :-) It has the same issues as combobox however. Also, I was aware of your solution with non struts tags, but I was hoping for a struts only solution. Another solution

Re: html:checkbox, iterate and a value

2003-08-15 Thread David Erickson
Subject: html:checkbox, iterate and a value What is the proper way to build html:checkbox's inside of an logic:iterate loop? It seems that the html:checkbox's value parameter can't reference a property from the bean of the iterate loop. I have something close to: logic:iterate id=myItem

RE: html:checkbox checked

2003-07-24 Thread Kamholz, Keith (corp-staff) USX
' Subject: RE: html:checkbox checked In the latest version of struts-html there is no such attribute in the tag called 'checked'. But there is another way if the value of 'value' attribute matches the value of 'property' attribute, it gets checked. I was wondering a simple way of doing it even

html:checkbox checked

2003-07-23 Thread Gandle, Panchasheel
struts-html.tld doesn't have the attribute 'result' which if set to checked, makes the check box checked by default Anybody knows any other way or solution or is it a bug? Thanks Panchasheel - To unsubscribe, e-mail: [EMAIL

RE: html:checkbox checked

2003-07-23 Thread Yee, Richard K,,DMDCWEST
Panchasheel, The attribute you refer to is called 'checked' not 'result'. It is not a bug. -Richard -Original Message- From: Gandle, Panchasheel [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:55 PM To: 'Struts Users Mailing List' Subject: html:checkbox checked struts

RE: html:checkbox checked

2003-07-23 Thread Gandle, Panchasheel
. Panchasheel -Original Message- From: Yee, Richard K,,DMDCWEST [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 4:14 PM To: 'Struts Users Mailing List' Subject: RE: html:checkbox checked Panchasheel, The attribute you refer to is called 'checked' not 'result'. It is not a bug

html:multibox vs html:checkbox with logic:iterate

2003-04-01 Thread Heligon Sandra
Can soemone explain me the difference between the two tags html:multibox and html:checkbox in aJSP page which used logic:iterate tag. For example: logic:iterate id=fruits name=nameOfMyDynaValidatorForm property=fruits type=com.org.Fruit

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
PROTECTED]] Sent: Montag, 25. November 2002 19:52 To: Struts Users Mailing List Subject: Re: set a html:checkbox checked I think you should set the property of the form in an action, that will forward to your JSP. In this action, set the property corresponding to your check box at true: MyForm myForm

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
Subject: RE: set a html:checkbox checked Sorry, if i use this i get an NoSuchMethod Error. But, even it schould work, how could i set the value other than on true or false _AND_ the checkbox checked? in html like this input type=checkbox value=99 checked thx in advance -Original

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
Mailing List Subject: Re: set a html:checkbox checked Hi Georg, If you wish to utilize String value other than true, yes, or on..., you can use the html:multibox tag. Best regards Patrice - Original Message - From: Mouratidis, Georg [EMAIL PROTECTED] To: Struts Users Mailing List

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
. Best regards Patrice - Original Message - From: Mouratidis, Georg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 12:00 PM Subject: RE: set a html:checkbox checked Thank all the people for response. i have done it this way

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
- From: Patrice [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 26. November 2002 12:27 To: Struts Users Mailing List Subject: Re: set a html:checkbox checked As I said, I think the html:multibox tag should be an alternative to your javascript initialization: If I anderstand, you have some checkboxes

Re: set a html:checkbox checked

2002-11-26 Thread Patrice
PROTECTED] Sent: Tuesday, November 26, 2002 1:28 PM Subject: RE: set a html:checkbox checked Hallo Patrice, thank you,thank you,thank you,thank you,thank you,thank you,thank you for the solution. this works excellent. But, is there somethink like html:multibox for the html:radio tag. Because

RE: set a html:checkbox checked

2002-11-26 Thread Mouratidis, Georg
thx a lot Georg -Original Message- From: Patrice [mailto:[EMAIL PROTECTED]] Sent: Dienstag, 26. November 2002 14:07 To: Struts Users Mailing List Subject: Re: set a html:checkbox checked If only one catalogBuyerIDType can be selected, the easiest way is to use radio buttons instead

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
Hi, Oliver did you get any response. i'm looking for the same. could you send me your solution please? thx Georg M. -Original Message- From: Oliver Kersten [mailto:[EMAIL PROTECTED]] Sent: Donnerstag, 21. November 2002 17:34 To: [EMAIL PROTECTED] Subject: set a html:checkbox checked

RE: set a html:checkbox checked

2002-11-25 Thread Karr, David
type=checkbox name=mycheck checked But I can't find that for the struts tag: html:checkbox property=mycheckcheck it/html:ckeckbox And can I use the value true to set a checkbox checked. I get only a true from my bean and not a checked or something else. -- To unsubscribe, e-mail

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
any examples please. i do not understand how to do it. thx -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED]] Sent: Montag, 25. November 2002 17:34 To: Struts Users Mailing List Subject: RE: set a html:checkbox checked In your Action class which forwards to the JSP, you

RE: set a html:checkbox checked

2002-11-25 Thread edgar
. Hope this helps. Edgar -Original Message- From: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 11:25 AM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: set a html:checkbox checked Hi, Oliver did you get any response. i'm looking for the same

RE: set a html:checkbox checked

2002-11-25 Thread edgar
' Subject: RE: set a html:checkbox checked In your Action class which forwards to the JSP, you have to have code which sets the property associated with the checkbox to either true, yes, on, or the value set in the value attribute. -Original Message- From: Mouratidis, Georg [mailto:[EMAIL

RE: set a html:checkbox checked

2002-11-25 Thread Mouratidis, Georg
: Mouratidis, Georg [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 11:25 AM To: 'Struts Users Mailing List'; '[EMAIL PROTECTED]' Subject: RE: set a html:checkbox checked Hi, Oliver did you get any response. i'm looking for the same. could you send me your solution please? thx Georg M

Re: set a html:checkbox checked

2002-11-25 Thread Patrice
corresponding to CheckBoxProperty will be checked on the JSP. Hope it helps Patrice - Original Message - From: Mouratidis, Georg [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 25, 2002 5:44 PM Subject: RE: set a html:checkbox

set a html:checkbox checked

2002-11-21 Thread Oliver Kersten
Hi, how can I set a checkbox checked during creation in the JSP. In HTML I would do it like this: input type=checkbox name=mycheck checked But I can't find that for the struts tag: html:checkbox property=mycheckcheck it/html:ckeckbox And can I use the value true to set a checkbox checked

RE: HTML:checkbox question

2002-11-11 Thread edgar
:27 AM To: 'Struts-Users' Subject: HTML:checkbox question Hey all, The problem I am having is setting the default state of a checkbox and having the state retained over form submission. If I set the default state to be selected (true in the underlying actionform) when the form is submitted

HTML:checkbox question

2002-11-10 Thread Sean Gay
styleClass=inputTxt style=width:215px / html:text property=location styleClass=inputTxt style=width:215px / html:text property=suburbPostcode styleClass=inputTxt style=width:215px / html:checkbox property=serviceArea / /html:form Thanks in advance, Sean

RE: HTML:checkbox question

2002-11-10 Thread Andrew Hill
Subject: HTML:checkbox question Hey all, The problem I am having is setting the default state of a checkbox and having the state retained over form submission. If I set the default state to be selected (true in the underlying actionform) when the form is submitted the checkbox remains selected even

html:checkbox problem: set property never get executed.

2002-09-11 Thread StoicxPhilia Nguyen
I have an interesting problem in which the setRemove() method of my Value Bean never gets called in html:checkbox, though the getRemove() does get called: html:checkbox name=rating property=remove value=on styleClass=formElementRadio//td * where rating is my value bean within a colletion

Re: html:checkbox problem: set property never get executed.

2002-09-11 Thread John Yu
I think you've misunderstood how html:check worked. html:checkbox will only render a input type=checkbox, but doesn't update your bean stored in the session (or request if you mistakenly expected that) upon submission. Instead, you will get the value back as one of the URI query parameters

Bugreport(?): html:checkbox

2002-09-04 Thread Sann, Stephan
Hello List, I think I found a bug in the html:checkbox-Tag. Anybody who can confirm? This is from my formbean-class: private boolean einTrefferJeHaushalt = true; public void reset(ActionMapping mapping, HttpServletRequest request) { [...] this.einTrefferJeHaushalt

RE: Bugreport(?): html:checkbox

2002-09-04 Thread Karr, David
-Original Message- From: Sann, Stephan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 6:07 AM To: [EMAIL PROTECTED] Subject: Bugreport(?): html:checkbox Hello List, I think I found a bug in the html:checkbox-Tag. Anybody who can confirm? This is from my

RE: Bugreport(?): html:checkbox

2002-09-04 Thread Joe Barefoot
Unfortunately I need a default-status of checked, so I can't use the second solution. Any ideas, comments, confirmations? This is expected behaviour. Set the default value to true, leave the reset() method blank (you want it to persist across the session, yes?). Your reset

Re: How do I use the html:checkbox tag to replace of the past JSP code?

2002-08-01 Thread David M. Karr
=objParameter collection=%= arrSParameters % Struts indexId=index Struts html:checkbox name=objParameter property=parameterCode / Struts /logic:iterate I believe the better way to do this is to use a multibox tag, instead of a checkbox tag. I almost wonder sometimes whether the need

How do I use the html:checkbox tag to replace of the past JSP code?

2002-07-31 Thread @Basebeans.com
Subject: How do I use the html:checkbox tag to replace of the past JSP code? From: news.basebeans.com [EMAIL PROTECTED] === Hi, I used the following code to setup checkbox value and checked status before using struts. % if (arrSParameters != null) { for (Enumeration objEnu

The question of the html:checkbox tag for the struts(1.1 beta 1)

2002-07-29 Thread @Basebeans.com
Subject: The question of the html:checkbox tag for the struts(1.1 beta 1) From: news.basebeans.com [EMAIL PROTECTED] === Hi, The following text is my experiment for the checkbox tag. logic:iterate id=objParameter collection=%= arrSParameters % indexId=index tr td width=100 p

html:checkbox

2002-07-25 Thread Kamholz, Keith (corp-staff) USX
Hey everyone, I've just essentially finished my first struts application, and my boss doesn't like the fact that the boolean properties associated with checkboxes must be set to false when going to the form. He says that it's a pain in the ass to recheck the boxes every time the bean is edited.

Re: html:checkbox

2002-07-25 Thread Bill Blackmon
] Sent: Thursday, July 25, 2002 9:21 AM Subject: html:checkbox Hey everyone, I've just essentially finished my first struts application, and my boss doesn't like the fact that the boolean properties associated with checkboxes must be set to false when going to the form. He says that it's a pain

RE: html:checkbox

2002-07-25 Thread Kamholz, Keith (corp-staff) USX
http://www.buffalo.edu/~kkamholz -Original Message- From: Bill Blackmon [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:16 AM To: Struts Users Mailing List Subject: Re: html:checkbox Is this correct? I'm just getting into an application and there are lots of checkboxes

Re: html:checkbox

2002-07-25 Thread Craig R. McClanahan
On Thu, 25 Jul 2002, Kamholz, Keith (corp-staff) USX wrote: Date: Thu, 25 Jul 2002 09:21:56 -0400 From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts (E-mail) [EMAIL PROTECTED] Subject: html:checkbox Hey everyone

RE: html:checkbox

2002-07-25 Thread Kamholz, Keith (corp-staff) USX
PROTECTED]] Sent: Thursday, July 25, 2002 11:31 AM To: Struts Users Mailing List Subject: Re: html:checkbox On Thu, 25 Jul 2002, Kamholz, Keith (corp-staff) USX wrote: Date: Thu, 25 Jul 2002 09:21:56 -0400 From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] Reply-To: Struts Users

RE: html:checkbox

2002-07-25 Thread Craig R. McClanahan
On Thu, 25 Jul 2002, Kamholz, Keith (corp-staff) USX wrote: Date: Thu, 25 Jul 2002 11:58:06 -0400 From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: html:checkbox

Html:checkbox issue

2002-07-15 Thread Toni Nehme
Hi All, I have checkbox displayed in a table and I am trying to create a a checkbox outside the table to check All the checkboxes inside the table. My table is using the logic:iterate tag and displays the table. Please, let me know if anybody knows how to solve this. Thanks.

RE: Html:checkbox issue

2002-07-15 Thread Kamholz, Keith (corp-staff) USX
an idea... ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Toni Nehme [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 9:36 AM To: [EMAIL PROTECTED] Subject: Html:checkbox issue Hi All, I have checkbox displayed in a table and I am trying to create a a checkbox

RE: Html:checkbox issue

2002-07-15 Thread James Mitchell
List' Subject: RE: Html:checkbox issue This is just a shot in the dark, but could you specify the onclick attribute of the checkbox to run some javascript? When clicked, you could swap the checkbox properties back and forth between checked and not checked. Does anyone else think something

RE: html:checkbox in a table

2002-07-04 Thread Andrew Hill
PROTECTED]] Sent: Thursday, July 04, 2002 02:35 To: [EMAIL PROTECTED] Subject: html:checkbox in a table Hi Everyone, Does anyone knows or have an example that displays a table of records with a checkbox in each row and when user submit the form, will be able to know which row is checked? If so

RE: html:Checkbox tag in Logic:iterate does not work

2002-07-02 Thread Kamholz, Keith (corp-staff) USX
: html:Checkbox tag in Logic:iterate does not work Hi everyone, I have an html:checkbox in logic:iterate and I would like to know what row the user checked after I submit the form. My Form has an ArrayList of Objects. My action reads the arraylist and check to see witch item is selected. My jsp

RE: html:checkbox tag does not set the checked value

2002-06-27 Thread mike . witt
didn't do this, my form thought these controls were always checked, so that may not be the problem. Just thought I'd throw it in. Mike -Original Message- From: Toni Nehme [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 12:24 PM To: [EMAIL PROTECTED] Subject: html:checkbox tag

html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
html:errors/ html:form action=/test html:checkbox property=isBillable value=chkVal/ html:submit bean:message key=button.display/ /html:submit /html:form /body /html:html When I click on the button to submit the form, I

Re: html:checkbox tag does not set the checked value

2002-06-25 Thread Abhishek Goel
Hi, i think the value chkVal in the html:checkbox .tag is the value that will be submitted when you check the box. so the property attribute isBillable will be given the value chkVal when you check this value. Insideform this property will definitely of boolean data type. now you will assign

RE: html:checkbox tag does not set the checked value

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
PROTECTED]] Sent: Tuesday, June 25, 2002 12:39 PM To: Struts Users Mailing List Subject: Re: html:checkbox tag does not set the checked value Hi, i think the value chkVal in the html:checkbox .tag is the value that will be submitted when you check the box. so the property attribute isBillable

Re: html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
/ /title html:base/ /head body html:form action=userChoice logic:iterate id=levels name=userChoiceForm property=levels type=ch.thales.model.Level html:checkbox name=levels property=isChecked / bean:write name=levels property=levelName / /logic:iterate brbr html:submit

RE: html:checkbox tag does not set the checked value

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
]] Sent: Tuesday, June 25, 2002 2:32 PM To: [EMAIL PROTECTED] Subject: Re: html:checkbox tag does not set the checked value I have a form, an action and a class: I have 3 checkboxes (High,Medium,Low): When I check any of those checkboxes and click on submit, It does not set the value

Html:checkbox

2002-06-25 Thread Toni Nehme
Hi All, How can I set the boolean variable in the form if I have more than one checkbox on a page? For example: checkbox with label required. checkbox with label notRequired. checkbox with label optional. Do I have to have 3 boolean variables in my form? Or I can have an array of booleans?

RE: Html:checkbox

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
, 2002 2:41 PM To: [EMAIL PROTECTED] Subject: Html:checkbox Hi All, How can I set the boolean variable in the form if I have more than one checkbox on a page? For example: checkbox with label required. checkbox with label notRequired. checkbox with label optional. Do I have to have 3 boolean

RE: html:checkbox tag does not set the checked value

2002-06-25 Thread Toni Nehme
PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: html:checkbox tag does not set the checked value Date: Tue, 25 Jun 2002 14:40:08 -0400 Your structure seems kind weird. I'm not sure exactly what you're trying to do. Do you

RE: Html:checkbox

2002-06-25 Thread Toni Nehme
Yep, This is the same situation. Regards. From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Html:checkbox Date: Tue, 25 Jun 2002 14:44:12 -0400 Is this the same

Re: html:checkbox tag does not set the checked value

2002-06-25 Thread Sean Richards
if you have a Form class with private boolean high and then have the getters and setters public void setHigh (boolean high) { this.high = high; } public boolean getHigh () { return this.high; } and then on your jsp you have html:checkbox property=high/ the Form class will get

RE: html:checkbox tag does not set the checked value

2002-06-25 Thread Kamholz, Keith (corp-staff) USX
- From: Toni Nehme [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 2:47 PM To: [EMAIL PROTECTED] Subject: RE: html:checkbox tag does not set the checked value Hi Keith, This is an example. User can select multiple at a time. What I am trying to do is to be able to have multiple checkboxes

html:checkbox

2002-06-24 Thread Benson, Mike
Hello all, How can you set the initail state of a check box to be selected? Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: html:checkbox

2002-06-24 Thread James Mitchell
]] Sent: Monday, June 24, 2002 3:41 PM To: 'Struts Users Mailing List' Subject: html:checkbox Hello all, How can you set the initail state of a check box to be selected? Thanks, Mike -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail

Re: html:checkbox

2002-06-24 Thread Daniel Jaffa
Subject: RE: html:checkbox The same way it is done in the struts-example and documentation. Hope that helps ;) James Mitchell Software Engineer\Struts Evangelist Struts-Atlanta, the Open Minded Developer Network http://struts-atlanta.open-tools.org -Original Message- From

indexed option does not work with html:checkbox

2002-06-12 Thread $BBW@,(B
Hello this is dz I'm using the html:checkbox tag in an iterate tag. I am trying to set the indexed property but I get the following exception javax.servlet.jsp.JspException: index at com.hp.mwlabs.j2ee.containers.servlet.jsp.AbstractJspPage.getWriteMethodSupport(AbstractJspPage.java

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
=addSegElementsToMethodForm property=segElementSelections tr td align=center html:checkbox indexed=true name=segmentElementRow property=selected value=true / /td td align=center bean:write name=segmentElementRow property=elementNbr

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
=addSegElementsToMethodForm property=segElementSelections tr td align=center html:checkbox indexed=true name=segmentElementRow property=selected value=true / /td td align=center bean:write name=segmentElementRow property=elementNbr

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Maturo, Larry
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 10:00 AM To: Struts Users Mailing List Subject: RE: html:checkbox tag not setting its property value in Formbean Hi Larry, Thanks for your suggestion. I downloaded the nightly build for struts (dated 3/11/02) and installed it in my Tomcat 4.0.1

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Krishnan
, 2002 10:00 AM To: Struts Users Mailing List Subject: RE: html:checkbox tag not setting its property value in Formbean Hi Larry, Thanks for your suggestion. I downloaded the nightly build for struts (dated 3/11/02) and installed it in my Tomcat 4.0.1 environment. In My Jsp I have

RE: html:checkbox tag not setting its property value in Formbean

2002-03-12 Thread Maturo, Larry
using it. For grins, would you try replacing: html:checkbox indexed=true name=segmentElementRow property=selected value=true / with html:multibox name=segmentElementRow property=selected value=true / and see if it works? If so, please let me know. -- Larry -Original

RE: html:checkbox tag not setting its property value in Formbean

2002-03-11 Thread Maturo, Larry
Hi Krishnan, If you are using a nightly build you can probably use the indexed attribute. This would look something like this: In your jsp: logic:iterate id=fruits name=nameOfYourFormBean property=fruits html:checkbox indexed=true name=fruits property=checked/ bean:write name

html:checkbox tag not setting its property value in Formbean

2002-03-08 Thread Krishnan
Hi In my Jsp form, I have a check box that is part of a collection object. This collection object is rendered through a bean. The collection (arrayList) itself has getter/setter in the form bean. When I select the checkbox on the form, the corresponding property value is not updated to true.

RE: html:checkbox tag not setting its property value in Formbean

2002-03-08 Thread Maturo, Larry
[mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 3:19 PM To: [EMAIL PROTECTED] Subject: html:checkbox tag not setting its property value in Formbean Hi In my Jsp form, I have a check box that is part of a collection object. This collection object is rendered through a bean

Using html:checkbox

2001-12-10 Thread Ravi Kattamuri
Hello, This is a plain JSP - HTML code: -- % for(i=0; iobjUsers.size(); i++){ tmpuser=objUsers.getUser(i); % trtd input type=checkbox name=user value=%= tmpuser.getUserId()% %=tmpuser.getUserId()%td/tr % } %

Re: html:checkbox question

2001-10-03 Thread martin . cooper
Take a look at the html:multibox tag. I believe this will do what you want. -- Martin Cooper - Original Message - From: Kilmer, Erich [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 12:30 PM Subject: html:checkbox question On my page I want to show checkboxes

html:checkbox question

2001-10-02 Thread Kilmer, Erich
); request.setAttribute(list, list); % logic:iterate id=DeliveryOption name=list type=com.customers.web.DeliveryOption html:checkbox name=DeliveryOption property=value/ bean:write name=DeliveryOption property=displayName/br /logic:iterate Notice in the html:checkbox tag, DeliveryOption is the bean

Re: can html:checkbox indexed??

2001-09-24 Thread chiji nwankwo
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14937.html From: Shea Kelly <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: can html:checkbox indexed?? Date: Mon, 24 Sep 2001 15:15:33 +1000 MIME-Version: 1.0 Received: from [64.125.

can html:checkbox indexed??

2001-09-23 Thread Shea Kelly
Hi, I'm using the html:checkbox tag in an iterate tag. I am trying to set the indexed property but I get the following exception and the value doesnt seem to exist: org.apache.jasper.compiler.CompileException: D:\project\dod\codeBase\dodJBProject\src\pages\survey.jsp(132,10) Attribute

html:checkbox

2001-09-19 Thread storck
Hi, I would like to achieve the following: I have a table and one of their columns has to be a checkbox. To create the table I use the iterate-Tag. For example something like that: logic:iterate id=blackBoard name=showAllBlackBoardsAndDeleteForm property=result tr

RE: indexed option does not work with html:checkbox

2001-09-07 Thread dhay
, Oswald [EMAIL PROTECTED] on 09/06/2001 06:15:53 PM Please respond to [EMAIL PROTECTED] To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] cc:(bcc: David Hay/Lex/Lexmark) Subject: RE: indexed option does not work with html:checkbox David + Marcelo: thank you both -- I'm now in a position

RE: indexed option does not work with html:checkbox

2001-09-07 Thread Campesato, Oswald
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, September 07, 2001 9:31 AM To: [EMAIL PROTECTED] Subject: RE: indexed option does not work with html:checkbox Hi. Not sure I follow... If you add indexed=true to the checkbox tag, it will produce unique

  1   2   >