String[] in the form bean

2004-02-12 Thread Samyukta Akunuru
to carry the array of selected checkboxes to the next page. (Please trim your posts.) I assume there's a String[] in your form bean. You can iterate over it and write out several html:hidden tags with the appropriate values. Struts should fill up your String[] property again when the resulting

Re: String[] in the form bean

2004-02-12 Thread Srinivas Kusunam
Subject: RE: [OT] - Request against Session From: Samyukta Akunuru [mailto:[EMAIL PROTECTED] Using session/hidden variables-what would be the best way to carry the array of selected checkboxes to the next page. (Please trim your posts.) I assume there's a String[] in your form bean. You can

Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
Hi, My form bean contains the following get set methods : setRate(String[] rate) { rate = this.rate; } public String[] getRate() { return rate (which is the String[]) } Also one int variable (counter) which stores the no. of elements in the Array. public int counter() { return

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread shirishchandra.sakhare
etc... -Original Message- From: Chawla, Yogesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 11:46 AM To: 'Struts Users Mailing List' Subject: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean Importance: High Hi, My form bean contains the following get

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
, October 01, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean You can use the Logic:iterate tag...Inside that you can uye any HTMl tag you want... Also have a look at nested tags ...They will help you. Why are you using

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Chawla, Yogesh
How to use the logic.iterate tag in this case - can let me know.. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 01, 2003 3:41 PM To: [EMAIL PROTECTED] Subject: RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean You

RE: Urgent help reqd Stuck..!! - Getting a value String[] from a Form Bean

2003-10-01 Thread Mark Galbreath
1. setRate() isn't doing a thing. 2. use JSTL to iterate over the array using c:forEach after setting a page-scoped variable containing the array: c:set var='arrayValues' value='${pageScope.request.myForm.rate}'/ tr c:forEach items='$(arrayValues)' var='item' td c:out