trying to wrap my brain around how I should pass IDs from my
jquery.dialogajaxlink to my jquery.dialog.
I am using query builder to build a list of hosts. I can display the id and
other host information of each host, per row.
However whenever the delete dialog box is called via clicking "delete"
on a row, only the first ID and the first hostname in the list gets
passed to the dialog. This happens regardless of which row's delete
link is clicked.
I feel there is something simple I'm missing. Thanks in advance for any input!
<qb:pagedcolumn>
<t:jquery.dialog t:clientId="myDialog">
<t:zone t:id="myZone" id="myZone">
<!-- <br></br>Are you sure you want to
delete host ${host.hostname}?
<input type="input" class="report2" name="host"
value="${host.hostid}"/>-->
<form>
<t:actionlink t:type="button" t:id="DeleteMe"
context="${host.hostId}" t:mixins="jquery/button">
Delete Host ${host.hostid}
</t:actionlink>
</form>
</t:zone>
</t:jquery.dialog>
<t:jquery.dialogajaxlink t:dialog="myDialog"
class="report" t:zone="myZone" t:context="${host.hostid}">
<span class="ss_sprite ss_bin"></span>
Delete ${host.hostid}
</t:jquery.dialogajaxlink>
<br></br>
</qb:pagedcolumn>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]