Sorry to resend but forgot to change subject line before:
A potentially stupid question for all of you.
I have a page that has a list of items that you can select to edit or
enable/disable conditionally based on the active flag on the object. This
part is working correctly, but what I am seeing is this:
If I click on 'disable' for one of the items in the foreach, it will disable
the item correctly and the page will render again with 'enable' as the
option for that item in the foreach. If I click that link for that item,
nothing happens. I can click another enable/disable link and it will work
fine, but I can't successfully click the link for one item consecutively.
Here is the template:
<tr jwcid="@Foreach" element="tr" source="ognl:servicePeriodList"
value="ognl:servicePeriod">
<td>
<span jwcid="@Insert"
value="ognl:servicePeriod.servicePeriodName"></span>
</td>
<td> </td>
<td>
<span jwcid="@Insert"
value="ognl:servicePeriod.activeString"></span>
</td>
<td width="10%">
<a jwcid="@DirectLink"
class="direct" parameters="ognl:servicePeriod"
listener="ognl:listeners.editServicePeriod">Edit</a>
</td>
<td width="10%">
<span jwcid="@Conditional"
condition="ognl:servicePeriod.activeBool">
<a jwcid="@DirectLink"
class="direct" parameters="ognl:servicePeriod"
listener="ognl:listeners.disableServicePeriod">Disable</a>
</span>
<span jwcid="@Conditional"
condition="ognl:servicePeriod.disabledBool">
<a jwcid="@DirectLink"
class="direct" parameters="ognl:servicePeriod"
listener="ognl:listeners.enableServicePeriod">Enable</a>
</span>
</td>
</tr>
I appreciate any help you can provide!
- Kirk
---------------------------------------------------------------------
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]