It's not clear what you mean by enable/disable.
You can use @If when you want to include/exclude content.

Cheers,
Nick.


Nazmul Bhuiyan wrote:
I'm using T3.

I'm trying to enable/disable last table cell according to my 2nd column
value.
My code below:

<tr jwcid="@Foreach" source="ognl:batches" value="ognl:currentBatch"
element="tr">
        <td>-span jwcid="@Insert" value="ognl:currentBatch.bchBatchId">Id</td>  
     
        <td>-span jwcid="@Insert"
value="ognl:currentBatch.bchPassFailInd">Pass</td>
        <td>
a jwcid="@DirectLink" listener="ognl:listeners.batchProcessPassedAction" parameters="ognl:currentBatch.bchBatchId" title="Processed"
               /a>           
                &nbsp;&nbsp;
a jwcid="@DirectLink" listener="ognl:listeners.batchProcessFailedAction" parameters="ognl:currentBatch.bchBatchId" title="Unsigned"
                /a>          
        </td>
Thanks


Paul Stanton-2 wrote:
T5 or T4?

T4 you can do:
Passed
Nazmul Bhuiyan wrote:
Hi,

I'm displaying a list of data in a table.
e.g.
Id    Status      DirectLink
1     Passed      Passed - Failed
2     Failed        Passed - Failed

I want to enable/disable 3rd column 'DirectLink' column according to the
2nd
column 'Status'.

Is there any one know how to do this?

Thanks

Naz


---------------------------------------------------------------------
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]

Reply via email to