You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Mathew, Manoj" <Ma...@principal.com> on 2003/12/22 22:54:17 UTC
RE: List backed form..How to retain an order
Hi All
I am using Lists and Maps backed form very often. But i never thought about this issue.
I am formulating my List backed form in an order so that i am expecting it to get from it in the same order and display in the same order. I understand that i can do something like this.
<% for(int i=1; i<=k; i++){ %>
<TR>
<TD width="90" nowrap align="left"><%=visionFields[i-1]%></TD>
<% String visionRate = "visionNetMonthlyRate[" + i + "]";%>
<TD width="130" align="center">
<html:text property="<%=visionRate%>" maxlength="6" size="6" tabindex="210" styleClass="<%=txtBoxStyle%>" /></TD>
</TR>
But here how can i make sure that i get the values the was i set it..since Lists are Asynchronozed?
Thank-you,
Manoj Mathew
GIS 515-362-0539
nsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
Thank-you,
Manoj Mathew
GIS 515-362-0539
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org