RE: struts - checkbox kontrol
Great site... Thanks. __ Senior Programmer Analyst, Tax Distributed Systems Development Tax & Compliance Development, ADP IT Phone: (909) 592-6411 Ext. 3863 e-mail: [EMAIL PROTECTED] -Original Message- From: Rafael Taboada [mailto:[EMAIL PROTECTED] Sent: Friday, July 01, 2005 9:28 AM To: Struts Users Mailing List Subject: Re: struts - checkbox kontrol More information: http://husted.com/struts/tips/007.html -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida" - This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, notify the sender immediately by return email and delete the message and any attachments from your system. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: struts - checkbox kontrol
More information: http://husted.com/struts/tips/007.html -- Rafael Taboada Software Engineer Cell : +511-97753290 "No creo en el destino pues no me gusta tener la idea de controlar mi vida"
Re: struts - checkbox kontrol
Hi, in ur ActionForm define: String[] chkRecords; //with setter and getter In ur jsp define checkbox with a multibox: list: ArrayList that it has all the records in order to list in ur jsp idRecord: id of each record in ur database Finally in ur Action class: String[] strRecords = myForm.getchkRecords(); for (int i = 0; i
struts - checkbox kontrol
Hi, When an Action (ListRecord.do) was invoked by a JSP , it lists all records from db like this. namesurnamedelete --- aaa1b1| + | aaa2b2| - | aaa3b3| + | --- ___ _ |__aaa4__| |_ b4 _| _____ |__add__| |_delete_| To add a new record to this list, I enter new datas like ( aaa4, b4 ) and press add button. Form submits to same action (ListRecord) and adds records without any problem. Problem : When I checked to some checkbox and submit form to same Action, it gives an error. How can I control checked checkbox and delete them ? What is the best way ? Erol __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com