hemadri vepati

+ Follow
since Sep 24, 2008
Merit badge: grant badges
For More
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by hemadri vepati

Originally posted by K Dombroski:
My initial guess would be that you trying to print a list item with an index from the string array. If you could post a sample from your jsp, perhaps I could see more.

see the below jsp sample code

<td height="25" colspan="13" align="left"
key="corporateaction.UnConfirmedAccountSection" /></strong></td>
<td height="12" colspan="2" align="left" class="TableBordergray">
<display:table cellspacing="0" cellpadding="0"
name="${caDetailsForm.unConfAccDisplayList}" class="displaytag"
pagesize="5" sort="list" requestURI="/cancleInputDividendDetail"
defaultorder="descending" id="table" excludedParams="*">
<display:setProperty name="css.tr.even" value="TDBGlightgray" />
<display:setProperty name="css.tr.odd" value="TDBGgray" />
<td width="3%"><display:column media="html" title="Select"
headerClass="checkBox UnconfirmCheckBoxList"
class="checkBox UnconfirmCheckBoxList">
<html:multibox title="Select safekeeping account" property="unconfirmCheckBoxList"
<bean:write name="table_rowNum" />

<td width="3%"><display:column property="acctNum"
title="Safekeeping A/C" sortable="true"
class="${table.rejFieldMap.acctNum}" headerClass="TH.width40" /></td>
<td width="5%"><display:column
property="availableShareBal" title="Available Balance"
sortable="true" sortName="availableShareBal" format="{0,number,#,##0.00}" style="text-align: left;"
class="TxtVer10black" headerClass="TH.width40" /></td>

<td width="5%"><display:column title="New Share Amount"
sortable="true" sortName="newShareQuantity" class="TxtVer10black"
<html:text property="newShareQuantityList"
styleClass="${table.rejFieldMap.shareQty}" />

<td width="5%"><display:column property="reconcileStatus"
title="Reconciliation Status" sortable="true"
sortName="reconcileStatus" class="TxtVer10black"
headerClass="TH.width40" /></td>
15 years ago
Hi All,

I have a problem is struts display tag. I am having dynamic text box inside display table.i am using String array
as text box property. I am facing issues while capturing textbox values.The problem here is, say I have 10 records in a list which is rendered in a display table.The page size set was 5. while I am capturing 7th text box value it is throwing ArrayindexOutOfBoundsException.I am executing a for loop against the list size. while loop executes for the sixth record it is throwing excepton.Can any one help.
15 years ago