-enable-disable-one-column-according-to-the-other-columns-result-tf4637680.html#a13352223
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
--
View this message in context:
http://www.nabble.com/T3%3A-enable-disable-one-column-according-to-the-other-columns-result-tf4637680.html#a13245280
Sent from the Tapestry - User mailing list archive at Nabble.com
T5 or T4?
T4 you can do:
a jwcid=@DirectLink ... disabled=ognl:[condition]Passed/a
Nazmul Bhuiyan wrote:
Hi,
I'm displaying a list of data in a table.
e.g.
IdStatus DirectLink
1 Passed Passed - Failed
2 FailedPassed - Failed
I want to enable/disable 3rd column
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
]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/T3%3A-enable-disable-one-column-according-to-the-other-columns-result-tf4637680.html#a13246418
Sent from the Tapestry - User mailing list archive
There is a Conditional component:
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Conditional.html
But much more useful are the If, Else and For components here:
http://www.t-deli.com/
If you want to disable links then Paul has already given you the solution.
DirectLink has a