You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Daniel Jaffa <ja...@hotmail.com> on 2002/03/23 01:11:08 UTC
Need some quick help
I need a quick question answered.
I have the following code
<logic:iterate id="theLoop" name="chargeHistory">
<form action="/domesticviolence/charges/ChargeHistory.do" name =
"form<%=i%>" />
<html:hidden property="chargeID" name="theLoop"/>
<html:hidden property="caseID" name="theLoop" />
<tr>
<td width="20%" align = "center"><font size="-1"
COLOR="#663300"><bean:write name="theLoop" property="law" /></font></td>
<td width="20%" align = "center"><font size="-1"
COLOR="#663300"><bean:write name="theLoop" property="chargeDescription"
/></font></td>
<td width="5%" align = "center"><font size="-1"
COLOR="#663300"><html:text property="countNumber" name="theLoop" size="3"
/></td>
<td width="5%" align = "center"><font size="-1"
COLOR="#663300"><html:radio property="topCharge" name="theLoop" value="Y"
onclick="Javascript: switchAll();" /></td>
<td width="5%" align = "center"><font size="-1"
COLOR="#663300"><html:checkbox property="activeFlag" name="theLoop" />
</font></td>
<td width="5%" align = "center"><font size="-1"
COLOR="#663300"><html:submit property="updateInsert"
>Update</html:submit></font></td>
</tr>
</form>
</logic:iterate>
what i would like to do is this
<html:radio property="topCharge" name="theLoop" value="Y"
onclick="Javascript: switchAll(<%=i%>);" />
but i am getting the following error. Any sugestions.
unclosed string literal probably occurred due to an error in
/charges/Chargehistory.jsp line 41:
<td width="5%" align = "center"><font size="-1" COLOR="#663300">
<html:radio property="topCharge" name="theLoop" value="Y"
onclick="Javascript: switchAll(<%=i%>);" /></td>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>