Re: Retriving a form content for the selected html:checkbox

2008-02-26 Thread stanlick
m bean values using logic:iterate tag. I have a > > html:checkbox which will simultaneously get iterated with the values. > > > > My requirement is to fetch the selected values of the grid on press of > > submit button in the action class. > > What problem are you havin

Re: Retriving a form content for the selected html:checkbox

2008-02-26 Thread Laurie Harper
Tanmay Waikar wrote: Hi, I am iterating my form bean values using logic:iterate tag. I have a html:checkbox which will simultaneously get iterated with the values. My requirement is to fetch the selected values of the grid on press of submit button in the action class. What problem are

Retriving a form content for the selected html:checkbox

2008-02-23 Thread Tanmay Waikar
Hi, I am iterating my form bean values using logic:iterate tag. I have a html:checkbox which will simultaneously get iterated with the values. My requirement is to fetch the selected values of the grid on press of submit button in the action class. Thanks -- View this message in context

Re: html:checkbox value show object refrence

2007-04-20 Thread Dave Newton
--- Chandrakant wrote: > value=" value='${annuitType.annuitid}'> >"> > You can't nest tags like that. Depending on what version of servlet/jsp your container supports you can either use JSP EL directly or the struts-el tags. d. ___

html:checkbox value show object refrence

2007-04-20 Thread Chandrakant
Hi All, I created action form which contains List holding Id and name fields. In JSP I use When I see the source page the output is like In value I get refrence. If I use normal http://www.patni.com World-Wide Partnerships. World-Class Solutions.

Re: Problems Checking and Array of html:checkbox

2006-09-27 Thread Uday Chandra Karrothi
values so yeah Basically try using multibox. I hope that will help you in settign and getting the values of the checkboxes. Thank you Uday On 9/27/06, yamilka vallejo ramos <[EMAIL PROTECTED]> wrote: Please I have and Array of html:checkbox, but that array it of Long[] and I don'

Problems Checking and Array of html:checkbox

2006-09-27 Thread yamilka vallejo ramos
Please I have and Array of html:checkbox, but that array it of Long[] and I don't kwon how to say checked = true every element "tipoDon" of my list "listadoTiposDonante" has a boolean and I dont kwon how too work with that please if any boby could help me i will presure, thanks

Re: html:checkbox issue

2006-08-10 Thread Adam Gordon
unchecked checkboxes. It's amazing how RTFM results in user education... Incidentally, I believe this is basically the same as what Kalpesh suggests in the follow up email... -Adam David Durham wrote: Adam Gordon wrote: I've got an html:checkbox in a form and the property is mapped/

Re: html:checkbox issue

2006-08-10 Thread kalpesh modi
) on the server-side: I've got an html:checkbox in a form and the property is mapped/spelled correctly to the field/method in the bean. The behavior I am seeing is that the bean property (a boolean) is not being set based on the state of the checkbox. I fired up Ethereal and following the

Re: html:checkbox issue

2006-08-10 Thread David Durham
Adam Gordon wrote: I've got an html:checkbox in a form and the property is mapped/spelled correctly to the field/method in the bean. The behavior I am seeing is that the bean property (a boolean) is not being set based on the state of the checkbox. I fired up Ethereal and following th

html:checkbox issue

2006-08-10 Thread Adam Gordon
I'm sure this is a coding problem (they usually are...) on the server-side: I've got an html:checkbox in a form and the property is mapped/spelled correctly to the field/method in the bean. The behavior I am seeing is that the bean property (a boolean) is not being set based on the

Re: html:checkbox not storing property

2006-06-15 Thread Sebastian Stein
Samere, Adam J <[EMAIL PROTECTED]> [060615 15:20]: > Browsers do not send a request parameter for check boxes that are not > checked. Input of type text is always sent. I'm guessing what you see is > the box not being "unchecked"... You need to set it in the reset method. Great, this was already t

RE: html:checkbox not storing property

2006-06-15 Thread Samere, Adam J
ROTECTED] Sent: Thursday, June 15, 2006 9:08 AM To: Struts Users Mailing List Subject: html:checkbox not storing property Hi folks, I have a jsp page with a struts html:checkbox looking as follows: The backupform is defined in struts-config.xml as: If I enter the page, the state of

html:checkbox not storing property

2006-06-15 Thread Sebastian Stein
Hi folks, I have a jsp page with a struts html:checkbox looking as follows: The backupform is defined in struts-config.xml as: If I enter the page, the state of the checkbox is correctly set. However, when I leave the page, the value of the checkbox is not preserved. I debugged this a

html:checkbox

2006-05-05 Thread fea jabi
do this. The form of the jsp is not having the isEligibleCustomer . Tried with below code. getting exception that there is no getter method in the form. how to get the value of the object Customer? what should be the property value of the html:checkbox? In jsp requestURI="PrepareActi

AW: *****POSSIBLE SPAM***** Re: html:checkbox entries are not disappering

2006-04-28 Thread Hans-Peter Petek
prüngliche Nachricht- Von: Rick Reumann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 21. April 2006 14:42 An: Struts Users Mailing List Betreff: *POSSIBLE SPAM***** Re: html:checkbox entries are not disappering Hans-Peter Petek wrote: > > But, when I deselect a checkbox, press the

Re: html:checkbox entries are not disappering

2006-04-21 Thread Rick Reumann
Hans-Peter Petek wrote: But, when I deselect a checkbox, press the button (i.e. submit), all the previous checked checkboxes are still checked .. =?!?!? Every checkbox I ever checked once still remains checked ... Can anyone help me ... Common problem. Make sure you are setting all your bool

html:checkbox entries are not disappering

2006-04-21 Thread Hans-Peter Petek
Hello all, following problem ... I have a list of entries (arraylist) and I am able to check them (with a checkbox). I can check for example 3 of 5 entries and press the save button ... (some action behind) ... and the 3 entries are checked -> all fine. But, when I deselect a checkbox, press the

validating mutiple html:checkbox values

2006-02-07 Thread Christopher Becker
I have a form in a Struts 1.2.7 app that displays a dynamic list of html:checkbox fields, all having the same property value (property=choseRole), which I present using a c:forEach tag.  I wish to apply validation to this set of checkboxes, and I am currently using the Validator plugin on all

RE: Conditionally checking an html:checkbox field

2006-02-01 Thread Greg Dunn
checking an html:checkbox field Still no joy using String instead of Boolean. I must be doing something wrong. What are common mistakes related to checkboxes? -Original Message- From: kalpesh modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:11 PM To: Struts Users Mailing List

RE: Conditionally checking an html:checkbox field

2006-02-01 Thread Greg Dunn
: Conditionally checking an html:checkbox field You need to set it to the value that gets submitted when you check a checkbox and submit the form. - Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo!

RE: Conditionally checking an html:checkbox field

2006-01-31 Thread kalpesh modi
I never tried with boolean but try making it a String. It should work with a String. - Yahoo! Autos. Looking for a sweet ride? Get pricing, reviews, & more on new and used cars.

RE: Conditionally checking an html:checkbox field

2006-01-31 Thread Greg Dunn
te to get it do what I want? -Original Message- From: kalpesh modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 1:11 PM To: Struts Users Mailing List Subject: RE: Conditionally checking an html:checkbox field You need to set it to the value that gets submitted when you check

RE: Conditionally checking an html:checkbox field

2006-01-31 Thread kalpesh modi
You need to set it to the value that gets submitted when you check a checkbox and submit the form. - Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.

RE: Conditionally checking an html:checkbox field

2006-01-31 Thread Greg Dunn
the JSP.] -Original Message- From: kalpesh modi [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 31, 2006 12:52 PM To: Struts Users Mailing List Subject: Re: Conditionally checking an html:checkbox field Try the check condition in your action class and set/not set the checkbox and then for

Re: Conditionally checking an html:checkbox field

2006-01-31 Thread kalpesh modi
Try the check condition in your action class and set/not set the checkbox and then forward it to the JSP. Hope this helps. - What are the most popular cars? Find out at Yahoo! Autos

Conditionally checking an html:checkbox field

2006-01-31 Thread Greg Dunn
I need to conditionally set a checkbox field when presented to the user depending on application configuration settings. I'm using an Action to load the form and attempt to set the checkbox field. No matter what I do I cannot get the checkbox state to change from its default, whether that be true

Conditionally checking an html:checkbox field

2006-01-31 Thread Greg Dunn
I need to conditionally set a checkbox field when presented to the user depending on application configuration settings. I'm using an Action to load the form and attempt to set the checkbox field. No matter what I do I cannot get the checkbox state to change from its default, whether that be true

RE: struts html:checkbox value

2006-01-26 Thread Vidya \(Suvarna\) Mahavadi
26 January 2006 13:04 To: Struts Users Mailing List Subject: Re: struts html:checkbox value On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote: > Is there a work around for this.. Not a simple one - for text or textarea elements the "readonly" attribute would do the job

Re: struts html:checkbox value

2006-01-26 Thread Niall Pemberton
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote: > Is there a work around for this.. Not a simple one - for text or textarea elements the "readonly" attribute would do the job you're looking for, but from memory "readonly" isn't part of the html 4 standard for checkbox. One approac

Re: struts html:checkbox value

2006-01-26 Thread Tamas Szabo
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote: > > Is there a work around for this.. Can the user change the value of the checkboxes? I mean they are always disabled or you enable/disable them dynamically? Tamas

RE: struts html:checkbox value

2006-01-26 Thread Vidya \(Suvarna\) Mahavadi
Is there a work around for this.. -Original Message- From: Niall Pemberton [mailto:[EMAIL PROTECTED] Sent: Thursday 26 January 2006 12:24 To: Struts Users Mailing List Subject: Re: struts html:checkbox value On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote: > >

Re: struts html:checkbox value

2006-01-26 Thread Pham Anh Tuan
:( - Original Message - From: "Vidya (Suvarna) Mahavadi" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Thursday, January 26, 2006 5:16 PM Subject: RE: struts html:checkbox value I did. But it does not help. I have a form with a huge list of data (whic

Re: struts html:checkbox value

2006-01-26 Thread Niall Pemberton
On 1/26/06, Vidya (Suvarna) Mahavadi <[EMAIL PROTECTED]> wrote: > > Hi , > > If a check box is disabled and checked does it submit the value true? I > have a situation where it is not submitting the disabled checkbox > properties. Is there a work around for this... This is a browser / HTTP isssue

RE: struts html:checkbox value

2006-01-26 Thread Vidya \(Suvarna\) Mahavadi
should actually submit the Boolean properties of them. Any ideas on this please... Vidya -Original Message- From: Pham Anh Tuan [mailto:[EMAIL PROTECTED] Sent: Thursday 26 January 2006 11:53 To: Struts Users Mailing List Subject: Re: struts html:checkbox value Dear Vidya, there

Re: struts html:checkbox value

2006-01-26 Thread Pham Anh Tuan
6, 2006 4:37 PM Subject: struts html:checkbox value Hi , If a check box is disabled and checked does it submit the value true? I have a situation where it is not submitting the disabled checkbox properties. Is there a work around for this... Regards, Vidya This message and any attachments are c

struts html:checkbox value

2006-01-26 Thread Vidya \(Suvarna\) Mahavadi
Hi , If a check box is disabled and checked does it submit the value true? I have a situation where it is not submitting the disabled checkbox properties. Is there a work around for this... Regards, Vidya This message and any attachments are confidential and intended solely for the

html:checkbox

2005-11-04 Thread Ray Madigan
Greetings, I remember getting something like this to work in the past, I have searched and cannot find what is missing, or what I'm doing wrong, or if it is even possible. I want to connect a set of checkboxes to a HashMap in my action form. In my ActionForm I have a two methods like public voi

html:checkbox or html:multibox- question in implementation

2005-01-21 Thread Rosemary Philip
Hi, I have a jsp which shows a drop down combobox, a text box and submit cancel buttons. the drop down combo box is a collection of objects. to be exact an arraylist which is placed in session in the action class. The object is a technique object which has the following attributes: techCd : type

FW: Struts html:checkbox

2004-11-05 Thread Robert Taylor
-Original Message- From: Jean-Philippe Couture [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 2:25 PM To: Robert Taylor Subject: Re: Struts html:checkbox Hi Robert, Thanks a bunch for the helpful tip. I used a ((DynaActionForm)form).set("propName",String.valueOf

RE: Struts html:checkbox

2004-11-05 Thread Robert Taylor
nal Message- > From: Jean-Philippe Couture [mailto:[EMAIL PROTECTED] > Sent: Friday, November 05, 2004 11:56 AM > To: [EMAIL PROTECTED] > Subject: Struts html:checkbox > > > Hi, > > Sorry if this problem has already been solved, I cannot seem to find > anything in

Struts html:checkbox

2004-11-05 Thread Jean-Philippe Couture
Hi, Sorry if this problem has already been solved, I cannot seem to find anything in the Struts List Archive... I have an Action class that sets, in the ActionForward method of the said Action class, an attribute of an object in the request scope to push it to the presentation layer (JSP). In the

Re: html:checkbox default value

2004-09-12 Thread Rick Reumann
Erez Efrati wrote the following on 9/12/2004 7:03 AM: If I put it in the form bean constructor wouldn't it cause the field value to be always "true" no matter if the user unchecks it and submit the form. As far as I can recall a checkbox field should be reset to false before the form population. I

RE: html:checkbox default value

2004-09-12 Thread Erez Efrati
--- From: Craig McClanahan [mailto:[EMAIL PROTECTED] Sent: Sunday, September 12, 2004 1:38 AM To: Struts Users Mailing List Subject: Re: html:checkbox default value The values displayed on the page are copied from the form bean, so the right answer is to set the value of the "schedule" property

Re: html:checkbox default value

2004-09-11 Thread Craig McClanahan
The values displayed on the page are copied from the form bean, so the right answer is to set the value of the "schedule" property in your form bean to true. This can be done in the form bean constructor (if you want this initial value all the time), or -- more typical for an update scenario -- yo

RE: html:checkbox default value

2004-09-11 Thread Erez Efrati
t' Subject: html:checkbox default value I am trying to set the default value of a checkbox to 'checked' by putting: but somehow it does not check it. The produced HTML gives me What am I missing here? Thanks, Erez ---

html:checkbox default value

2004-09-11 Thread Erez Efrati
I am trying to set the default value of a checkbox to 'checked' by putting: but somehow it does not check it. The produced HTML gives me What am I missing here? Thanks, Erez

Re: html:checkbox no getter method for propety

2004-08-25 Thread Wendy Smoak
From: "Ricardo Andres Quintero" > Hello im getting an error that > i have a bean form with a boolean property > but when i use , > i got a no getter method for propert myProp, > but it does exist in the bean form. > any ideas? Post your code, otherwise we're just guessing. You've got 'checbox' no

RE: html:checkbox no getter method for propety

2004-08-25 Thread Jim Barrows
> -Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 25, 2004 3:04 PM > To: Struts Users Mailing List > Subject: RE: html:checkbox no getter method for propety > > > Mensaje citado por Jim B

RE: html:checkbox no getter method for propety

2004-08-25 Thread Ricardo Andres Quintero
Mensaje citado por Jim Barrows <[EMAIL PROTECTED]>: > > > > -Original Message- > > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, August 25, 2004 2:42 PM > > To: [EMAIL PROTECTED] > > Subject:

RE: html:checkbox no getter method for propety

2004-08-25 Thread Jim Barrows
> -Original Message- > From: Ricardo Andres Quintero [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 25, 2004 2:42 PM > To: [EMAIL PROTECTED] > Subject: html:checkbox no getter method for propety > > > > Hello im getting an error that > i have a bea

html:checkbox no getter method for propety

2004-08-25 Thread Ricardo Andres Quintero
Hello im getting an error that i have a bean form with a boolean property but when i use , i got a no getter method for propert myProp, but it does exist in the bean form. any ideas? - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: Default html:checkbox to true

2004-08-23 Thread Ellingson, David
That seems to be the cleanest way to handle it. Thanks. Dave -Original Message- From: news [mailto:[EMAIL PROTECTED] Behalf Of Lionel Sent: Monday, August 23, 2004 9:42 AM To: [EMAIL PROTECTED] Subject: Re: Default html:checkbox to true Ellingson, David wrote: > It seems like t

RE: Default html:checkbox to true

2004-08-23 Thread Ellingson, David
rs Mailing List Subject: Re: Default html:checkbox to true Ellingson, David wrote: > It seems like this question would have been asked before, but I couldn't > find an answer in the archives. I am able to successfully use the > html:checkbox tag. However, this tag seems to be

Re: Default html:checkbox to true

2004-08-23 Thread Rick Reumann
Ellingson, David wrote: It seems like this question would have been asked before, but I couldn't find an answer in the archives. I am able to successfully use the html:checkbox tag. However, this tag seems to be trickier to use when you want to default the box to "checked". Sim

Re: Default html:checkbox to true

2004-08-23 Thread Lionel
Ellingson, David wrote: > It seems like this question would have been asked before, but I > couldn't find an answer in the archives. I am able to successfully > use the html:checkbox tag. However, this tag seems to be trickier to > use when you want to default the box to &

Default html:checkbox to true

2004-08-23 Thread Ellingson, David
It seems like this question would have been asked before, but I couldn't find an answer in the archives. I am able to successfully use the html:checkbox tag. However, this tag seems to be trickier to use when you want to default the box to "checked". Simply setting the form at

RE: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Shilpa Vaidya
ime...a hidden field which sets the new value...incase we click the checkbox in the edit section. Shilpa -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 13, 2004 2:14 AM To: [EMAIL PROTECTED] Subject: Can html:checkbox take only yes/true/on as v

Re: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Wendy Smoak
From: <[EMAIL PROTECTED]> > In regular HTML checkbox, the value of the checkbox can practically be > anything. Does the struts html:checkbox limit us to just yes/true/on > values? No, you can have anything you want as the value. It might default to yes or true, I haven't trie

RE: Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Jim Barrows
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Monday, July 12, 2004 1:44 PM > To: [EMAIL PROTECTED] > Subject: Can html:checkbox take only yes/true/on as value? > I have searched high and low and found no clear explanation.

Can html:checkbox take only yes/true/on as value?

2004-07-13 Thread Prashanthi . Pokala
Hi, In regular HTML checkbox, the value of the checkbox can practically be anything. Does the struts html:checkbox limit us to just yes/true/on values? If I have a list of records that I get from the database and I want to display it with a checkbox at the left, the value of the checkbox