I am trying to get the "indexId" as the value for
the <html:text> field. Any help?
<html:form
action="/test/bill_to_old_credit_card.do"
type="com.vnu.struts.forms.CreditCardForm"
name="existingCardForm"
scope="request">
<logic:iterate
id="list"
name="cardList"
type="CreditCardForm"
indexId="theIndex">
<bean:define id="indexVariable" value="theIndex"/> <html:text name="indexVariable" property="currentIndex"/>
</logic:iterate>
<html:submit/>
</html:form>
|