if Condition in dataTable
Hi,
i have a Data Table element, in that i have a textarea, i want to conditionally disable it based on some condition.. How can i do that ?
<t:dataTable rowIndexVar="rowIndex" id="curEmployees" value="#{user.state.commenttypes}" var="comments">
<t:column id="ab">
<h:form id="ta1"><h:inputTextarea id="comment11" value="Sample Data" rows="5" cols="30"></h:inputTextarea>
</h:form>
</t:column>
in the list returned by user.state.commenttypes i have a String datatype field called isEditable (Y / N). i want to decide based on this field.
Thanks in Advance.

