Dave, the generated IDs are correct. There's the resulting HTML , I dont
see what's wrong with this.
<table id="row">
<thead>
<tr>
<th>Task Id</th>
<th>Service Name</th>
<th>Unit Count</th>
<th>Rate/Unit</th>
<th>cost</th>
<th>Edit</th>
<th>Save</th>
</tr>
</thead>
<tbody>
<form namespace="/" id="form_3" name="updateTask" action="/fe/updateTask.action" method="post"
<table class="wwFormTable">
<tr class="odd">
<div id="DIV_3">
<td><tr>
<td class="tdLabel"></td>
<td
<input type="text" name="task.id" value="3" id="form_3_task_id"/>
</td>
</tr>
</td>
<td><tr>
<td colspan="2"><div align="right"> <input type="submit" dojoType="struts:Bind" event="onclick" value="Submit"
id="form_3_0" />
</div></td>
</tr>
</td>
</div>
</tr>
<!-- javascript that is needed for tooltips -->
<script
type="text/javascript">dojo.require("dojo.widget.Tooltip");dojo.require("dojo.fx.html");</script>
</table>
</form>
<form namespace="/" id="form_1" name="updateTask" action="/fe/updateTask.action" method="post"
<table class="wwFormTable">
<tr class="even">
<div id="DIV_1">
<td><tr>
<td class="tdLabel"></td>
<td
<input type="text" name="task.id" value="1" id="form_1_task_id"/>
</td>
</tr>
</td>
<td><tr>
<td colspan="2"><div align="right"> <input type="submit" dojoType="struts:Bind" event="onclick" value="Submit"
id="form_1_0" />
</div></td>
</tr>
</td>
</div>
</tr>
<!-- javascript that is needed for tooltips -->
<script
type="text/javascript">dojo.require("dojo.widget.Tooltip");dojo.require("dojo.fx.html");</script>
</table>
</form>
<form namespace="/" id="form_2" name="updateTask" action="/fe/updateTask.action" method="post"
<table class="wwFormTable">
<tr class="odd">
<div id="DIV_2">
<td><tr>
<td class="tdLabel"></td>
<td
<input type="text" name="task.id" value="2" id="form_2_task_id"/>
</td>
</tr>
</td>
<td><tr>
<td colspan="2"><div align="right"> <input type="submit" dojoType="struts:Bind" event="onclick" value="Submit"
id="form_2_0" />
</div></td>
</tr>
</td>
</div>
</tr>
<!-- javascript that is needed for tooltips -->
<script
type="text/javascript">dojo.require("dojo.widget.Tooltip");dojo.require("dojo.fx.html");</script>
</table>
</form>
</tbody>
</table>
Dave Newton wrote:
--- Dave Newton <[EMAIL PROTECTED]> wrote:
This should cause a form ID collision, which shows a
debug msg, since you'll have multiple forms with the
same ID.
Whoops, didn't see you were iterating over tasks,
which presumably have an ID, so I assume the form IDs
are being generated properly?
d.
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]