When using semantically aware editors, constructs like the one used by
w:populate breaks the syntax since the start and end elements are out
of sync. Would it be possible to wrap the whole form instead? Perhaps
inserting another tag to exclude the part that shouldn't be included,
i.e.:
<w:populate using="itemForEdit">
<form action='${formTarget}' method="post" class="user-input"
name='giveMeFocus'>
<input name="Id" type="hidden"> <input name="ParentId"
type="hidden">
<table align="center">
<tr>
<td><label alt='Required, max 255 characters'>Prediction</label></
td>
<td><textarea name='Text' alt='Max 255 characters' rows='3'
cols='40'></textarea></td>
</tr>
<tr>
<td><label>Remark</label></td>
<td><textarea name='Remark' rows='3' cols='40'></textarea></td>
</tr>
<tr>
<td><label>Outcome</label></td>
<td><select name='Outcome'>
<option></option>
<c:forEach var='item' items='${outcome}'>
<option value='${
item.id}'>${item}</option>
</c:forEach>
</select></td>
</tr>
<w:populate-exlude>
<tr>
<td align="center" colspan=2><input type=submit
value="Add/Edit"></td>
</tr>
</w:populate-exclude>
</table>
</form>
</w:populate>