File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes selectOneMenu in the header of dataTable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "selectOneMenu in the header of dataTable" Watch "selectOneMenu in the header of dataTable" New topic
Author

selectOneMenu in the header of dataTable

deepak reads
Greenhorn

Joined: Nov 01, 2004
Posts: 13
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

Joined: Nov 01, 2004
Posts: 13
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,
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: selectOneMenu in the header of dataTable
 
Similar Threads
Please HELP me. How To Hard Code Values in Each Row of a dataTable?
Problem with h:dataTable
using h:selectManyCheckbox inside h:dataTable
jsf controls in h:datatable
h:commandLink and page Navigation