Hi,
I am using JSF 1.2, Richfaces 3.3.1 i need to implement a datatable such that if the value in a column for that row is 1 then it should be displayed and it should be a link.
If the value in that column for another row is 0 then 0 should be displayed but it should NOT be a link.
Basically based on the value in that column it should either be a link or not and also display that value.
Please Help.
Put two components in your markup.
One is the link component of your choice with
rendered="#{foo.value == 1}"
The other is just an outputText
<h:outputText rendered="#{foo.value == 0}" value="0"/>
Stan