I have a requirement where i have to show in the header of a dataTable left has a Label and right side has a SelectOneMenu. I tried to do this way: With this code, selectOneMenu box is not displayed though when i take the selectOneMenu and put it outside the dataTable, it is displayed. How can i display the selectOneMenu in the header of datatable ?
Any suggestion will be helpful !
Thanks, Deepak Augusty
posted 9 years ago
Go to know that f:facet takes only one component.Since i had two components one outputText and other selectOneMenu, only one was displayed.The workaround is to use h: panelgroup.