I am trying to create a simple project layout with logo and horizontal tabs on top of the page. Some menus on the left hand side. Both the top tabs and menu of left hand side should refresh the content in center. I tried this with ui:composition template / rich tabbedpanel. No luck yet. This may be a common structure followed in lot of projects. May be this can be easily done in CSS without richfaces. Would appreciate if somebody can post the code for this.
Share
This is generic project layout which should fits your needs (
topmenu, left menu, content in center and footer) with facelets.MainLayout.xhtml(remeber to add doctype at the beginning)Two ColummnsLayout.xhtmlThen if you want menus with simple html and css have a look at ListaMatic It’s good starting point, with a simple list and using cascading style sheets you can create horizontal/vertical Toolbars.
However if you want to use richfaces menu toolbar you have examples here.
Finally for refreshing parts of you page then you need a ajax component (e.g a4j:support) and use de attribute
reRender(defining id(s) of JSF component(s) that should be rerendered after an Ajax request)