Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

selectOneMenu in the header of dataTable

 
deepak reads
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
deepak reads
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic