It has two outputs inside the column tag. One is an inputText and one is an outputText. Only one will be displayed depending on the value of rendered="".
The first tag compares the controlAdmin.textValue variable against null. If it is null it renders the outputText (showing "--"). Hence the second (the inputText) isn't rendered since it's test is against NOT null. So when not null the variables value is shown.
Change controlAdmin for whatever you put in var under dataTable and you should be ready to go. Change inputText to outputText too.
Joined: Feb 23, 2005
Thank you so much.
It works fine. i am getting the desired output as i wish(--).
Thanks a lot.
Joined: Feb 08, 2005
subject: how to add HR tag between rows when using datatable???