hi friens

Expression language is a powerful tool for writing JSF pages .
in this post i describe how to using this functionality in Netbeans VWP for creating flexible table .

1. Drag a table from component palette into page
















2. From travel Java DB database drag Person table into your table














3. Right click on the table component and select table layout then add a table column like following image




















4. Add following property to button1 in the JSP section like image

visible="#{(currentRow.value['PERSON.FREQUENTFLYER']==1)}"





5 . See output . all row dont have action button .




bye friends